Methods Summary |
---|
public void | dataSourceChanged(java.lang.Object newDataSource)
|
public void | delete()A basic implementation that disposes the composite
Should be called with super.delete() from any extending class.
Images, Colors and such SWT handles must be disposed by the class itself.
Composite comp = getComposite();
if (comp != null && !comp.isDisposed())
comp.dispose();
|
public void | generateDiagnostics(org.gudy.azureus2.core3.util.IndentWriter writer)
writer.println( "Diagnostics for " + this + " (" + getFullTitle()+ ")");
|
public org.eclipse.swt.widgets.Composite | getComposite() return null;
|
public java.lang.String | getData() return null;
|
public java.lang.String | getFullTitle()Called in order to set / update the title of this View. When the view
is being displayed in a tab, the full title is used for the tooltip.
By default, this function will return text from the message bundles which
correspond to the key returned in #getData()
String key = getData();
if ( MessageText.keyExists( key )){
return MessageText.getString(getData());
}
return( key.replace( '.", ' " )); // support old plugins
|
public final java.lang.String | getShortTitle()Called in order to set / update the short title of this view. When the
view is being displayed in a tab, the short title is used for the tab's
text.
By default, this function will return the full title. If the full title
is over 30 characters, it will be trimmed and "..." will be added
String shortTitle = getFullTitle();
if(shortTitle != null && shortTitle.length() > 30) {
shortTitle = shortTitle.substring(0,30) + "...";
}
return shortTitle;
|
public void | initialize(org.eclipse.swt.widgets.Composite composite)
|
public boolean | isEnabled(java.lang.String itemKey)
return false;
|
public boolean | isSelected(java.lang.String itemKey)
return false;
|
public void | itemActivated(java.lang.String itemKey)
|
public void | refresh()
|
public void | updateLanguage()
Messages.updateLanguageForControl(getComposite());
|