org.jupe.editors.classdiagram.graphics.nodes.atomics
Class ProblemBorder

java.lang.Object
  extended by org.eclipse.draw2d.AbstractBorder
      extended by org.eclipse.draw2d.MarginBorder
          extended by org.jupe.editors.classdiagram.graphics.nodes.atomics.ProblemBorder
All Implemented Interfaces:
org.eclipse.draw2d.Border

public class ProblemBorder
extends org.eclipse.draw2d.MarginBorder

Border that consists of a red line. Used to highlight problems on methods, fields, etc.

Author:
Steffen Klüpfel

Constructor Summary
ProblemBorder(org.eclipse.draw2d.Figure figure)
           
 
Method Summary
 void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)
           
 
Methods inherited from class org.eclipse.draw2d.MarginBorder
getInsets
 
Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPreferredSize, isOpaque
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProblemBorder

public ProblemBorder(org.eclipse.draw2d.Figure figure)
Method Detail

paint

public void paint(org.eclipse.draw2d.IFigure figure,
                  org.eclipse.draw2d.Graphics graphics,
                  org.eclipse.draw2d.geometry.Insets insets)
Specified by:
paint in interface org.eclipse.draw2d.Border
Overrides:
paint in class org.eclipse.draw2d.MarginBorder