public class MultiPaneEditor
extends org.eclipse.ui.part.EditorPart
Modifier and Type | Class and Description |
---|---|
static class |
MultiPaneEditor.Handler |
class |
MultiPaneEditor.TabMenuAction |
Modifier and Type | Field and Description |
---|---|
static int |
PROP_ACTION_BAR |
static int |
PROP_FOLDER_IMAGE |
Constructor and Description |
---|
MultiPaneEditor() |
Modifier and Type | Method and Description |
---|---|
void |
addNewPage(AbstractEditorPane pane,
Object argument,
String title,
org.eclipse.swt.graphics.Image image) |
void |
addNewPage(String id,
Object argument)
Create and add a new pane to the folder.
|
void |
addNewPage(String paneId,
Object argument,
boolean isSingelton)
Create and add a new pane if only if a pane with that id does not exist.
|
void |
addNewPage(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.
|
void |
addNewPage(String paneId,
Object argument,
boolean isSingelton,
boolean doFocus,
String title,
org.eclipse.swt.graphics.Image image) |
void |
bringPageToTop(PaneState state) |
void |
closePage(PaneState state) |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
doSaveAs() |
AbstractEditorPane |
getActiveEditor() |
AbstractEditorPane |
getEditor(PaneState state) |
NavigatorState |
getNavigatorState() |
org.eclipse.ui.IEditorInput |
getPaneEditorInput() |
IQueryContext |
getQueryContext() |
File |
getResourceFile() |
org.eclipse.jface.action.ToolBarManager |
getToolBarManager() |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input) |
void |
initWithAnotherArgument(PaneState parent,
PaneState child) |
boolean |
isDirty() |
boolean |
isDisposed() |
boolean |
isSaveAsAllowed() |
void |
resourceChanged(IResourceChangeEvent event) |
void |
setFocus() |
void |
updateToolbar() |
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int PROP_ACTION_BAR
public static final int PROP_FOLDER_IMAGE
public final void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public org.eclipse.ui.IEditorInput getPaneEditorInput()
public void addNewPage(String paneId, Object argument, boolean isSingelton)
public void addNewPage(String paneId, Object argument, boolean isSingelton, boolean doFocus)
public void addNewPage(String id, Object argument)
public void addNewPage(AbstractEditorPane pane, Object argument, String title, org.eclipse.swt.graphics.Image image)
public void addNewPage(String paneId, Object argument, boolean isSingelton, boolean doFocus, String title, org.eclipse.swt.graphics.Image image)
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
init
in class org.eclipse.ui.part.EditorPart
org.eclipse.ui.PartInitException
public NavigatorState getNavigatorState()
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.part.EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public void resourceChanged(IResourceChangeEvent event)
public void updateToolbar()
public org.eclipse.jface.action.ToolBarManager getToolBarManager()
public AbstractEditorPane getActiveEditor()
public void bringPageToTop(PaneState state)
public void closePage(PaneState state)
public AbstractEditorPane getEditor(PaneState state)
public boolean isDisposed()
public File getResourceFile()
public IQueryContext getQueryContext()