|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gudy.azureus2.ui.swt.views.AbstractIView
public abstract class AbstractIView
| Field Summary | |
|---|---|
protected org.gudy.azureus2.core3.util.AEMonitor |
this_mon
|
| Constructor Summary | |
|---|---|
AbstractIView()
|
|
| Method Summary | |
|---|---|
void |
dataSourceChanged(java.lang.Object newDataSource)
Called when the selected dataSource has changed. |
void |
delete()
A basic implementation that disposes the composite Should be called with super.delete() from any extending class. |
void |
generateDiagnostics(org.gudy.azureus2.core3.util.IndentWriter writer)
Called when Azureus generates Diagnostics. |
org.eclipse.swt.widgets.Composite |
getComposite()
This method is called after initialize so that the Tab is set its control Caller is the GUI Thread. |
java.lang.String |
getData()
Data 'could' store a key to a language file, in order to support multi-language titles |
java.lang.String |
getFullTitle()
Called in order to set / update the title of this View. |
java.lang.String |
getShortTitle()
Called in order to set / update the short title of this view. |
void |
initialize(org.eclipse.swt.widgets.Composite composite)
This method is called when the view is instanciated, it should initialize all GUI components. |
boolean |
isEnabled(java.lang.String itemKey)
|
boolean |
isSelected(java.lang.String itemKey)
|
void |
itemActivated(java.lang.String itemKey)
|
void |
refresh()
This method is called on each refresh. |
void |
updateLanguage()
Called when the language needs updating |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.gudy.azureus2.core3.util.AEMonitor this_mon
| Constructor Detail |
|---|
public AbstractIView()
| Method Detail |
|---|
public void initialize(org.eclipse.swt.widgets.Composite composite)
IView
initialize in interface IViewcomposite - the parent composite. Each view should create a child
composite, and then use this child composite to add all elements
to.public org.eclipse.swt.widgets.Composite getComposite()
IView
getComposite in interface IViewpublic void refresh()
org.gudy.azureus2.ui.swt.mainwindow.Refreshable
refresh in interface org.gudy.azureus2.ui.swt.mainwindow.Refreshablepublic void delete()
delete in interface IViewpublic java.lang.String getData()
IView
getData in interface IViewpublic java.lang.String getFullTitle()
getFullTitle in interface IViewpublic final java.lang.String getShortTitle()
getShortTitle in interface IViewpublic void updateLanguage()
IView
updateLanguage in interface IViewpublic boolean isEnabled(java.lang.String itemKey)
isEnabled in interface org.gudy.azureus2.ui.swt.IconBarEnablerpublic boolean isSelected(java.lang.String itemKey)
isSelected in interface org.gudy.azureus2.ui.swt.IconBarEnablerpublic void itemActivated(java.lang.String itemKey)
itemActivated in interface org.gudy.azureus2.ui.swt.IconBarEnablerpublic void generateDiagnostics(org.gudy.azureus2.core3.util.IndentWriter writer)
IView
generateDiagnostics in interface IViewpublic void dataSourceChanged(java.lang.Object newDataSource)
IView
dataSourceChanged in interface IViewnewDataSource - null if no datasource is selected. May be an array
of Object[] if multiple dataSources are selected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||