public interface IWorkbenchPartReference
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
void |
addPropertyListener(IPropertyListener listener) |
String |
getContentDescription()
Returns the content description for the part (or the empty string if none)
|
String |
getId() |
IWorkbenchPage |
getPage()
Returns the workbench page that contains this part
|
IWorkbenchPart |
getPart(boolean restore)
Returns the IWorkbenchPart referenced by this object.
|
String |
getPartName()
Returns the name of the part, as it should be shown in tabs.
|
String |
getTitle() |
Image |
getTitleImage() |
String |
getTitleToolTip() |
boolean |
isDirty()
Returns whether the part is dirty (i.e. has unsaved changes).
|
void |
removePropertyListener(IPropertyListener listener) |
IWorkbenchPart getPart(boolean restore)
null
if the editors was not instantiated or
it failed to be restored. Tries to restore the editor
if restore
is true.String getTitle()
IWorkbenchPart.getTitle()
Image getTitleImage()
IWorkbenchPart.getTitleImage()
String getTitleToolTip()
IWorkbenchPart.getTitleToolTip()
String getId()
IWorkbenchPartSite.getId()
void addPropertyListener(IPropertyListener listener)
void removePropertyListener(IPropertyListener listener)
IWorkbenchPage getPage()
String getPartName()
String getContentDescription()
boolean isDirty()
true
if the part is dirty, false
otherwiseGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.