Package com.biglybt.ui.swt.views.skin
Class SBC_TagDiscovery
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
com.biglybt.ui.swt.views.skin.SBC_TagDiscovery
- All Implemented Interfaces:
UIToolBarActivationListener
,UIToolBarEnablerBase
,UIPluginViewToolBarListener
,TableSelectionListener
,TableViewFilterCheck<TagDiscovery>
,UIUpdatable
,ViewTitleInfo
,ViewTitleInfo2
,SWTSkinObjectListener
,TableViewSWTMenuFillListener
public class SBC_TagDiscovery
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, TableViewFilterCheck<TagDiscovery>, TableViewSWTMenuFillListener, TableSelectionListener, ViewTitleInfo2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final String
private static final boolean
private MdiEntry
private static final String
private Map
private Map
<String, TagDiscovery> private AEMonitor
private int
private SWTSkinObjectText
private org.eclipse.swt.widgets.Composite
private static final String
(package private) TableViewSWT
<TagDiscovery> private MdiEntryVitalityImage
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
Fields inherited from interface com.biglybt.ui.common.viewtitleinfo.ViewTitleInfo
TITLE_ACTIVE_STATE, TITLE_EXPORTABLE_DATASOURCE, TITLE_IMAGE_TOOLTIP, TITLE_IMAGEID, TITLE_INDICATOR_COLOR, TITLE_INDICATOR_TEXT, TITLE_INDICATOR_TEXT_TOOLTIP, TITLE_TEXT, TITLE_TEXT_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addThisColumnSubMenu
(String sColumnName, org.eclipse.swt.widgets.Menu menuThisColumn) Create a SubMenu for column specific tasks.protected void
void
defaultSelected
(TableRowCore[] rows, int stateMask) void
deselected
(TableRowCore[] rows) void
boolean
filterCheck
(TagDiscovery ds, String filter, boolean regex, boolean confusable) void
void
focusChanged
(TableRowCore focus) getTitleInfoProperty
(int propertyID) A name for this UIUpdatable so we can track who's being badprotected void
private void
initTable
(org.eclipse.swt.widgets.Composite control) void
mouseEnter
(TableRowCore row) void
mouseExit
(TableRowCore row) void
refreshToolBarItems
(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setvoid
selected
(TableRowCore[] row) skinObjectDestroyed
(SWTSkinObject skinObject, Object params) Skin Object was destroyedskinObjectHidden
(SWTSkinObject skinObject, Object params) Skin Object was hiddenskinObjectInitialShow
(SWTSkinObject skinObject, Object params) skinObjectShown
(SWTSkinObject skinObject, Object params) Skin Object was shownprivate void
void
titleInfoLinked
(MultipleDocumentInterface mdi, MdiEntry mdiEntry) boolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoid
updateUI()
Update your UI!Methods inherited from class com.biglybt.ui.swt.views.skin.SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated
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.ui.common.table.TableSelectionListener
defaultSelected, focusRequested, selectionChanged
Methods inherited from interface com.biglybt.ui.common.table.TableViewFilterCheck
filterCheck, filterSet, setRefilterCache, viewChanged
Methods inherited from interface com.biglybt.pif.ui.UIPluginViewToolBarListener
isActive
-
Field Details
-
TABLE_TAGDISCOVERY
- See Also:
-
DEBUG
private static final boolean DEBUG- See Also:
-
CONFIG_FILE
- See Also:
-
ID_VITALITY_ACTIVE
- See Also:
-
tv
-
table_parent
private org.eclipse.swt.widgets.Composite table_parent -
columnsAdded
private boolean columnsAdded -
scansRemaining
private int scansRemaining -
mon_scansRemaining
-
mapTagDiscoveries
-
entry
-
soTitle
-
vitalityImage
-
mapConfig
-
-
Constructor Details
-
SBC_TagDiscovery
public SBC_TagDiscovery()
-
-
Method Details
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListener
XXX Should have been UIToolBarItem- Specified by:
toolBarItemActivated
in interfaceUIToolBarActivationListener
-
filterSet
- Specified by:
filterSet
in interfaceTableViewFilterCheck<TagDiscovery>
-
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
-
-
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-
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
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShow
in classSkinView
- Parameters:
skinObject
-params
-- Returns:
-
getTitleInfoProperty
- Specified by:
getTitleInfoProperty
in interfaceViewTitleInfo
- Parameters:
propertyID
- TITLE_*- Returns:
- value, or null if you don't want to set it
-
titleInfoLinked
- Specified by:
titleInfoLinked
in interfaceViewTitleInfo2
-
getLinkedMdiEntry
- Specified by:
getLinkedMdiEntry
in interfaceViewTitleInfo2
-
initColumns
protected void initColumns() -
skinObjectHidden
Description copied from class:SWTSkinObjectAdapter
Skin Object was hidden- Overrides:
skinObjectHidden
in classSkinView
-
skinObjectShown
Description copied from class:SWTSkinObjectAdapter
Skin Object was shown- Overrides:
skinObjectShown
in classSkinView
-
startScan
private void startScan() -
decreaseScansRemaining
protected void decreaseScansRemaining() -
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapter
Skin Object was destroyed- Overrides:
skinObjectDestroyed
in classSkinView
-
initTable
private void initTable(org.eclipse.swt.widgets.Composite control) -
fillMenu
- Specified by:
fillMenu
in interfaceTableViewSWTMenuFillListener
-
addThisColumnSubMenu
Description copied from interface:TableViewSWTMenuFillListener
Create a SubMenu for column specific tasks. Everytime the user opens the context menu, the "This Column" submenu is cleared, and this function is called to refill it.- Specified by:
addThisColumnSubMenu
in interfaceTableViewSWTMenuFillListener
- Parameters:
sColumnName
- The name of the column the user clicked onmenuThisColumn
- the menu to fill with MenuItems
-
selected
- Specified by:
selected
in interfaceTableSelectionListener
-
deselected
- Specified by:
deselected
in interfaceTableSelectionListener
-
focusChanged
- Specified by:
focusChanged
in interfaceTableSelectionListener
-
defaultSelected
- Specified by:
defaultSelected
in interfaceTableSelectionListener
-
mouseEnter
- Specified by:
mouseEnter
in interfaceTableSelectionListener
-
mouseExit
- Specified by:
mouseExit
in interfaceTableSelectionListener
-
filterCheck
- Specified by:
filterCheck
in interfaceTableViewFilterCheck<TagDiscovery>
-