UML

org.topcased.modeler.uml.sequencediagram.edit
Class LifelineEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.uml.alldiagram.edit.ElementEditPart
          extended by org.topcased.modeler.uml.sequencediagram.edit.LifelineEditPart

public class LifelineEditPart
extends ElementEditPart

The Lifeline object controller

** Generated **

Constructor Summary
LifelineEditPart(GraphNode obj)
          Constructor
 
Method Summary
 void activate()
           
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
 void deactivate()
           
 ILabel getEditableLabel()
          The editable part of the label is the prefix
 org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
           
 org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.Request request)
           
 org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
           
 org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.Request request)
           
protected  void handleModelChanged(Notification msg)
           
protected  void refreshHeaderLabel()
          Refresh the Lifeline label
protected  void refreshVisuals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifelineEditPart

public LifelineEditPart(GraphNode obj)
Constructor

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

createEditPolicies

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

Overrides:
createEditPolicies in class ElementEditPart
** Generated **
NOT

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

See Also:
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
** Generated **

getEditableLabel

public ILabel getEditableLabel()
The editable part of the label is the prefix

See Also:
org.topcased.modeler.edit.GraphNodeEditPart#getEditableLabel()

refreshHeaderLabel

protected void refreshHeaderLabel()
Refresh the Lifeline label

See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()

getSourceConnectionAnchor

public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
See Also:
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart)

getSourceConnectionAnchor

public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.Request request)
See Also:
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.Request)

getTargetConnectionAnchor

public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
See Also:
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart)

getTargetConnectionAnchor

public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.Request request)
See Also:
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.Request)

handleModelChanged

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

refreshVisuals

protected void refreshVisuals()
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshVisuals()

activate

public void activate()
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()

deactivate

public void deactivate()
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()

UML

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