|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.wsmostudio.ui.editors.WSMOEditor
com.bt.exact_tech.ui.editors.ManagerEditor
com.bt.exact_tech.ui.editors.RequiredEditor
public class RequiredEditor
This class plugs in a new part of the ManagerEditor.
The class shows data obtained from the model.
Contains all the functions for the RequiredTable
in the ManagerEditor UI
Nested Class Summary | |
---|---|
(package private) class |
RequiredEditor.Container
|
Field Summary |
---|
Fields inherited from class com.bt.exact_tech.ui.editors.ManagerEditor |
---|
INSTANCE_EDITOR_ID, REL_INSTANCE_EDITOR_ID |
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.ISaveablePart |
---|
PROP_DIRTY |
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
RequiredEditor(org.eclipse.swt.widgets.TabFolder parent,
org.omwg.ontology.Instance instance)
Constructs a new instance of this class given its parent (which must be a TabFolder) |
Method Summary | |
---|---|
boolean |
isDirty()
|
void |
resetDirty()
|
void |
updateEditor(org.eclipse.jface.viewers.ListViewer list)
Forces an update of the requirementEditor to reflect the actual bundleList |
boolean |
updateTable(org.wsmo.common.Identifier identifier,
java.lang.Object[] need,
java.lang.Object[] offer,
boolean remove)
Updates the Requirement table based on the input, returns true if succesfull, or false if otherwise. |
Methods inherited from class com.bt.exact_tech.ui.editors.ManagerEditor |
---|
createPartControl, dispose, doSave, doSaveAs, doTryToSave, init, inputHasChanged, isSaveAsAllowed, makeDirty, setFocus |
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.ISaveablePart |
---|
doSave, doSaveAs, isSaveAsAllowed, isSaveOnCloseNeeded |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
Constructor Detail |
---|
public RequiredEditor(org.eclipse.swt.widgets.TabFolder parent, org.omwg.ontology.Instance instance)
parent
- a TabFolder control, which will be the parent of the new instanceMethod Detail |
---|
public void updateEditor(org.eclipse.jface.viewers.ListViewer list)
list
- - ListViewerpublic boolean updateTable(org.wsmo.common.Identifier identifier, java.lang.Object[] need, java.lang.Object[] offer, boolean remove)
identifier
- - Identifierneed
- - Object[]offer
- - Object[]remove
- - boolean
public void resetDirty()
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class ManagerEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |