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, setInitializationDataaddPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartpublic 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.IEditorPartinit in class org.eclipse.ui.part.EditorPartorg.eclipse.ui.PartInitExceptionpublic NavigatorState getNavigatorState()
public boolean isDirty()
isDirty in interface org.eclipse.ui.ISaveablePartisDirty in class org.eclipse.ui.part.EditorPartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartpublic void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.part.EditorPartpublic void doSaveAs()
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.part.EditorPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic 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()