Package com.biglybt.ui.swt.devices
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 boolean
private static Core
static final String
private org.eclipse.swt.widgets.Composite
private TableViewSWT
<CoreOperation> Fields inherited from interface com.biglybt.ui.swt.skin.SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMES
Fields inherited from interface com.biglybt.pif.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fillMenu
(org.eclipse.swt.widgets.Menu menu) A name for this UIUpdatable so we can track who's being badprivate void
private void
initTable
(org.eclipse.swt.widgets.Composite control) void
operationAdded
(CoreOperation operation) boolean
operationExecuteRequest
(CoreOperation operation) void
operationRemoved
(CoreOperation operation) private boolean
private void
void
refreshToolBarItems
(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 shownboolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoid
void
updateUI()
Update your UI!Methods inherited from class com.biglybt.ui.swt.views.skin.SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectDestroyed
Methods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected, updateLanguage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.ui.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:
skinObjectInitialShow
in classSkinView
- Parameters:
skinObject
-params
-- Returns:
-
initColumns
private void initColumns() -
skinObjectShown
Description copied from class:SWTSkinObjectAdapter
Skin Object was shown- Overrides:
skinObjectShown
in classSkinView
-
skinObjectHidden
Description copied from class:SWTSkinObjectAdapter
Skin Object was hidden- Overrides:
skinObjectHidden
in 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:
operationExecuteRequest
in interfaceCoreOperationListener
- Parameters:
operation
-- Returns:
- true if the listener has taken responsibility for running an operation task
-
operationAdded
- Specified by:
operationAdded
in interfaceCoreOperationListener
-
operationRemoved
- Specified by:
operationRemoved
in interfaceCoreOperationListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListener
Fill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItems
in interfaceUIPluginViewToolBarListener
- Parameters:
list
-
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListener
XXX Should have been UIToolBarItem- Specified by:
toolBarItemActivated
in interfaceUIToolBarActivationListener
-
getUpdateUIName
Description copied from interface:UIUpdatable
A name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUIName
in interfaceUIUpdatable
- Returns:
- some name
-
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-
updateSelectedContent
public void updateSelectedContent()
-