Class SBC_DiskOpsView
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
com.biglybt.ui.swt.devices.SBC_DiskOpsView
- All Implemented Interfaces:
CoreOperationListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UIUpdatable, SWTSkinObjectListener
public class SBC_DiskOpsView
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, CoreOperationListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static booleanprivate static Corestatic final Stringprivate org.eclipse.swt.widgets.Compositeprivate TableViewSWT<CoreOperation> Fields inherited from interface SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMESFields inherited from interface UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillMenu(org.eclipse.swt.widgets.Menu menu) A name for this UIUpdatable so we can track who's being badprivate voidprivate voidinitTable(org.eclipse.swt.widgets.Composite control) voidoperationAdded(CoreOperation operation) booleanoperationExecuteRequest(CoreOperation operation) voidoperationRemoved(CoreOperation operation) private booleanprivate voidvoidrefreshToolBarItems(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setskinObjectHidden(SWTSkinObject skinObject, Object params) Skin Object was hiddenskinObjectInitialShow(SWTSkinObject skinObject, Object params) skinObjectShown(SWTSkinObject skinObject, Object params) Skin Object was shownbooleantoolBarItemActivated(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoidvoidupdateUI()Update your UI!Methods inherited from class SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectDestroyedMethods inherited from class SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected, updateLanguageMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UIPluginViewToolBarListener
isActive
-
Field Details
-
TABLE_DISK_OPS
- See Also:
-
columnsAdded
private static boolean columnsAdded -
core
-
tvDiskOps
-
tableParent
private org.eclipse.swt.widgets.Composite tableParent
-
-
Constructor Details
-
SBC_DiskOpsView
public SBC_DiskOpsView()
-
-
Method Details
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShowin classSkinView- Parameters:
skinObject-params-- Returns:
-
initColumns
private void initColumns() -
skinObjectShown
Description copied from class:SWTSkinObjectAdapterSkin Object was shown- Overrides:
skinObjectShownin classSkinView
-
skinObjectHidden
Description copied from class:SWTSkinObjectAdapterSkin Object was hidden- Overrides:
skinObjectHiddenin classSkinView
-
initTable
private void initTable(org.eclipse.swt.widgets.Composite control) -
fillMenu
protected void fillMenu(org.eclipse.swt.widgets.Menu menu) -
refreshToolbar
private void refreshToolbar() -
ourOperation
-
operationExecuteRequest
- Specified by:
operationExecuteRequestin interfaceCoreOperationListener- Parameters:
operation-- Returns:
- true if the listener has taken responsibility for running an operation task
-
operationAdded
- Specified by:
operationAddedin interfaceCoreOperationListener
-
operationRemoved
- Specified by:
operationRemovedin interfaceCoreOperationListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListenerFill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItemsin interfaceUIPluginViewToolBarListener- Parameters:
list-
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListenerXXX Should have been UIToolBarItem- Specified by:
toolBarItemActivatedin interfaceUIToolBarActivationListener
-
getUpdateUIName
Description copied from interface:UIUpdatableA name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUINamein interfaceUIUpdatable- Returns:
- some name
-
updateUI
public void updateUI()Description copied from interface:UIUpdatableUpdate your UI!- Specified by:
updateUIin interfaceUIUpdatable
-
updateSelectedContent
public void updateSelectedContent()
-