Package com.biglybt.ui.swt.views.skin
Class SBC_ActivityTableView
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
com.biglybt.ui.swt.views.skin.SBC_ActivityTableView
- All Implemented Interfaces:
ActivitiesListener
,UIToolBarActivationListener
,UIToolBarEnablerBase
,UIPluginViewToolBarListener
,UIUpdatable
,SWTSkinObjectListener
public class SBC_ActivityTableView
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, ActivitiesListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static ActivitiesListener
private static int[]
private static MdiEntry
private String
private TableViewSWT
<ActivitiesEntry> private org.eclipse.swt.widgets.Composite
private int
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 TypeMethodDescriptionA name for this UIUpdatable so we can track who's being badgetView()
void
refreshToolBarItems
(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setprivate void
removeEntries
(ActivitiesEntry[] toRemove, int startIndex) protected void
static void
skinObjectDestroyed
(SWTSkinObject skinObject, Object params) Skin Object was destroyedskinObjectInitialShow
(SWTSkinObject skinObject, Object params) boolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoid
updateUI()
Update your UI!void
vuzeNewsEntriesAdded
(ActivitiesEntry[] entries) void
vuzeNewsEntriesRemoved
(ActivitiesEntry[] entries) void
Methods inherited from class com.biglybt.ui.swt.views.skin.SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectHidden, skinObjectShown
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
-
COLOR_UNVIEWED_ENTRIES
private static int[] COLOR_UNVIEWED_ENTRIES -
activitiesListener
-
mdi_entry
-
view
-
tableID
-
viewComposite
private org.eclipse.swt.widgets.Composite viewComposite -
viewMode
private int viewMode
-
-
Constructor Details
-
SBC_ActivityTableView
public SBC_ActivityTableView()
-
-
Method Details
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShow
in classSkinView
- Parameters:
skinObject
-params
-- Returns:
-
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapter
Skin Object was destroyed- Overrides:
skinObjectDestroyed
in classSkinView
-
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
-
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
-
getCurrentlySelectedContent
-
vuzeNewsEntriesAdded
- Specified by:
vuzeNewsEntriesAdded
in interfaceActivitiesListener
-
vuzeNewsEntriesRemoved
- Specified by:
vuzeNewsEntriesRemoved
in interfaceActivitiesListener
-
vuzeNewsEntryChanged
- Specified by:
vuzeNewsEntryChanged
in interfaceActivitiesListener
-
removeEntries
-
removeSelected
protected void removeSelected() -
getView
-
setupSidebarEntry
-