public abstract class AbstractEditorPane extends Object implements org.eclipse.ui.IEditorPart
Constructor and Description |
---|
AbstractEditorPane() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyListener(org.eclipse.ui.IPropertyListener listener) |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager) |
void |
dispose() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
doSaveAs() |
<T> T |
getAdapter(Class<T> adapter) |
MultiPaneEditor |
getEditor() |
org.eclipse.ui.IEditorInput |
getEditorInput() |
org.eclipse.ui.IEditorSite |
getEditorSite() |
String |
getPaneId() |
PaneState |
getPaneState() |
AbstractEditorPane |
getParentPane() |
IQueryContext |
getQueryContext() |
org.eclipse.ui.IWorkbenchPartSite |
getSite() |
org.eclipse.swt.graphics.Image |
getTitleImage() |
String |
getTitleToolTip() |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input) |
void |
initWithArgument(Object argument) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
boolean |
isSaveOnCloseNeeded() |
void |
removePropertyListener(org.eclipse.ui.IPropertyListener listener) |
void |
setFocus() |
void |
setPaneState(PaneState paneState) |
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IEditorPart
org.eclipse.ui.PartInitException
public org.eclipse.ui.IEditorInput getEditorInput()
getEditorInput
in interface org.eclipse.ui.IEditorPart
public org.eclipse.ui.IEditorSite getEditorSite()
getEditorSite
in interface org.eclipse.ui.IEditorPart
public void initWithArgument(Object argument)
argument
- public void addPropertyListener(org.eclipse.ui.IPropertyListener listener)
addPropertyListener
in interface org.eclipse.ui.IWorkbenchPart
public void removePropertyListener(org.eclipse.ui.IPropertyListener listener)
removePropertyListener
in interface org.eclipse.ui.IWorkbenchPart
public org.eclipse.ui.IWorkbenchPartSite getSite()
getSite
in interface org.eclipse.ui.IWorkbenchPart
public org.eclipse.swt.graphics.Image getTitleImage()
getTitleImage
in interface org.eclipse.ui.IWorkbenchPart
public String getTitleToolTip()
getTitleToolTip
in interface org.eclipse.ui.IWorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
public final void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave
in interface org.eclipse.ui.ISaveablePart
public final void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
public final boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
public final boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
public final boolean isSaveOnCloseNeeded()
isSaveOnCloseNeeded
in interface org.eclipse.ui.ISaveablePart
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
manager
- public String getPaneId()
public AbstractEditorPane getParentPane()
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
public PaneState getPaneState()
public void setPaneState(PaneState paneState)
public MultiPaneEditor getEditor()
public IQueryContext getQueryContext()