Package org.eclipse.mat.ui.editor
Class MultiPaneEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.mat.ui.editor.MultiPaneEditor
- All Implemented Interfaces:
EventListener,IResourceChangeListener,IAdaptable,IExecutableExtension,IEditorPart,ISaveablePart,IWorkbenchPart,IWorkbenchPart2,IWorkbenchPart3,IWorkbenchPartOrientation
- Direct Known Subclasses:
HeapEditor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUTFields inherited from interface org.eclipse.core.resources.IResourceChangeListener
PROPERTY_EVENT_MASKFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewPage(String id, Object argument) Create and add a new pane to the folder.voidaddNewPage(String paneId, Object argument, boolean isSingelton) Create and add a new pane if only if a pane with that id does not exist.voidaddNewPage(String paneId, Object argument, boolean isSingelton, boolean doFocus) Create and add a new pane if only if a pane with that id does not exist.voidaddNewPage(String paneId, Object argument, boolean isSingelton, boolean doFocus, String title, Image image) voidaddNewPage(AbstractEditorPane pane, Object argument, String title, Image image) voidbringPageToTop(PaneState state) voidfinal voidcreatePartControl(Composite parent) voiddispose()voiddoSave(IProgressMonitor monitor) voiddoSaveAs()voidinit(IEditorSite site, IEditorInput input) voidinitWithAnotherArgument(PaneState parent, PaneState child) booleanisDirty()booleanbooleanvoidvoidsetFocus()voidMethods inherited from class org.eclipse.ui.part.EditorPart
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationDataMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
-
Field Details
-
PROP_ACTION_BAR
public static final int PROP_ACTION_BAR- See Also:
-
PROP_FOLDER_IMAGE
public static final int PROP_FOLDER_IMAGE- See Also:
-
-
Constructor Details
-
MultiPaneEditor
public MultiPaneEditor()
-
-
Method Details
-
createPartControl
- Specified by:
createPartControlin interfaceIWorkbenchPart- Specified by:
createPartControlin classWorkbenchPart
-
dispose
public void dispose()- Specified by:
disposein interfaceIWorkbenchPart- Overrides:
disposein classWorkbenchPart
-
getPaneEditorInput
-
addNewPage
Create and add a new pane if only if a pane with that id does not exist. -
addNewPage
Create and add a new pane if only if a pane with that id does not exist. -
addNewPage
Create and add a new pane to the folder. -
addNewPage
-
addNewPage
-
init
- Specified by:
initin interfaceIEditorPart- Specified by:
initin classEditorPart- Throws:
PartInitException
-
isDirty
public boolean isDirty()- Specified by:
isDirtyin interfaceISaveablePart- Specified by:
isDirtyin classEditorPart
-
isSaveAsAllowed
public boolean isSaveAsAllowed()- Specified by:
isSaveAsAllowedin interfaceISaveablePart- Specified by:
isSaveAsAllowedin classEditorPart
-
doSave
- Specified by:
doSavein interfaceISaveablePart- Specified by:
doSavein classEditorPart
-
doSaveAs
public void doSaveAs()- Specified by:
doSaveAsin interfaceISaveablePart- Specified by:
doSaveAsin classEditorPart
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceIWorkbenchPart- Specified by:
setFocusin classWorkbenchPart
-
resourceChanged
- Specified by:
resourceChangedin interfaceIResourceChangeListener
-
updateToolbar
public void updateToolbar() -
getToolBarManager
-
getActiveEditor
-
bringPageToTop
-
initWithAnotherArgument
-
closePage
-
getEditor
-
isDisposed
public boolean isDisposed() -
getResourceFile
-
getQueryContext
-