UML

org.topcased.modeler.uml.compositestructuresdiagram.figures
Class InterfaceFigure

java.lang.Object
  extended by GraphicWithLabelFigure
      extended by org.topcased.modeler.uml.compositestructuresdiagram.figures.InterfaceFigure

public class InterfaceFigure
extends GraphicWithLabelFigure

Represents the 'Interface' Figure.
The figure is composed by a label (top) and a circle figure (bottom).


Constructor Summary
InterfaceFigure()
          Constructor
 
Method Summary
protected  org.eclipse.draw2d.IFigure createBodyFigure()
          Creates an Ellipse and set its default size to {20, 20}
protected  ILabel createLabel()
           
 void setDisplayBodyFigure(boolean isVisible)
          Indicate whether the body figure should be visible or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceFigure

public InterfaceFigure()
Constructor

Method Detail

createBodyFigure

protected org.eclipse.draw2d.IFigure createBodyFigure()
Creates an Ellipse and set its default size to {20, 20}

See Also:
org.topcased.draw2d.figures.GraphicWithLabelFigure#createBodyFigure()

setDisplayBodyFigure

public void setDisplayBodyFigure(boolean isVisible)
Indicate whether the body figure should be visible or not

Parameters:
isVisible -

createLabel

protected ILabel createLabel()
See Also:
org.topcased.draw2d.figures.GraphicWithLabelFigure#createLabel()

UML

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