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 booleanprivate static final Stringprivate static final booleanprivate MdiEntryprivate static final Stringprivate Mapprivate Map<String, TagDiscovery> private AEMonitorprivate intprivate SWTSkinObjectTextprivate org.eclipse.swt.widgets.Compositeprivate static final String(package private) TableViewSWT<TagDiscovery> private MdiEntryVitalityImageFields 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_RIGHTCLICKFields inherited from interface 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 TypeMethodDescriptionvoidaddThisColumnSubMenu(String sColumnName, org.eclipse.swt.widgets.Menu menuThisColumn) Create a SubMenu for column specific tasks.protected voidvoiddefaultSelected(TableRowCore[] rows, int stateMask) voiddeselected(TableRowCore[] rows) voidbooleanfilterCheck(TagDiscovery ds, String filter, boolean regex, boolean confusable) voidvoidfocusChanged(TableRowCore focus) getTitleInfoProperty(int propertyID) A name for this UIUpdatable so we can track who's being badprotected voidprivate voidinitTable(org.eclipse.swt.widgets.Composite control) voidmouseEnter(TableRowCore row) voidmouseExit(TableRowCore row) voidrefreshToolBarItems(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setvoidselected(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 voidvoidtitleInfoLinked(MultipleDocumentInterface mdi, MdiEntry mdiEntry) booleantoolBarItemActivated(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoidupdateUI()Update your UI!Methods inherited from class SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreatedMethods 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 TableSelectionListener
defaultSelected, focusRequested, selectionChangedMethods inherited from interface TableViewFilterCheck
filterCheck, filterSet, setRefilterCache, viewChangedMethods inherited from interface 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:UIToolBarActivationListenerXXX Should have been UIToolBarItem- Specified by:
toolBarItemActivatedin interfaceUIToolBarActivationListener
-
filterSet
- Specified by:
filterSetin interfaceTableViewFilterCheck<TagDiscovery>
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListenerFill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItemsin interfaceUIPluginViewToolBarListener- Parameters:
list-
-
updateUI
public void updateUI()Description copied from interface:UIUpdatableUpdate your UI!- Specified by:
updateUIin interfaceUIUpdatable
-
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
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShowin classSkinView- Parameters:
skinObject-params-- Returns:
-
getTitleInfoProperty
- Specified by:
getTitleInfoPropertyin interfaceViewTitleInfo- Parameters:
propertyID- TITLE_*- Returns:
- value, or null if you don't want to set it
-
titleInfoLinked
- Specified by:
titleInfoLinkedin interfaceViewTitleInfo2
-
getLinkedMdiEntry
- Specified by:
getLinkedMdiEntryin interfaceViewTitleInfo2
-
initColumns
protected void initColumns() -
skinObjectHidden
Description copied from class:SWTSkinObjectAdapterSkin Object was hidden- Overrides:
skinObjectHiddenin classSkinView
-
skinObjectShown
Description copied from class:SWTSkinObjectAdapterSkin Object was shown- Overrides:
skinObjectShownin classSkinView
-
startScan
private void startScan() -
decreaseScansRemaining
protected void decreaseScansRemaining() -
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapterSkin Object was destroyed- Overrides:
skinObjectDestroyedin classSkinView
-
initTable
private void initTable(org.eclipse.swt.widgets.Composite control) -
fillMenu
- Specified by:
fillMenuin interfaceTableViewSWTMenuFillListener
-
addThisColumnSubMenu
Description copied from interface:TableViewSWTMenuFillListenerCreate 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:
addThisColumnSubMenuin interfaceTableViewSWTMenuFillListener- Parameters:
sColumnName- The name of the column the user clicked onmenuThisColumn- the menu to fill with MenuItems
-
selected
- Specified by:
selectedin interfaceTableSelectionListener
-
deselected
- Specified by:
deselectedin interfaceTableSelectionListener
-
focusChanged
- Specified by:
focusChangedin interfaceTableSelectionListener
-
defaultSelected
- Specified by:
defaultSelectedin interfaceTableSelectionListener
-
mouseEnter
- Specified by:
mouseEnterin interfaceTableSelectionListener
-
mouseExit
- Specified by:
mouseExitin interfaceTableSelectionListener
-
filterCheck
- Specified by:
filterCheckin interfaceTableViewFilterCheck<TagDiscovery>
-