org.wsmostudio.choreography.editors
Class ChoreographyEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.wsmostudio.ui.editors.WSMOEditor
org.wsmostudio.choreography.editors.ChoreographyEditor
- All Implemented Interfaces:
- java.util.Observer, 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.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation, org.wsmostudio.ui.editors.model.ModelPersistenceListener
public class ChoreographyEditor
- extends org.wsmostudio.ui.editors.WSMOEditor
An editor component, subclass of WSMOEditor, capable to handle with WSMO-API
extensions for Choreography.
This editor appears as a part of the WSMO Studio workbench. It is the default
editor implementation for this kind of objects and it can be replaced by
extending extension points org.wsmostudio.ui.editors and
org.eclipse.ui.editors.
- Version:
- $Revision: 1042 $ $Date: 2007-02-13 17:46:57 +0200 $
- Author:
- not attributable
|
Field Summary |
static java.lang.String |
id
|
| Fields inherited from class org.wsmostudio.ui.editors.WSMOEditor |
AXIOM_EDITOR_ID, CAPABILITY_EDITOR_ID, CONCEPT_EDITOR_ID, GOAL_EDITOR_ID, INSTANCE_EDITOR_ID, INTERFACE_EDITOR_ID, MEDIATOR_EDITOR_ID, ONTOLOGY_EDITOR_ID, props, REL_EDITOR_ID, REL_INSTANCE_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, doSave, doSaveAs, doTryToSave, getAdapter, getSelection, isDirty, isSaveAsAllowed, modelSaved, notifyDirty, removeSelectionChangedListener, setFocus, setSelection, update |
| 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, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, 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
ChoreographyEditor
public ChoreographyEditor()
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
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
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart- Overrides:
dispose in class org.wsmostudio.ui.editors.WSMOEditor
modelAboutToSave
public void modelAboutToSave()
throws java.lang.Exception
- The method is invoked just before SAVE operation.
The internal state of the editor is merged with the wsmo4j model.
- Specified by:
modelAboutToSave in interface org.wsmostudio.ui.editors.model.ModelPersistenceListener- Overrides:
modelAboutToSave in class org.wsmostudio.ui.editors.WSMOEditor
- Throws:
java.lang.Exception
updateFromModel
protected void updateFromModel()
- Specified by:
updateFromModel in class org.wsmostudio.ui.editors.WSMOEditor
isInputEntityDead
public boolean isInputEntityDead()
- Overrides:
isInputEntityDead in class org.wsmostudio.ui.editors.WSMOEditor
Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.