UML

org.topcased.modeler.uml.figure
Class UMLDiagramFigure

java.lang.Object
  extended by DiagramFigure
      extended by org.topcased.modeler.uml.figure.UMLDiagramFigure
Direct Known Subclasses:
ActivityDiagramFigure, ClassDiagramFigure, ComponentDiagramFigure, CompositeStructuresDiagramFigure, DeploymentDiagramFigure, SequenceDiagramFigure, STMDiagramFigure, UseCaseDiagramFigure

public class UMLDiagramFigure
extends DiagramFigure

The figure for the UML2 diagrams


Nested Class Summary
static class UMLDiagramFigure.UMLHeaderBorder
          The border common to all the UML Diagrams
 
Constructor Summary
UMLDiagramFigure()
          Constructor
 
Method Summary
protected  org.eclipse.draw2d.IFigure createContainer()
          Simple BorderAttached layouted figure
 void createContents()
          Create the contents
protected  ILabel createLabel()
          The label is 'act' followed by the name
protected  java.lang.String getPrefixText()
          Subclasses should override this to return the prefix that should be used in the header
protected  void paintFigure(org.eclipse.draw2d.Graphics graphics)
          Do special painting for the header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLDiagramFigure

public UMLDiagramFigure()
Constructor

Method Detail

createContents

public void createContents()
Create the contents

See Also:
org.topcased.draw2d.figures.ContainerFigure#createContents()

createLabel

protected ILabel createLabel()
The label is 'act' followed by the name

See Also:
org.topcased.draw2d.figures.ContainerFigure#createLabel()

createContainer

protected org.eclipse.draw2d.IFigure createContainer()
Simple BorderAttached layouted figure

See Also:
org.topcased.draw2d.figures.ContainerFigure#createContainer()

paintFigure

protected void paintFigure(org.eclipse.draw2d.Graphics graphics)
Do special painting for the header

See Also:
Figure.paintFigure(org.eclipse.draw2d.Graphics)

getPrefixText

protected java.lang.String getPrefixText()
Subclasses should override this to return the prefix that should be used in the header

Returns:
String

UML

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