protected void startDrag(PInputEvent e) { super.startDrag(e); initializeSelection(e); if (shouldStartMarqueeMode()) { initializeMarquee(e); if (!isOptionSelection(e)) { startMarqueeSelection(e); } else { startOptionMarqueeSelection(e); } } else { if (!isOptionSelection(e)) { startStandardSelection(e); } else { startStandardOptionSelection(e); } Collection<WorldObject> nodes = getSelection(); if (nodes.size() > 0) { dragAction = new DragAction(nodes); panHandler.setInverted(true); } } }
protected void startDrag(final PInputEvent event) { super.startDrag(event); startHandleDrag(event.getPositionRelativeTo(PSWTHandle.this), event); }