public class GFCornerHandle
extends org.eclipse.gef.handles.AbstractHandle
org.eclipse.draw2d.Figure.FigureIterator
Constructor and Description |
---|
GFCornerHandle(org.eclipse.gef.GraphicalEditPart owner,
IConfigurationProviderInternal configurationProvider,
int location,
int supportedResizeDirections,
boolean movable,
IShapeSelectionInfo shapeSelectionInfo)
Creates a new GFCornerHandle.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBG_COLOR_PRIMARY_NOT_RESIZABLE() |
Color |
getBG_COLOR_PRIMARY_RESIZABLE() |
Color |
getBG_COLOR_SECONDARY_NOT_RESIZABLE() |
Color |
getBG_COLOR_SECONDARY_RESIZABLE() |
Color |
getFG_COLOR_NOT_RESIZABLE() |
Color |
getFG_COLOR_PRIMARY_RESIZABLE() |
Color |
getFG_COLOR_SECONDARY_RESIZABLE() |
void |
paintFigure(org.eclipse.draw2d.Graphics g)
Paints a rectangular handle which is placed at a corner or at a side of
the shape edit-part.
|
addNotify, ancestorAdded, ancestorMoved, ancestorRemoved, getAccessibleLocation, getDragCursor, getDragTracker, getLocator, removeNotify, setDragCursor, setDragTracker, validate
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, 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 GFCornerHandle(org.eclipse.gef.GraphicalEditPart owner, IConfigurationProviderInternal configurationProvider, int location, int supportedResizeDirections, boolean movable, IShapeSelectionInfo shapeSelectionInfo)
owner
- The shape edit-part associated with this handle.configurationProvider
- The configuration provider, which can be used to access the
environment.location
- The location at which to locate the handle. If the location is
part of the supported resize directions, then resizing is
supported for this handle.supportedResizeDirections
- The supported resize directions (see
ResizableEditPolicy.getResizeDirections()
)movable
- Indicates, if moving the shape edit-part via this handle is
supported.shapeSelectionInfo
- public Color getFG_COLOR_PRIMARY_RESIZABLE()
public Color getFG_COLOR_SECONDARY_RESIZABLE()
public Color getFG_COLOR_NOT_RESIZABLE()
public Color getBG_COLOR_PRIMARY_RESIZABLE()
public Color getBG_COLOR_SECONDARY_RESIZABLE()
public Color getBG_COLOR_PRIMARY_NOT_RESIZABLE()
public Color getBG_COLOR_SECONDARY_NOT_RESIZABLE()
public void paintFigure(org.eclipse.draw2d.Graphics g)
paintFigure
in class org.eclipse.draw2d.Figure