if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2
&& doubleClickTimer.getDelay() > 0) {
final MainView mainView = (MainView) e.getComponent();
if (mainView.getMouseArea().equals(MouseArea.MOTION)) {
final Controller controller = Controller.getCurrentController();
MLocationController locationController = (MLocationController) LocationController
.getController(controller.getModeController());
if (e.getModifiersEx() == 0) {
final NodeView nodeV = getNodeView(e);
final NodeModel node = nodeV.getModel();
locationController.moveNodePosition(node, LocationModel.getModel(node).getVGap(),
LocationModel.HGAP, 0);
return;
}
if (Compat.isCtrlEvent(e)) {
final NodeView nodeV = getNodeView(e);
final NodeModel node = nodeV.getModel();
locationController.moveNodePosition(node, LocationModel.VGAP, LocationModel.getModel(node)
.getHGap(), LocationModel.getModel(node).getShiftY());
return;
}
}
else {