public class GFSurroundingHandle
extends org.eclipse.gef.handles.AbstractHandle
org.eclipse.draw2d.Figure.FigureIterator
Constructor and Description |
---|
GFSurroundingHandle(org.eclipse.gef.GraphicalEditPart owner,
IConfigurationProviderInternal configurationProvider,
boolean movable,
IShapeSelectionInfo shapeSelectionInfo)
Creates a new GFSurroundingHandle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(int x,
int y)
Returns
true if the point (x,y) is contained within this
handle. |
org.eclipse.draw2d.geometry.Point |
getAccessibleLocation()
Returns a point along the right edge of the handle.
|
Color |
getFG_COLOR() |
void |
paintFigure(org.eclipse.draw2d.Graphics g)
Paints a rectangular handle surrounding the owner edit-part.
|
addNotify, ancestorAdded, ancestorMoved, ancestorRemoved, getDragCursor, getDragTracker, getLocator, removeNotify, setDragCursor, setDragTracker, validate
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, 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, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, 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
public GFSurroundingHandle(org.eclipse.gef.GraphicalEditPart owner, IConfigurationProviderInternal configurationProvider, boolean movable, IShapeSelectionInfo shapeSelectionInfo)
owner
- The owner editpart associated with this handle.configurationProvider
- The configuration provider, which can be used to access the
environment.movable
- Indicates, if moving the owner edit-part via this handle is
supported.shapeSelectionInfo
- public Color getFG_COLOR()
public boolean containsPoint(int x, int y)
true
if the point (x,y) is contained within this
handle. This means, that the point is on the outline of the handle, not
inside the handle.containsPoint
in interface org.eclipse.draw2d.IFigure
containsPoint
in class org.eclipse.draw2d.Figure
true
if the point (x,y) is contained within this
handle.public org.eclipse.draw2d.geometry.Point getAccessibleLocation()
getAccessibleLocation
in interface org.eclipse.gef.Handle
getAccessibleLocation
in class org.eclipse.gef.handles.AbstractHandle
Handle.getAccessibleLocation()
public void paintFigure(org.eclipse.draw2d.Graphics g)
paintFigure
in class org.eclipse.draw2d.Figure