Search in sources :

Example 6 with LocationModel

use of org.freeplane.features.nodelocation.LocationModel in project freeplane by freeplane.

the class ChangeShiftYActor method setShiftY.

private void setShiftY(final NodeModel node, final int shiftY) {
    final LocationModel locationModel = LocationModel.createLocationModel(node);
    locationModel.setShiftY(shiftY);
    Controller.getCurrentModeController().getMapController().nodeChanged(node);
}
Also used : LocationModel(org.freeplane.features.nodelocation.LocationModel)

Aggregations

LocationModel (org.freeplane.features.nodelocation.LocationModel)6 Point (java.awt.Point)1 Rectangle (java.awt.Rectangle)1 MapController (org.freeplane.features.map.MapController)1 NodeModel (org.freeplane.features.map.NodeModel)1 MMapController (org.freeplane.features.map.mindmapmode.MMapController)1 ModeController (org.freeplane.features.mode.ModeController)1 MainView (org.freeplane.view.swing.map.MainView)1 MapView (org.freeplane.view.swing.map.MapView)1 NodeView (org.freeplane.view.swing.map.NodeView)1