org.wsmostudio.bpmo.ui.editor
Class BpmoEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.gef.ui.parts.GraphicalEditor
org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
org.wsmostudio.bpmo.ui.editor.BpmoEditor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.gef.commands.CommandStackListener, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
public class BpmoEditor
- extends org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
| Nested classes/interfaces inherited from class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette |
org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.CustomPalettePage |
|
Field Summary |
static java.lang.String |
ID
|
| Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette |
createPalettePage, createPaletteViewerProvider, createPartControl, getGraphicalControl, getPalettePreferences, getPaletteViewerProvider, setEditDomain |
| Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor |
createGraphicalViewer, doSaveAs, firePropertyChange, getActionRegistry, getCommandStack, getEditDomain, getGraphicalViewer, getPropertyActions, getSelectionSynchronizer, getStackActions, hookGraphicalViewer, initializeActionRegistry, selectionChanged, setActionRegistry, setFocus, setGraphicalViewer, updateActions |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
BpmoEditor
public BpmoEditor()
init
public void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
throws org.eclipse.ui.PartInitException
- Specified by:
init in interface org.eclipse.ui.IEditorPart- Overrides:
init in class org.eclipse.gef.ui.parts.GraphicalEditor
- Throws:
org.eclipse.ui.PartInitException
commandStackChanged
public void commandStackChanged(java.util.EventObject event)
- Specified by:
commandStackChanged in interface org.eclipse.gef.commands.CommandStackListener- Overrides:
commandStackChanged in class org.eclipse.gef.ui.parts.GraphicalEditor
initializeGraphicalViewer
protected void initializeGraphicalViewer()
- Overrides:
initializeGraphicalViewer in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
- See Also:
GraphicalEditor.initializeGraphicalViewer()
getEditPartViewer
public org.eclipse.gef.GraphicalViewer getEditPartViewer()
updateView
public void updateView()
loadProperties
public void loadProperties(java.lang.Object selection)
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor iMonitor)
- Specified by:
doSave in interface org.eclipse.ui.ISaveablePart- Specified by:
doSave in class org.eclipse.ui.part.EditorPart
- See Also:
ISaveablePart.doSave(IProgressMonitor)
isSaveAsAllowed
public boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePart- Overrides:
isSaveAsAllowed in class org.eclipse.gef.ui.parts.GraphicalEditor
getPartName
public java.lang.String getPartName()
- Specified by:
getPartName in interface org.eclipse.ui.IWorkbenchPart2- Overrides:
getPartName in class org.eclipse.ui.part.WorkbenchPart
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart- Overrides:
dispose in class org.eclipse.gef.ui.parts.GraphicalEditor
getModel
public BpmoModel getModel()
isDirty
public boolean isDirty()
- Specified by:
isDirty in interface org.eclipse.ui.ISaveablePart- Overrides:
isDirty in class org.eclipse.gef.ui.parts.GraphicalEditor
- See Also:
ISaveablePart.isDirty()
markDirty
public void markDirty()
configureGraphicalViewer
protected void configureGraphicalViewer()
- Overrides:
configureGraphicalViewer in class org.eclipse.gef.ui.parts.GraphicalEditor
- See Also:
GraphicalEditor.configureGraphicalViewer()
createActions
protected void createActions()
- Overrides:
createActions in class org.eclipse.gef.ui.parts.GraphicalEditor
getSelectionActions
public java.util.List getSelectionActions()
- Overrides:
getSelectionActions in class org.eclipse.gef.ui.parts.GraphicalEditor
getAdapter
public java.lang.Object getAdapter(java.lang.Class type)
- Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable- Overrides:
getAdapter in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
getPaletteRoot
protected org.eclipse.gef.palette.PaletteRoot getPaletteRoot()
- Returns the palette root.
- Specified by:
getPaletteRoot in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.