UML

org.topcased.modeler.uml.classdiagram.edit
Class SlotEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.uml.classdiagram.edit.SlotEditPart

public class SlotEditPart
extends EMFGraphNodeEditPart

The Slot object controller

** Generated **

Constructor Summary
SlotEditPart(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()
          Prevent the Slot to be editable in the editor
protected  void handleModelChanged(Notification msg)
           
protected  void refreshHeaderLabel()
          Set the label for the slot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotEditPart

public SlotEditPart(GraphNode obj)
Constructor

Parameters:
obj - the graph node
** Generated **
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:
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
** Generated **

getEditableLabel

public ILabel getEditableLabel()
Prevent the Slot to be editable in the editor

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

refreshHeaderLabel

protected void refreshHeaderLabel()
Set the label for the slot

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

handleModelChanged

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

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.