public abstract class AbstractEditorPane extends Object implements IEditorPart
PROP_DIRTY, PROP_INPUT
PROP_TITLE
Constructor and Description |
---|
AbstractEditorPane() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyListener(IPropertyListener listener) |
void |
contributeToToolBar(IToolBarManager manager) |
void |
dispose() |
void |
doSave(IProgressMonitor monitor) |
void |
doSaveAs() |
Object |
getAdapter(Class adapter) |
MultiPaneEditor |
getEditor() |
IEditorInput |
getEditorInput() |
IEditorSite |
getEditorSite() |
String |
getPaneId() |
PaneState |
getPaneState() |
AbstractEditorPane |
getParentPane() |
IQueryContext |
getQueryContext() |
IWorkbenchPartSite |
getSite() |
Image |
getTitleImage() |
String |
getTitleToolTip() |
void |
init(IEditorSite site,
IEditorInput input) |
void |
initWithArgument(Object argument) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
boolean |
isSaveOnCloseNeeded() |
void |
removePropertyListener(IPropertyListener listener) |
void |
setFocus() |
void |
setPaneState(PaneState paneState) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPartControl, getTitle
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init
in interface IEditorPart
PartInitException
public IEditorInput getEditorInput()
getEditorInput
in interface IEditorPart
public IEditorSite getEditorSite()
getEditorSite
in interface IEditorPart
public void initWithArgument(Object argument)
argument
- public void addPropertyListener(IPropertyListener listener)
addPropertyListener
in interface IWorkbenchPart
public void removePropertyListener(IPropertyListener listener)
removePropertyListener
in interface IWorkbenchPart
public IWorkbenchPartSite getSite()
getSite
in interface IWorkbenchPart
public Image getTitleImage()
getTitleImage
in interface IWorkbenchPart
public String getTitleToolTip()
getTitleToolTip
in interface IWorkbenchPart
public void setFocus()
setFocus
in interface IWorkbenchPart
public Object getAdapter(Class adapter)
getAdapter
in interface IAdaptable
public final void doSave(IProgressMonitor monitor)
doSave
in interface ISaveablePart
public final void doSaveAs()
doSaveAs
in interface ISaveablePart
public final boolean isDirty()
isDirty
in interface ISaveablePart
public final boolean isSaveAsAllowed()
isSaveAsAllowed
in interface ISaveablePart
public final boolean isSaveOnCloseNeeded()
isSaveOnCloseNeeded
in interface ISaveablePart
public void contributeToToolBar(IToolBarManager manager)
manager
- public String getPaneId()
public AbstractEditorPane getParentPane()
public void dispose()
dispose
in interface IWorkbenchPart
public PaneState getPaneState()
public void setPaneState(PaneState paneState)
public MultiPaneEditor getEditor()
public IQueryContext getQueryContext()