|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractTriggerState
de.cau.cs.kieler.core.model.triggers.DiagramTrigger.DiagramState
public static class DiagramTrigger.DiagramState
A TriggerState that contains a diagram that can be processed with the KIELER View Management. Currently the diagram will be represented by an IWorkBenchPart (i.e. an Eclipse Editor or View). From this the corresponding information can be obtained by registered IGraphicalFrameworkBridge instances.
If you want to support another diagram or workbench part type, a new framework bridge has to be implemented for that part.
Constructor Summary | |
---|---|
DiagramTrigger.DiagramState()
Default constructor creating an invalid DiagramState. |
|
DiagramTrigger.DiagramState(IWorkbenchPart diagram)
Constructor taking the corresponding IWorkbenchPart that contains the diagram. |
Method Summary | |
---|---|
IWorkbenchPart |
getDiagramPart()
Get the WorkBenchPart (Editor/View) that contains a diagram. |
String |
getDiagramType()
Get the type ID of the diagram. |
IGraphicalFrameworkBridge |
getGraphicalFrameworkBridge()
Get the GraphicalFrameworkBridge corresponding to the current diagram. |
EObject |
getSemanticModel()
Get the semantic model in shape of the root EObject that corresponds to the diagram. |
Class<? extends ITrigger> |
getTriggerClass()
Get the trigger class associated with this trigger state. |
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractTriggerState |
---|
finish, getKeyClass, getSequenceNumber, merge, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiagramTrigger.DiagramState()
public DiagramTrigger.DiagramState(IWorkbenchPart diagram)
IWorkbenchPart
that contains the diagram.
diagram
- a diagram editor partMethod Detail |
---|
public IWorkbenchPart getDiagramPart()
public IGraphicalFrameworkBridge getGraphicalFrameworkBridge()
public EObject getSemanticModel()
UnsupportedPartException
if no semantic model can be found. So this method
never returns null
.
public String getDiagramType()
public Class<? extends ITrigger> getTriggerClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |