public class MultiPaneEditor extends EditorPart
| Modifier and Type | Field and Description |
|---|---|
static int |
PROP_ACTION_BAR |
static int |
PROP_FOLDER_IMAGE |
PROP_DIRTY, PROP_INPUTPROP_TITLE| Constructor and Description |
|---|
MultiPaneEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewPage(AbstractEditorPane pane,
Object argument,
String title,
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,
Image image) |
void |
bringPageToTop(PaneState state) |
void |
closePage(PaneState state) |
void |
createPartControl(Composite parent) |
void |
dispose() |
void |
doSave(IProgressMonitor monitor) |
void |
doSaveAs() |
AbstractEditorPane |
getActiveEditor() |
AbstractEditorPane |
getEditor(PaneState state) |
NavigatorState |
getNavigatorState() |
IEditorInput |
getPaneEditorInput() |
IQueryContext |
getQueryContext() |
File |
getResourceFile() |
ToolBarManager |
getToolBarManager() |
void |
init(IEditorSite site,
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, waitaddPropertyListener, getSite, getTitle, getTitleImage, removePropertyListenergetAdapterpublic static final int PROP_ACTION_BAR
public static final int PROP_FOLDER_IMAGE
public final void createPartControl(Composite parent)
createPartControl in interface IWorkbenchPartcreatePartControl in class WorkbenchPartpublic void dispose()
dispose in interface IWorkbenchPartdispose in class WorkbenchPartpublic 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, Image image)
public void addNewPage(String paneId, Object argument, boolean isSingelton, boolean doFocus, String title, Image image)
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init in interface IEditorPartinit in class EditorPartPartInitExceptionpublic NavigatorState getNavigatorState()
public boolean isDirty()
isDirty in interface ISaveablePartisDirty in class EditorPartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface ISaveablePartisSaveAsAllowed in class EditorPartpublic void doSave(IProgressMonitor monitor)
doSave in interface ISaveablePartdoSave in class EditorPartpublic void doSaveAs()
doSaveAs in interface ISaveablePartdoSaveAs in class EditorPartpublic void setFocus()
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPartpublic void resourceChanged(IResourceChangeEvent event)
public void updateToolbar()
public 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()