Package org.freeplane.features.styles

Examples of org.freeplane.features.styles.MapStyle$XmlWriter


    final MapView mapView = getMapView();
    if (mapView == null) {
      return;
    }
    final MapModel map = mapView.getModel();
    final MapStyle mapStyle = mapView.getModeController().getExtension(MapStyle.class);
    if(mapView.getZoom() == zoom){
      return;
    }
    mapStyle.setZoom(map, zoom);
    mapView.setZoom(zoom);
    setZoomComboBox(zoom);
    final Object[] messageArguments = { String.valueOf(zoom * 100f) };
    final String stringResult = TextUtils.format("user_defined_zoom_status_bar", messageArguments);
    controller.getViewController().out(stringResult);
View Full Code Here


    }
    else {
      map.setLayoutType(layoutType);
      setSelected(true);
    }
    final MapStyle mapStyle = (MapStyle) map.getModeController().getExtension(MapStyle.class);
    mapStyle.setMapViewLayout(map.getModel(), map.getLayoutType());
    map.anchorToSelected(map.getSelected(), 0.5f, 0.5f);
    final NodeView root = map.getRoot();
    invalidate(root);
    root.revalidate();
  }
View Full Code Here

                EntityContainer entity = iterator.next();
                serializer.process(entity);
            }
            serializer.complete();
        } else {
            XmlWriter writer = new XmlWriter(file, CompressionMethod.None);
            while (iterator.hasNext()) {
                EntityContainer entity = iterator.next();
                writer.process(entity);
            }
            writer.complete();
        }

    }
View Full Code Here

TOP

Related Classes of org.freeplane.features.styles.MapStyle$XmlWriter

Copyright © 2018 www.massapicom. 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.