SAM

org.topcased.modeler.sam.systemdiagram.edit
Class AutomatonEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.sam.systemdiagram.edit.AutomatonEditPart

public class AutomatonEditPart
extends EMFGraphNodeEditPart

The Automaton object controller

** Generated **

Constructor Summary
AutomatonEditPart(GraphNode obj)
          Constructor.
 
Method Summary
protected  org.eclipse.jface.action.IAction createChangeDiagramAction(EObject modelObject)
          Overriden so as to provide custom behaviour when the modelObject is an imported system or automaton When an imported system is double-clicked, it will try to load the associated '.samdi'.
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  void handleModelChanged(Notification msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomatonEditPart

public AutomatonEditPart(GraphNode obj)
Constructor. Added a check to make sure that instances reflet the current state of the external model on creation.

Parameters:
obj - the graph node
** Generated **
NOT
Method Detail

createEditPolicies

protected void createEditPolicies()
Creates edit policies and associates these with roles

** Generated **
NOT

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

See Also:
AbstractGraphicalEditPart.createFigure()
** Generated **
NOT

handleModelChanged

protected void handleModelChanged(Notification msg)
See Also:
org.topcased.modeler.edit.BaseEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)

createChangeDiagramAction

protected org.eclipse.jface.action.IAction createChangeDiagramAction(EObject modelObject)
Overriden so as to provide custom behaviour when the modelObject is an imported system or automaton When an imported system is double-clicked, it will try to load the associated '.samdi'.

See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#createChangeDiagramAction(org.eclipse.emf.ecore.EObject)

SAM

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.