org.eclipse.gmt.umlx.mm.editor.figures
Class ClassFigure

java.lang.Object
  extended by org.eclipse.draw2d.Figure
      extended by org.eclipse.gmt.umlx.mm.editor.figures.ClassFigure
All Implemented Interfaces:
org.eclipse.draw2d.IFigure, INodeFigure
Direct Known Subclasses:
DataTypeFigure, EnumFigure, SheetAttributeFigure, UMLTemplateFigure

public class ClassFigure
extends org.eclipse.draw2d.Figure
implements INodeFigure

A simple Figure that represents a UML Class Diagram.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
 
Field Summary
 
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
 
Constructor Summary
ClassFigure()
           
ClassFigure(org.eclipse.draw2d.IFigure classBox)
           
 
Method Summary
 org.eclipse.draw2d.IFigure createBody()
           
 org.eclipse.draw2d.IFigure createHeaderBox()
           
 org.eclipse.draw2d.Label createHeaderLabel()
           
 org.eclipse.draw2d.Label getCoLabel()
           
 org.eclipse.draw2d.IFigure getContentPane()
           
 org.eclipse.draw2d.IFigure getHeaderBox()
           
 org.eclipse.draw2d.Label getLabel()
           
 void initClassBox(org.eclipse.draw2d.IFigure classBoxFigure)
           
 
Methods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.draw2d.IFigure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
 

Constructor Detail

ClassFigure

public ClassFigure()

ClassFigure

public ClassFigure(org.eclipse.draw2d.IFigure classBox)
Method Detail

initClassBox

public void initClassBox(org.eclipse.draw2d.IFigure classBoxFigure)

createBody

public org.eclipse.draw2d.IFigure createBody()

createHeaderBox

public org.eclipse.draw2d.IFigure createHeaderBox()

createHeaderLabel

public org.eclipse.draw2d.Label createHeaderLabel()

getCoLabel

public org.eclipse.draw2d.Label getCoLabel()
Specified by:
getCoLabel in interface INodeFigure

getContentPane

public org.eclipse.draw2d.IFigure getContentPane()

getHeaderBox

public org.eclipse.draw2d.IFigure getHeaderBox()

getLabel

public org.eclipse.draw2d.Label getLabel()
Specified by:
getLabel in interface INodeFigure