SAM

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

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

public class CompositionEditPart
extends EMFGraphNodeEditPart

The Composition object controller

** Generated **

Nested Class Summary
protected  class CompositionEditPart.CompositionEditPartListener
          This listener also listens the orientation property of the graphical element
 
Constructor Summary
CompositionEditPart(GraphNode obj)
          Constructor
 
Method Summary
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  DiagramElementListener getDiagramElementListener()
           
 int getDirection()
          Get the orientation
protected  void refreshColors()
           
protected  void refreshConstraints()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositionEditPart

public CompositionEditPart(GraphNode obj)
Constructor

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

getDiagramElementListener

protected DiagramElementListener getDiagramElementListener()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#getDiagramElementListener()

createEditPolicies

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

** Generated **
NOT

getDirection

public int getDirection()
Get the orientation

Returns:
return the direction of the graphical element

refreshConstraints

protected void refreshConstraints()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#refreshConstraints()

refreshColors

protected void refreshColors()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#refreshColors()

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

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

SAM

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