public class CCDModelTextNonResizableEditPolicy
extends org.eclipse.gmf.runtime.diagram.ui.editpolicies.NonResizableEditPolicyEx
COMPONENT_ROLE, CONNECTION_BENDPOINTS_ROLE, CONNECTION_ENDPOINTS_ROLE, CONNECTION_ROLE, CONTAINER_ROLE, DIRECT_EDIT_ROLE, GRAPHICAL_NODE_ROLE, LAYOUT_ROLE, NODE_ROLE, PRIMARY_DRAG_ROLE, SELECTION_FEEDBACK_ROLE, TREE_CONTAINER_ROLE
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
Constructor and Description |
---|
CCDModelTextNonResizableEditPolicy() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.draw2d.IFigure |
createFocusFeedbackFigure() |
protected org.eclipse.draw2d.IFigure |
createSelectionFeedbackFigure() |
protected java.util.List |
createSelectionHandles() |
protected org.eclipse.draw2d.geometry.Rectangle |
getFeedbackBounds() |
protected void |
hideFocus() |
protected void |
hideSelection() |
void |
refreshFeedback() |
protected void |
refreshFocusFeedback() |
protected void |
refreshSelectionFeedback() |
protected void |
showFocus() |
protected void |
showPrimarySelection() |
protected void |
showSelection() |
protected void |
updateLabel(org.eclipse.draw2d.Label target) |
addSelectionHandles, eraseSourceFeedback, getTargetEditPart, replaceHandleDragEditPartsTracker, showChangeBoundsFeedback, showSourceFeedback
createDragHandle, createDragSourceFeedbackFigure, createMoveHandle, deactivate, eraseChangeBoundsFeedback, getAlignCommand, getCommand, getDragSourceFeedbackFigure, getDragTracker, getInitialFeedbackBounds, getMoveCommand, getOrphanCommand, getSelectTracker, isDragAllowed, setDragAllowed, understandsRequest
getAdapter, removeSelectionHandles
activate, addSelectionListener, removeSelectionListener, setFocus, setSelectedState
addFeedback, getFeedbackLayer, getHostFigure, getLayer, removeFeedback
protected void showPrimarySelection()
showPrimarySelection
in class org.eclipse.gef.editpolicies.SelectionEditPolicy
protected void showSelection()
showSelection
in class org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy
protected void hideSelection()
hideSelection
in class org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy
protected void showFocus()
showFocus
in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
protected void hideFocus()
hideFocus
in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
protected org.eclipse.draw2d.geometry.Rectangle getFeedbackBounds()
protected org.eclipse.draw2d.IFigure createSelectionFeedbackFigure()
protected org.eclipse.draw2d.IFigure createFocusFeedbackFigure()
protected void updateLabel(org.eclipse.draw2d.Label target)
protected void refreshSelectionFeedback()
protected void refreshFocusFeedback()
public void refreshFeedback()
protected java.util.List createSelectionHandles()
createSelectionHandles
in class org.eclipse.gef.editpolicies.NonResizableEditPolicy