Package org.freeplane.features.map

Examples of org.freeplane.features.map.MapController.fireMapChanged()


    mapController.addNodeChangeListener(new INodeChangeListener() {
      public void nodeChanged(NodeChangeEvent event) {
        final NodeModel node = event.getNode();
        if(node.getUserObject().equals(MapStyleModel.DEFAULT_STYLE)){
          mapController.fireMapChanged(new MapChangeEvent(this, node.getMap(), MapStyle.MAP_STYLES, null, null));
        }
      }
    });

View Full Code Here


        }
        mapsToRefresh.remove(map);
          final MapStyleModel extension = MapStyleModel.getExtension(map);
          extension.refreshStyles();
        final MapController mapController = Controller.getCurrentModeController().getMapController();
        mapController.fireMapChanged(
            new MapChangeEvent(this, map, MapStyle.MAP_STYLES, null, null));
      }
    });
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.