Package com.biglybt.ui.swt.views
Class ArchivedFilesView
- java.lang.Object
-
- com.biglybt.ui.swt.views.table.impl.TableViewTab<DownloadStub.DownloadStubFile>
-
- com.biglybt.ui.swt.views.ArchivedFilesView
-
- All Implemented Interfaces:
AEDiagnosticsEvidenceGenerator
,TableDataSourceChangedListener
,TableLifeCycleListener
,ObfuscateImage
,UISWTViewEventListener
,UISWTViewCoreEventListener
,TableViewSWTMenuFillListener
public class ArchivedFilesView extends TableViewTab<DownloadStub.DownloadStubFile> implements TableLifeCycleListener, TableDataSourceChangedListener, TableViewSWTMenuFillListener
-
-
Field Summary
Fields Modifier and Type Field Description private static TableColumnCore[]
basicItems
private DownloadStub
current_download
static java.lang.String
MSGID_PREFIX
private static java.lang.String
TABLE_ID
private TableViewSWT<DownloadStub.DownloadStubFile>
tv
-
Fields inherited from interface com.biglybt.ui.common.table.TableLifeCycleListener
EVENT_TABLELIFECYCLE_DESTROYED, EVENT_TABLELIFECYCLE_INITIALIZED, EVENT_TABLELIFECYCLE_SHUTDOWN
-
-
Constructor Summary
Constructors Constructor Description ArchivedFilesView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addExistingDatasources()
void
addThisColumnSubMenu(java.lang.String columnName, org.eclipse.swt.widgets.Menu menuThisColumn)
Create a SubMenu for column specific tasks.void
fillMenu(java.lang.String sColumnName, org.eclipse.swt.widgets.Menu menu)
TableViewSWT<DownloadStub.DownloadStubFile>
initYourTableView()
void
tableDataSourceChanged(java.lang.Object ds)
void
tableLifeCycleEventOccurred(TableView tv, int eventType, java.util.Map<java.lang.String,java.lang.Object> data)
-
Methods inherited from class com.biglybt.ui.swt.views.table.impl.TableViewTab
allowCreate, dataSourceChanged, delete, enableFilterCheck, eventOccurred, generate, getComposite, getFullTitle, getPropertiesPrefix, getSWTView, getTableView, initComposite, initialize, obfuscatedImage, parentDataSourceChanged, refresh, tableViewTabInitComplete, updateLanguage, viewActivated
-
-
-
-
Field Detail
-
TABLE_ID
private static final java.lang.String TABLE_ID
- See Also:
- Constant Field Values
-
basicItems
private static final TableColumnCore[] basicItems
-
MSGID_PREFIX
public static final java.lang.String MSGID_PREFIX
- See Also:
- Constant Field Values
-
tv
private TableViewSWT<DownloadStub.DownloadStubFile> tv
-
current_download
private DownloadStub current_download
-
-
Method Detail
-
initYourTableView
public TableViewSWT<DownloadStub.DownloadStubFile> initYourTableView()
- Specified by:
initYourTableView
in classTableViewTab<DownloadStub.DownloadStubFile>
-
fillMenu
public void fillMenu(java.lang.String sColumnName, org.eclipse.swt.widgets.Menu menu)
- Specified by:
fillMenu
in interfaceTableViewSWTMenuFillListener
-
addThisColumnSubMenu
public void addThisColumnSubMenu(java.lang.String columnName, org.eclipse.swt.widgets.Menu menuThisColumn)
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:
columnName
- The name of the column the user clicked onmenuThisColumn
- the menu to fill with MenuItems
-
tableDataSourceChanged
public void tableDataSourceChanged(java.lang.Object ds)
- Specified by:
tableDataSourceChanged
in interfaceTableDataSourceChangedListener
-
tableLifeCycleEventOccurred
public void tableLifeCycleEventOccurred(TableView tv, int eventType, java.util.Map<java.lang.String,java.lang.Object> data)
- Specified by:
tableLifeCycleEventOccurred
in interfaceTableLifeCycleListener
-
addExistingDatasources
private void addExistingDatasources()
-
-