de.cau.cs.kieler.ksbase.ui.kivi
Class KSBasETrigger.KSBasEState

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractTriggerState
      extended by de.cau.cs.kieler.ksbase.ui.kivi.KSBasETrigger.KSBasEState
All Implemented Interfaces:
ITriggerState
Enclosing class:
KSBasETrigger

public static final class KSBasETrigger.KSBasEState
extends AbstractTriggerState

Contains the state of the KSBasE trigger: The selected EObject after the transformation and its DiagramEditor.

Rating red

Constructor Summary
KSBasETrigger.KSBasEState()
          Default constructor.
 
Method Summary
 org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor getDiagramEditor()
          Get the DiagramEditor where the transformation happened.
 EObject getEObject()
          Get the EObject selected after the transformation.
 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

KSBasETrigger.KSBasEState

public KSBasETrigger.KSBasEState()
Default constructor.

Method Detail

getEObject

public EObject getEObject()
Get the EObject selected after the transformation.

Returns:
the EObject

getDiagramEditor

public org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor getDiagramEditor()
Get the DiagramEditor where the transformation happened.

Returns:
the diagram editor

getTriggerClass

public Class<? extends ITrigger> getTriggerClass()
Get the trigger class associated with this trigger state.

Returns:
the trigger class