Examples of fireMapChanged()


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

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

        }
        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

Examples of org.freeplane.features.map.mindmapmode.MMapController.fireMapChanged()

      return false;
    }
    map.setReadOnly(false);
    final URL urlAfter = map.getURL();
    final MMapController mapController = (MMapController) Controller.getCurrentModeController().getMapController();
    mapController.fireMapChanged(new MapChangeEvent(this, map, UrlManager.MAP_URL, urlBefore, urlAfter));
    mapController.setSaved(map, true);
    return true;
  }

  /**@deprecated -- use MMapIO*/
 
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.