getAdapter(Class adapter) Subclasses may override this method (however, if they do so, they
should invoke the method on their superclass to ensure that the
Platform's adapter manager is consulted).
setInitializationData(IConfigurationElement cfig, String propertyName, Object data) The WorkbenchPart implementation of this
IExecutableExtension records the configuration element in
and internal state variable (accessible via getConfigElement).
It also loads the title image, if one is specified in the configuration element.
Subclasses may extend.
Should not be called by clients.
Subclasses may override this method (however, if they do so, they
should invoke the method on their superclass to ensure that the
Platform's adapter manager is consulted).
Returns the configuration element for this part. The configuration element
comes from the plug-in registry entry for the extension defining this part.
the configuration element for this part
Sets the content description for this part. The content description is typically
a short string describing the current contents of the part. Setting this to the
empty string will cause a default content description to be used. Clients should
call this method instead of overriding getContentDescription(). For views, the
content description is shown (by default) in a line near the top of the view. For
editors, the content description is shown beside the part name when showing a
list of editors. If the editor is open on a file, this typically contains the path
to the input file, without the filename or trailing slash.
This may overwrite a value that was previously set in setTitle
Parameters: description - the content description since: 3.0
public void setInitializationData(IConfigurationElement cfig, String propertyName, Object data)(Code)
The WorkbenchPart implementation of this
IExecutableExtension records the configuration element in
and internal state variable (accessible via getConfigElement).
It also loads the title image, if one is specified in the configuration element.
Subclasses may extend.
Should not be called by clients. It is called by the core plugin when creating
this executable extension.
Sets the name of this part. The name will be shown in the tab area for
the part. Clients should call this method instead of overriding getPartName.
Setting this to the empty string will cause a default part name to be used.
setPartName and setContentDescription are intended to replace setTitle.
This may change a value that was previously set using setTitle.
Parameters: partName - the part name, as it should be displayed in tabs. since: 3.0
Sets or clears the title tool tip text of this part. Clients should
call this method instead of overriding getTitleToolTip Parameters: toolTip - the new tool tip text, or null to clear