Package org.eclipse.mat.ui.editor
Class AbstractEditorPane
java.lang.Object
org.eclipse.mat.ui.editor.AbstractEditorPane
- All Implemented Interfaces:
IAdaptable
,IEditorPart
,ISaveablePart
,IWorkbenchPart
- Direct Known Subclasses:
CompositeHeapEditorPane
,HeapEditorPane
,PieChartPane
,QueryResultPane
,QueryTextResultPane
,TextViewPane
This is used to display a result of a query etc.
-
Field Summary
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyListener
(IPropertyListener listener) void
contributeToToolBar
(IToolBarManager manager) void
dispose()
final void
doSave
(IProgressMonitor monitor) final void
doSaveAs()
<T> T
getAdapter
(Class<T> adapter) getSite()
void
init
(IEditorSite site, IEditorInput input) void
initWithArgument
(Object argument) final boolean
isDirty()
final boolean
final boolean
void
removePropertyListener
(IPropertyListener listener) void
setFocus()
void
setPaneState
(PaneState paneState) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
createPartControl, getTitle
-
Constructor Details
-
AbstractEditorPane
public AbstractEditorPane()
-
-
Method Details
-
init
- Specified by:
init
in interfaceIEditorPart
- Throws:
PartInitException
-
getEditorInput
- Specified by:
getEditorInput
in interfaceIEditorPart
-
getEditorSite
- Specified by:
getEditorSite
in interfaceIEditorPart
-
initWithArgument
- Parameters:
argument
-
-
addPropertyListener
- Specified by:
addPropertyListener
in interfaceIWorkbenchPart
-
removePropertyListener
- Specified by:
removePropertyListener
in interfaceIWorkbenchPart
-
getSite
- Specified by:
getSite
in interfaceIWorkbenchPart
-
getTitleImage
- Specified by:
getTitleImage
in interfaceIWorkbenchPart
-
getTitleToolTip
- Specified by:
getTitleToolTip
in interfaceIWorkbenchPart
-
setFocus
public void setFocus()- Specified by:
setFocus
in interfaceIWorkbenchPart
-
getAdapter
- Specified by:
getAdapter
in interfaceIAdaptable
-
doSave
- Specified by:
doSave
in interfaceISaveablePart
-
doSaveAs
public final void doSaveAs()- Specified by:
doSaveAs
in interfaceISaveablePart
-
isDirty
public final boolean isDirty()- Specified by:
isDirty
in interfaceISaveablePart
-
isSaveAsAllowed
public final boolean isSaveAsAllowed()- Specified by:
isSaveAsAllowed
in interfaceISaveablePart
-
isSaveOnCloseNeeded
public final boolean isSaveOnCloseNeeded()- Specified by:
isSaveOnCloseNeeded
in interfaceISaveablePart
-
contributeToToolBar
- Parameters:
manager
-
-
getPaneId
-
getParentPane
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIWorkbenchPart
-
getPaneState
-
setPaneState
-
getEditor
-
getQueryContext
-