Class TrackerAvailView
java.lang.Object
com.biglybt.ui.swt.views.table.impl.TableViewTab<TrackerPeerSource>
com.biglybt.ui.swt.views.TrackerAvailView
- All Implemented Interfaces:
AEDiagnosticsEvidenceGenerator, TableDataSourceChangedListener, TableLifeCycleListener, ObfuscateImage, UISWTViewEventListener, UISWTViewCoreEventListener, TableViewSWTMenuFillListener
public class TrackerAvailView
extends TableViewTab<TrackerPeerSource>
implements TableLifeCycleListener, TableDataSourceChangedListener, TableViewSWTMenuFillListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DownloadManagerAvailabilityprivate static final TableColumnCore[]static final Stringprivate static final Stringprivate TableViewSWT<TrackerPeerSource> Fields inherited from interface TableLifeCycleListener
EVENT_TABLELIFECYCLE_DESTROYED, EVENT_TABLELIFECYCLE_INITIALIZED, EVENT_TABLELIFECYCLE_SHUTDOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidaddThisColumnSubMenu(String columnName, org.eclipse.swt.widgets.Menu menuThisColumn) Create a SubMenu for column specific tasks.voidbooleanvoidtableDataSourceChanged(Object newDataSource) voidtableLifeCycleEventOccurred(TableView tv, int eventType, Map<String, Object> data) Methods inherited from class TableViewTab
allowCreate, dataSourceChanged, delete, enableFilterCheck, eventOccurred, generate, getComposite, getFullTitle, getSWTView, getTableView, getTextPrefixID, initComposite, initialize, obfuscatedImage, parentDataSourceChanged, refresh, setEnableTabViews, tableViewTabInitComplete, updateLanguage, viewActivatedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
TABLE_ID
- See Also:
-
basicItems
-
MSGID_PREFIX
- See Also:
-
availability
-
tv
-
-
Constructor Details
-
TrackerAvailView
public TrackerAvailView()Initialize
-
-
Method Details
-
initYourTableView
- Specified by:
initYourTableViewin classTableViewTab<TrackerPeerSource>
-
isUpdating
public boolean isUpdating() -
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:
columnName- The name of the column the user clicked onmenuThisColumn- the menu to fill with MenuItems
-
tableDataSourceChanged
- Specified by:
tableDataSourceChangedin interfaceTableDataSourceChangedListener
-
tableLifeCycleEventOccurred
- Specified by:
tableLifeCycleEventOccurredin interfaceTableLifeCycleListener
-
addExistingDatasources
private void addExistingDatasources()
-