edu.stanford.hci.dtools.statechart.model
Class StartStateMarkerModel
java.lang.Object
edu.stanford.hci.dtools.statechart.model.ModelElement
edu.stanford.hci.dtools.statechart.model.ShapeModel
edu.stanford.hci.dtools.statechart.model.StartStateMarkerModel
- All Implemented Interfaces:
- java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource
public class StartStateMarkerModel
- extends ShapeModel
This software is distributed under the
BSD License.
- Author:
- Michael Bernstein ( mbernst(AT)stanford.edu )
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MARKER_SIZE
public static final int MARKER_SIZE
- See Also:
- Constant Field Values
START_STATE_CHANGED_PROP
public static final java.lang.String START_STATE_CHANGED_PROP
- Property ID to use when the start state is changed.
- See Also:
- Constant Field Values
StartStateMarkerModel
public StartStateMarkerModel()
setStartState
public void setStartState(StateModel state)
getStartState
public StateModel getStartState()
getIcon
public org.eclipse.swt.graphics.Image getIcon()
- Description copied from class:
ShapeModel
- Return a pictogram (small icon) describing this model element. Children should override this
method and return an appropriate Image.
- Specified by:
getIcon
in class ShapeModel
- Returns:
- a 16x16 Image or null
getSourceConnections
public java.util.List<ConnectionModel> getSourceConnections()
- Return a List of outgoing Connections.
- Overrides:
getSourceConnections
in class ShapeModel
getTargetConnections
public java.util.List<ConnectionModel> getTargetConnections()
- Return a List of incoming Connections.
- Overrides:
getTargetConnections
in class ShapeModel
updateLocation
public void updateLocation()