Method Summary |
|
public void | addPartPropertyListener(IPropertyChangeListener listener) Add a listener for changes in the arbitrary properties set. |
public void | addPropertyListener(IPropertyListener listener) Adds a listener for changes to properties of this workbench part. |
public Control | getControl() Returns an SWT control that can be used to indicate the tab order for
this part. |
public IPartMenu | getMenu() |
public String | getName() Returns the short name of the part. |
public String | getPartProperty(String key) Get a property from the part's arbitrary property set.
Note: this is a different set of properties than the ones covered
by the PROP_* constants.
Parameters: key - The property key to retrieve. |
public String | getTitle() Returns the title of this workbench part. |
public Image | getTitleImage() Returns the title image of this workbench part. |
public String | getTitleStatus() Returns the status message from the part's title, or the empty string if none. |
public String | getTitleToolTip() Returns the title tool tip text of this workbench part. |
public Control | getToolBar() Returns the local toolbar for this part, or null if this part does not
have a local toolbar. |
public boolean | isBusy() Return true if the the receiver is currently in a busy state. |
public boolean | isCloseable() |
public boolean | isDirty() Returns true iff the contents of this part have changed recently. |
public void | removePartPropertyListener(IPropertyChangeListener listener) Remove a change listener from the arbitrary properties set. |
public void | removePropertyListener(IPropertyListener listener) Remove a listener that was previously added using addPropertyListener. |
public void | setBounds(Rectangle bounds) Sets the bounds of this part. |
public void | setFocus() Forces this part to have focus. |
public void | setVisible(boolean isVisible) Notifies the part whether or not it is visible in the current
perspective. |