SysML

org.topcased.modeler.sysml.blockdefinitiondiagram.edit
Class OperationEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ElementEditPart
          extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.OperationEditPart

public class OperationEditPart
extends ElementEditPart

The Operation object controller

** Generated **

Constructor Summary
OperationEditPart(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()
           
protected  void handleModelChanged(Notification msg)
           
 void performRequest(org.eclipse.gef.Request request)
          handle the edition of the operations
protected  void refreshHeaderLabel()
          Set the name of the operation, with its argument and its stereotypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationEditPart

public OperationEditPart(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 **

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Overrides:
createFigure in class ElementEditPart
See Also:
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
** Generated **

refreshHeaderLabel

protected void refreshHeaderLabel()
Set the name of the operation, with its argument and its stereotypes

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

performRequest

public void performRequest(org.eclipse.gef.Request request)
handle the edition of the operations

See Also:
EditPart.performRequest(org.eclipse.gef.Request)

handleModelChanged

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

activate

public void activate()
Overrides:
activate in class ElementEditPart
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()

deactivate

public void deactivate()
Overrides:
deactivate in class ElementEditPart
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()

SysML

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