use of org.netbeans.core.windows.view.dnd.TopComponentDraggable in project netbeans-rcp-lite by outersky.
the class MoveModeAction method actionPerformed.
@Override
public void actionPerformed(java.awt.event.ActionEvent ev) {
updateEnabled();
if (!isEnabled())
return;
ModeImpl contextMode = getModeToWorkWith();
if (null == contextMode)
return;
WindowManagerImpl.getInstance().userStartedKeyboardDragAndDrop(new TopComponentDraggable(contextMode));
}
use of org.netbeans.core.windows.view.dnd.TopComponentDraggable in project netbeans-rcp-lite by outersky.
the class MoveWindowAction method actionPerformed.
@Override
public void actionPerformed(java.awt.event.ActionEvent ev) {
updateEnabled();
if (!isEnabled())
return;
TopComponent contextTc = getTCToWorkWith();
if (null == contextTc)
return;
WindowManagerImpl.getInstance().userStartedKeyboardDragAndDrop(new TopComponentDraggable(contextTc));
}
Aggregations