RSS

(root)/freeplane/freeplane_program/release_branches/1_0_x : 888 : freeplane/src/org/freeplane/view/swing/map/SelectableLayout.java

« back to all changes in this revision

Viewing changes to freeplane/src/org/freeplane/view/swing/map/SelectableLayout.java

dpolivaev at sourceforge
2009-11-15 10:06:02
Revision ID: dpolivaev@users.sourceforge.net-20091115100602-wxmefhl9h5gkvh0q
save zoom and layout type in the map file

Show diffs side-by-side

added added

removed removed

25
25
import java.awt.LayoutManager;
26
26
import java.awt.Point;
27
27
 
28
 
import org.freeplane.view.swing.map.MapView.Layout;
 
28
import org.freeplane.features.common.addins.mapstyle.MapViewLayout;
 
29
 
29
30
 
30
31
/**
31
32
 * @author Dimitry Polivaev
65
66
        
66
67
        private INodeViewLayout getLayout(Container parent){
67
68
                NodeView view = (NodeView) parent;
68
 
                final Layout layout = view.getMap().getLayoutType();
69
 
                if(layout == Layout.OUTLINE){
 
69
                final MapViewLayout layout = view.getMap().getLayoutType();
 
70
                if(layout == MapViewLayout.OUTLINE){
70
71
                        return OutlineLayout.getInstance();
71
72
                }
72
73
                if (view.isRoot()) {

Loggerhead 1.17 is a web-based interface for Bazaar branches