com.bt.exact_tech.ui.editors
Class ManagerEditor
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.wsmostudio.ui.editors.WSMOEditor
com.bt.exact_tech.ui.editors.ManagerEditor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation, org.wsmostudio.ui.editors.WSMOInputChangeListener
- Direct Known Subclasses:
- BundleEditor, DescEditor, RequiredEditor
public class ManagerEditor
- extends org.wsmostudio.ui.editors.WSMOEditor
- implements org.wsmostudio.ui.editors.WSMOInputChangeListener
This class may be used as is, or subclassed to provide specific Editors.
Subclasses may override any of the following methods:
- isDirty
- dispose
- Version:
- 0.1
- Author:
- Lenni Madsen
Fields inherited from class org.wsmostudio.ui.editors.WSMOEditor |
AXIOM_EDITOR_ID, CAPABILITY_EDITOR_ID, CONCEPT_EDITOR_ID, GOAL_EDITOR_ID, INTERFACE_EDITOR_ID, MEDIATOR_EDITOR_ID, ONTOLOGY_EDITOR_ID, props, REL_EDITOR_ID, WEBSERVICE_EDITOR_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.wsmostudio.ui.editors.WSMOEditor |
addSelectionChangedListener, getAdapter, getSelection, notifyDirty, removeSelectionChangedListener, setSelection |
Methods inherited from class org.eclipse.ui.part.EditorPart |
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
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 |
REL_INSTANCE_EDITOR_ID
public static final java.lang.String REL_INSTANCE_EDITOR_ID
- See Also:
- Constant Field Values
INSTANCE_EDITOR_ID
public static final java.lang.String INSTANCE_EDITOR_ID
- See Also:
- Constant Field Values
ManagerEditor
public ManagerEditor()
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
setFocus
public void setFocus()
- Specified by:
setFocus
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in class org.eclipse.ui.part.WorkbenchPart
isSaveAsAllowed
public boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
- Overrides:
isSaveAsAllowed
in class org.wsmostudio.ui.editors.WSMOEditor
doSaveAs
public void doSaveAs()
- Specified by:
doSaveAs
in interface org.eclipse.ui.ISaveablePart
- Overrides:
doSaveAs
in class org.wsmostudio.ui.editors.WSMOEditor
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
doSave
in interface org.eclipse.ui.ISaveablePart
- Overrides:
doSave
in class org.wsmostudio.ui.editors.WSMOEditor
doTryToSave
public void doTryToSave()
throws java.lang.Exception
- Specified by:
doTryToSave
in class org.wsmostudio.ui.editors.WSMOEditor
- Throws:
java.lang.Exception
inputHasChanged
public void inputHasChanged(java.lang.Object source,
java.lang.Object input)
- Specified by:
inputHasChanged
in interface org.wsmostudio.ui.editors.WSMOInputChangeListener
makeDirty
public void makeDirty()
- Specified by:
makeDirty
in class org.wsmostudio.ui.editors.WSMOEditor
isDirty
public boolean isDirty()
- Specified by:
isDirty
in interface org.eclipse.ui.ISaveablePart
- Overrides:
isDirty
in class org.wsmostudio.ui.editors.WSMOEditor
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in class org.wsmostudio.ui.editors.WSMOEditor
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.wsmostudio.ui.editors.WSMOEditor
- Throws:
org.eclipse.ui.PartInitException