|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gef.util.FlagSupport
org.eclipse.gef.tools.AbstractTool
org.eclipse.gef.tools.SimpleDragTracker
org.topcased.modeler.edit.handles.EdgeObjectDragTracker
public abstract class EdgeObjectDragTracker
An abstract drag tracker for EdgeObject.
To define the type of the created move request, subclass must implement the
method getCommandName().
Creation : 25 oct. 2005
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.gef.tools.AbstractTool |
|---|
org.eclipse.gef.tools.AbstractTool.Input |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.gef.tools.SimpleDragTracker |
|---|
MAX_FLAG |
| Fields inherited from class org.eclipse.gef.tools.AbstractTool |
|---|
MAX_STATE, MOUSE_BUTTON_ANY, MOUSE_BUTTON1, MOUSE_BUTTON2, MOUSE_BUTTON3, PROPERTY_UNLOAD_WHEN_FINISHED, STATE_ACCESSIBLE_DRAG, STATE_ACCESSIBLE_DRAG_IN_PROGRESS, STATE_DRAG, STATE_DRAG_IN_PROGRESS, STATE_INITIAL, STATE_INVALID, STATE_TERMINAL |
| Fields inherited from interface org.eclipse.gef.RequestConstants |
|---|
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 Summary | |
|---|---|
EdgeObjectDragTracker(org.eclipse.gef.GraphicalEditPart editPart,
EdgeObject edgeObject)
|
|
| Method Summary | |
|---|---|
protected org.eclipse.gef.Request |
createSourceRequest()
|
protected org.eclipse.gef.commands.Command |
getCommand()
|
protected boolean |
handleButtonUp(int button)
|
protected boolean |
handleDoubleClick(int button)
|
protected void |
updateSourceRequest()
|
| Methods inherited from class org.eclipse.gef.tools.SimpleDragTracker |
|---|
calculateCursor, commitDrag, deactivate, eraseSourceFeedback, getSourceRequest, handleButtonDown, handleDragInProgress, handleDragStarted, handleInvalidInput, handleKeyDown, handleKeyUp, isShowingFeedback, performDrag, showSourceFeedback |
| Methods inherited from class org.eclipse.gef.tools.AbstractTool |
|---|
activate, addFeedback, applyProperty, createOperationSet, debug, executeCommand, executeCurrentCommand, focusGained, focusLost, getCommandName, getCurrentCommand, getCurrentInput, getCurrentViewer, getDebugName, getDebugNameForState, getDefaultCursor, getDisabledCursor, getDomain, getDragMoveDelta, getLocation, getOperationSet, getStartLocation, getState, handleCommandStackChanged, handleDrag, handleFinished, handleFocusGained, handleFocusLost, handleHover, handleKeyTraversed, handleMove, handleNativeDragFinished, handleNativeDragStarted, handleViewerEntered, handleViewerExited, isActive, isHoverActive, isInState, isViewerImportant, keyDown, keyTraversed, keyUp, mouseDoubleClick, mouseDown, mouseDrag, mouseHover, mouseMove, mouseUp, mouseWheelScrolled, movedPastThreshold, nativeDragFinished, nativeDragStarted, performViewerMouseWheel, reactivate, refreshCursor, releaseToolCapture, removeFeedback, resetFlags, setCurrentCommand, setCursor, setDefaultCursor, setDisabledCursor, setEditDomain, setHoverActive, setProperties, setStartLocation, setState, setToolCapture, setUnloadWhenFinished, setViewer, stateTransition, unloadWhenFinished, viewerEntered, viewerExited |
| Methods inherited from class org.eclipse.gef.util.FlagSupport |
|---|
getFlag, setFlag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gef.Tool |
|---|
activate, focusGained, focusLost, keyDown, keyTraversed, keyUp, mouseDoubleClick, mouseDown, mouseDrag, mouseHover, mouseMove, mouseUp, mouseWheelScrolled, nativeDragFinished, nativeDragStarted, setEditDomain, setProperties, setViewer, viewerEntered, viewerExited |
| Constructor Detail |
|---|
public EdgeObjectDragTracker(org.eclipse.gef.GraphicalEditPart editPart,
EdgeObject edgeObject)
| Method Detail |
|---|
protected org.eclipse.gef.Request createSourceRequest()
createSourceRequest in class org.eclipse.gef.tools.SimpleDragTrackerSimpleDragTracker.createSourceRequest()protected void updateSourceRequest()
updateSourceRequest in class org.eclipse.gef.tools.SimpleDragTrackerSimpleDragTracker.updateSourceRequest()protected org.eclipse.gef.commands.Command getCommand()
getCommand in class org.eclipse.gef.tools.AbstractToolAbstractTool.getCommand()protected boolean handleButtonUp(int button)
handleButtonUp in class org.eclipse.gef.tools.SimpleDragTrackerSimpleDragTracker.handleButtonUp(int)protected boolean handleDoubleClick(int button)
handleDoubleClick in class org.eclipse.gef.tools.AbstractToolAbstractTool.handleDoubleClick(int)
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.