org.eclipse.gmf.graphdef.editor.edit.policies.assistant
Class SelectionBorder

java.lang.Object
  extended by org.eclipse.draw2d.AbstractBorder
      extended by org.eclipse.draw2d.LineBorder
          extended by org.eclipse.gmf.graphdef.editor.edit.policies.assistant.SelectionBorder
All Implemented Interfaces:
org.eclipse.draw2d.Border

public class SelectionBorder
extends org.eclipse.draw2d.LineBorder


Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractBorder
tempRect
 
Constructor Summary
SelectionBorder(org.eclipse.swt.graphics.Color borderColor, int lineWidth, int lineStyle, org.eclipse.draw2d.geometry.Insets outerInsets, org.eclipse.draw2d.geometry.Insets innerInsets)
           
 
Method Summary
 org.eclipse.draw2d.geometry.Insets getInsets(org.eclipse.draw2d.IFigure figure)
           
 void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)
           
 void setShowBorder(boolean show)
           
 
Methods inherited from class org.eclipse.draw2d.LineBorder
getColor, getStyle, getWidth, isOpaque, setColor, setStyle, setWidth
 
Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPaintRectangle, getPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionBorder

public SelectionBorder(org.eclipse.swt.graphics.Color borderColor,
                       int lineWidth,
                       int lineStyle,
                       org.eclipse.draw2d.geometry.Insets outerInsets,
                       org.eclipse.draw2d.geometry.Insets innerInsets)
Method Detail

setShowBorder

public void setShowBorder(boolean show)

getInsets

public org.eclipse.draw2d.geometry.Insets getInsets(org.eclipse.draw2d.IFigure figure)
Specified by:
getInsets in interface org.eclipse.draw2d.Border
Overrides:
getInsets in class org.eclipse.draw2d.LineBorder

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.LineBorder


Copyright © 2012. All Rights Reserved.