Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 365179 | Differences between
and this patch

Collapse All | Expand All

(-)freemind/freemind/controller/Controller.java (+134 lines)
Lines 148-153 Link Here
148
    boolean menubarVisible=true;
148
    boolean menubarVisible=true;
149
    boolean toolbarVisible=true;
149
    boolean toolbarVisible=true;
150
    boolean leftToolbarVisible=true;
150
    boolean leftToolbarVisible=true;
151
    // Bendie:
152
    boolean statusbarVisible=true;
153
    // Bendie:
154
    boolean isFullscreen=false;
151
155
152
    public CloseAction close;
156
    public CloseAction close;
153
    public Action print;
157
    public Action print;
Lines 176-189 Link Here
176
    public Action navigationNextMap;
180
    public Action navigationNextMap;
177
181
178
    public Action moveToRoot;
182
    public Action moveToRoot;
183
    // Bendie:
184
    public Action moveToSelected;
185
    
179
    public Action toggleMenubar;
186
    public Action toggleMenubar;
180
    public Action toggleToolbar;
187
    public Action toggleToolbar;
181
    public Action toggleLeftToolbar;
188
    public Action toggleLeftToolbar;
189
    // Bendie:
190
    public Action toggleStatusbar;
191
    // Bendie:
192
    public Action toggleFullscreen;
182
193
183
    public Action zoomIn;
194
    public Action zoomIn;
184
    public Action zoomOut;
195
    public Action zoomOut;
185
196
186
    public Action showSelectionAsRectangle;
197
    public Action showSelectionAsRectangle;
198
    
199
    // Bendie:
200
    public Action alwaysCenterSelected;
201
    
187
    public PropertyAction propertyAction;
202
    public PropertyAction propertyAction;
188
	public OpenURLAction freemindUrl;
203
	public OpenURLAction freemindUrl;
189
204
Lines 257-262 Link Here
257
        toggleMenubar = new ToggleMenubarAction(this);
272
        toggleMenubar = new ToggleMenubarAction(this);
258
        toggleToolbar = new ToggleToolbarAction(this);
273
        toggleToolbar = new ToggleToolbarAction(this);
259
        toggleLeftToolbar = new ToggleLeftToolbarAction(this);
274
        toggleLeftToolbar = new ToggleLeftToolbarAction(this);
275
        
276
        // Bendie:
277
        toggleStatusbar = new ToggleStatusbarAction(this);
278
        // Bendie:
279
        toggleFullscreen = new ToggleFullscreenAction(this);
280
        
260
        optionAntialiasAction = new OptionAntialiasAction(this);
281
        optionAntialiasAction = new OptionAntialiasAction(this);
261
        optionHTMLExportFoldingAction = new OptionHTMLExportFoldingAction(this);
282
        optionHTMLExportFoldingAction = new OptionHTMLExportFoldingAction(this);
262
        optionSelectionMechanismAction = new OptionSelectionMechanismAction(this);
283
        optionSelectionMechanismAction = new OptionSelectionMechanismAction(this);
Lines 266-273 Link Here
266
        propertyAction = new PropertyAction(this);
287
        propertyAction = new PropertyAction(this);
267
288
268
        showSelectionAsRectangle = new ShowSelectionAsRectangleAction(this);
289
        showSelectionAsRectangle = new ShowSelectionAsRectangleAction(this);
290
        
291
        // Bendie:
292
        alwaysCenterSelected = new AlwaysCenterSelectedAction(this);
269
293
270
        moveToRoot = new MoveToRootAction(this);
294
        moveToRoot = new MoveToRootAction(this);
295
        
296
        // Bendie:
297
        moveToSelected = new MoveToSelectedAction(this);
271
298
272
        //Create the ToolBar
299
        //Create the ToolBar
273
        northToolbarPanel = new JPanel(new BorderLayout());
300
        northToolbarPanel = new JPanel(new BorderLayout());
Lines 631-636 Link Here
631
        toolbarVisible = visible;
658
        toolbarVisible = visible;
632
        toolbar.setVisible(toolbarVisible);
659
        toolbar.setVisible(toolbarVisible);
633
    }
660
    }
661
    
662
    // Bendie:
663
    public void setStatusbarVisible(boolean visible) {
664
    	statusbarVisible = visible;
665
    	getFrame().getFreemindStatusbar().setVisible(statusbarVisible);
666
    }
667
    
668
    // Bendie:
669
    public void setFullscreen(boolean fullscreen) {
670
    	isFullscreen = fullscreen;
671
    	getFrame().setFullscreen(isFullscreen);
672
    }
634
673
635
    /**
674
    /**
636
     * @return Returns the main toolbar.
675
     * @return Returns the main toolbar.
Lines 692-697 Link Here
692
            getView().moveToRoot();
731
            getView().moveToRoot();
693
        }
732
        }
694
    }
733
    }
734
    
735
    // Bendie:
736
    void moveToSelected() {
737
    	if (getMapModule() != null) {
738
    		getView().moveToSelected();
739
    	}
740
    }
695
741
696
    /** Closes the actual map.
742
    /** Closes the actual map.
697
     * @param force true= without save.
743
     * @param force true= without save.
Lines 853-864 Link Here
853
	    page.setEnabled(enabled && isPrintingAllowed);
899
	    page.setEnabled(enabled && isPrintingAllowed);
854
        close.setEnabled(enabled);
900
        close.setEnabled(enabled);
855
        moveToRoot.setEnabled(enabled);
901
        moveToRoot.setEnabled(enabled);
902
        
903
        // Bendie:
904
        moveToSelected.setEnabled(enabled);
905
        
856
        showAllAttributes.setEnabled(enabled);
906
        showAllAttributes.setEnabled(enabled);
857
        showSelectedAttributes.setEnabled(enabled);
907
        showSelectedAttributes.setEnabled(enabled);
858
        hideAllAttributes.setEnabled(enabled);
908
        hideAllAttributes.setEnabled(enabled);
859
        showAttributeManagerAction.setEnabled(enabled);
909
        showAttributeManagerAction.setEnabled(enabled);
860
        ((MainToolBar)getToolBar()).setAllActions(enabled);
910
        ((MainToolBar)getToolBar()).setAllActions(enabled);
861
        showSelectionAsRectangle.setEnabled(enabled);
911
        showSelectionAsRectangle.setEnabled(enabled);
912
        
913
        // Bendie:
914
        alwaysCenterSelected.setEnabled(enabled);
862
    }
915
    }
863
916
864
    //
917
    //
Lines 887-894 Link Here
887
           getFrame().setProperty(FreeMindCommon.ON_START_IF_NOT_SPECIFIED,currentMapRestorable); }
940
           getFrame().setProperty(FreeMindCommon.ON_START_IF_NOT_SPECIFIED,currentMapRestorable); }
888
        // getFrame().setProperty("menubarVisible",menubarVisible ? "true" : "false");
941
        // getFrame().setProperty("menubarVisible",menubarVisible ? "true" : "false");
889
        // ^ Not allowed in application because of problems with not working key shortcuts
942
        // ^ Not allowed in application because of problems with not working key shortcuts
943
        
944
        // Bendie:
945
        setProperty("menubarVisible", menubarVisible ? "true" : "false");
946
        
890
        setProperty("toolbarVisible", toolbarVisible ? "true" : "false");
947
        setProperty("toolbarVisible", toolbarVisible ? "true" : "false");
891
        setProperty("leftToolbarVisible", leftToolbarVisible ? "true" : "false");
948
        setProperty("leftToolbarVisible", leftToolbarVisible ? "true" : "false");
949
        
950
        // Bendie:
951
        setProperty("statusbarVisible", statusbarVisible ? "true" : "false");
952
        
892
        setProperty("antialiasEdges", antialiasEdges ? "true" : "false");
953
        setProperty("antialiasEdges", antialiasEdges ? "true" : "false");
893
        setProperty("antialiasAll", antialiasAll ? "true" : "false");
954
        setProperty("antialiasAll", antialiasAll ? "true" : "false");
894
        if(! getFrame().isApplet()) {
955
        if(! getFrame().isApplet()) {
Lines 1286-1291 Link Here
1286
            moveToRoot();
1347
            moveToRoot();
1287
        }
1348
        }
1288
    }
1349
    }
1350
    
1351
    // Bendie:
1352
    private class MoveToSelectedAction extends AbstractAction {
1353
    	MoveToSelectedAction(Controller controller) {
1354
    		super(controller.getResourceString("move_to_selected"));
1355
    		setEnabled(false);
1356
    	}
1357
    	public void actionPerformed(ActionEvent event) {
1358
    		moveToSelected();
1359
    	}
1360
    }
1289
1361
1290
    private class ToggleMenubarAction extends AbstractAction  implements MenuItemSelectedListener  {
1362
    private class ToggleMenubarAction extends AbstractAction  implements MenuItemSelectedListener  {
1291
        ToggleMenubarAction(Controller controller) {
1363
        ToggleMenubarAction(Controller controller) {
Lines 1329-1334 Link Here
1329
			return leftToolbarVisible;
1401
			return leftToolbarVisible;
1330
		}
1402
		}
1331
    }
1403
    }
1404
    
1405
    // Bendie:
1406
    private class ToggleStatusbarAction extends AbstractAction implements MenuItemSelectedListener {
1407
    	ToggleStatusbarAction(Controller controller) {
1408
    		super(controller.getResourceString("toggle_statusbar"));
1409
    		setEnabled(true);
1410
    	}
1411
    	public void actionPerformed(ActionEvent event) {
1412
    		statusbarVisible=!statusbarVisible;
1413
    		setStatusbarVisible(statusbarVisible);
1414
    	}
1415
    	public boolean isSelected(JMenuItem pCheckItem, Action pAction) {
1416
    		return statusbarVisible;
1417
    	}
1418
    }
1419
    
1420
    // Bendie:
1421
    private class ToggleFullscreenAction extends AbstractAction implements MenuItemSelectedListener {
1422
    	ToggleFullscreenAction(Controller controller) {
1423
    		super(controller.getResourceString("toggle_fullscreen"));
1424
    		setEnabled(true);
1425
    	}
1426
    	public void actionPerformed(ActionEvent event) {
1427
    		isFullscreen=!isFullscreen;
1428
    		setFullscreen(isFullscreen);
1429
    	}
1430
    	public boolean isSelected(JMenuItem pCheckItem, Action pAction) {
1431
    		return isFullscreen;
1432
    	}
1433
    }
1332
1434
1333
    protected class ZoomInAction extends AbstractAction {
1435
    protected class ZoomInAction extends AbstractAction {
1334
        public ZoomInAction(Controller controller) {
1436
        public ZoomInAction(Controller controller) {
Lines 1355-1360 Link Here
1355
			return isSelectionAsRectangle();
1457
			return isSelectionAsRectangle();
1356
		}
1458
		}
1357
    }
1459
    }
1460
    
1461
    // Bendie:
1462
    protected class AlwaysCenterSelectedAction extends AbstractAction implements MenuItemSelectedListener{
1463
        public AlwaysCenterSelectedAction(Controller controller) {
1464
            super(controller.getResourceString("always_center_selected")); }
1465
         public void actionPerformed(ActionEvent e) {
1466
//             logger.info("AlwaysCenterSelectedAction action Performed");
1467
             toggleAlwaysCenterSelected();
1468
            }
1469
 		public boolean isSelected(JMenuItem pCheckItem, Action pAction) {
1470
 			return isAlwaysCenterSelected();
1471
 		}
1472
     }
1358
1473
1359
     private class ShowAllAttributesAction extends AbstractAction {
1474
     private class ShowAllAttributesAction extends AbstractAction {
1360
        public ShowAllAttributesAction(){
1475
        public ShowAllAttributesAction(){
Lines 1422-1427 Link Here
1422
    		setProperty(FreeMind.RESOURCE_DRAW_RECTANGLE_FOR_SELECTION, BooleanProperty.TRUE_VALUE);
1537
    		setProperty(FreeMind.RESOURCE_DRAW_RECTANGLE_FOR_SELECTION, BooleanProperty.TRUE_VALUE);
1423
    	}
1538
    	}
1424
	}
1539
	}
1540
    
1541
    // Bendie:
1542
    // TODO: Find a way to make the change of selection method temporary (not to remember after quitting)
1543
    private String former_selection_method = "selection_method_by_click";
1544
    public void toggleAlwaysCenterSelected() {
1545
    	if (isAlwaysCenterSelected()) {
1546
    		setProperty(FreeMind.RESOURCE_ALWAYS_CENTER_SELECTED, BooleanProperty.FALSE_VALUE);
1547
    		setProperty(FreeMind.RESOURCES_SELECTION_METHOD, former_selection_method);
1548
    	}
1549
    	else {
1550
    		setProperty(FreeMind.RESOURCE_ALWAYS_CENTER_SELECTED, BooleanProperty.TRUE_VALUE);
1551
    		former_selection_method = getProperty(FreeMind.RESOURCES_SELECTION_METHOD);
1552
    		setProperty(FreeMind.RESOURCES_SELECTION_METHOD, "selection_method_by_click");
1553
    	}
1554
    }
1555
    
1556
    private boolean isAlwaysCenterSelected() {
1557
    	return getProperty(FreeMind.RESOURCE_ALWAYS_CENTER_SELECTED).equalsIgnoreCase(BooleanProperty.TRUE_VALUE);
1558
    }
1425
1559
1426
	private boolean isSelectionAsRectangle() {
1560
	private boolean isSelectionAsRectangle() {
1427
		return getProperty(FreeMind.RESOURCE_DRAW_RECTANGLE_FOR_SELECTION).equalsIgnoreCase(BooleanProperty.TRUE_VALUE);
1561
		return getProperty(FreeMind.RESOURCE_DRAW_RECTANGLE_FOR_SELECTION).equalsIgnoreCase(BooleanProperty.TRUE_VALUE);
(-)freemind/freemind/controller/MenuBar.java (-4 / +32 lines)
Lines 219-238 Link Here
219
    private void addAdditionalPopupActions() {
219
    private void addAdditionalPopupActions() {
220
		menuHolder.addSeparator(POPUP_MENU);
220
		menuHolder.addSeparator(POPUP_MENU);
221
        JMenuItem newPopupItem;
221
        JMenuItem newPopupItem;
222
        
222
223
        if (c.getFrame().isApplet()) {
223
    	// Bendie: Why is it a problem if accelerators do not work?
224
        // if (c.getFrame().isApplet()) {
224
        	// We have enabled hiding of menubar only in applets. It it because
225
        	// We have enabled hiding of menubar only in applets. It it because
225
        	// when we hide menubar in application, the key accelerators from
226
        	// when we hide menubar in application, the key accelerators from
226
        	// menubar do not work.
227
        	// menubar do not work.
227
			newPopupItem = menuHolder.addAction(c.toggleMenubar, POPUP_MENU + "toggleMenubar");
228
			newPopupItem = menuHolder.addAction(c.toggleMenubar, POPUP_MENU + "toggleMenubar");
228
			newPopupItem.setForeground(new Color(100, 80, 80));
229
			newPopupItem.setForeground(new Color(100, 80, 80));
229
		}
230
		//}
230
231
231
		newPopupItem = menuHolder.addAction(c.toggleToolbar, POPUP_MENU + "toggleToolbar");
232
		newPopupItem = menuHolder.addAction(c.toggleToolbar, POPUP_MENU + "toggleToolbar");
232
		newPopupItem.setForeground(new Color(100, 80, 80));
233
		newPopupItem.setForeground(new Color(100, 80, 80));
233
        
234
        
234
        newPopupItem = menuHolder.addAction(c.toggleLeftToolbar, POPUP_MENU+"toggleLeftToolbar");
235
        newPopupItem = menuHolder.addAction(c.toggleLeftToolbar, POPUP_MENU+"toggleLeftToolbar");
235
        newPopupItem.setForeground(new Color(100,80,80));
236
        newPopupItem.setForeground(new Color(100,80,80));
237
        
238
        // Bendie:
239
        newPopupItem = menuHolder.addAction(c.toggleStatusbar, POPUP_MENU+"toggleStatusbar");
240
        newPopupItem.setForeground(new Color(100,80,80));
236
    }
241
    }
237
	
242
	
238
    private void updateMapsMenu(StructuredMenuHolder holder, String basicKey) {
243
    private void updateMapsMenu(StructuredMenuHolder holder, String basicKey) {
Lines 304-309 Link Here
304
    private void updateEditMenu() {
309
    private void updateEditMenu() {
305
		JMenuItem moveToRoot = menuHolder.addAction(c.moveToRoot, NAVIGATE_MENU+"nodes/moveToRoot");
310
		JMenuItem moveToRoot = menuHolder.addAction(c.moveToRoot, NAVIGATE_MENU+"nodes/moveToRoot");
306
		moveToRoot.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_moveToRoot")));
311
		moveToRoot.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_moveToRoot")));
312
		
313
		// Bendie:
314
		JMenuItem moveToSelected = menuHolder.addAction(c.moveToSelected, NAVIGATE_MENU+"nodes/moveToSelected");
315
		moveToSelected.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_moveToSelected")));
307
	
316
	
308
		JMenuItem previousMap = menuHolder.addAction(c.navigationPreviousMap, MINDMAP_MENU+"navigate/navigationPreviousMap");
317
		JMenuItem previousMap = menuHolder.addAction(c.navigationPreviousMap, MINDMAP_MENU+"navigate/navigationPreviousMap");
309
		previousMap.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_previousMap")));
318
		previousMap.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_previousMap")));
Lines 327-339 Link Here
327
336
328
337
329
	private void updateViewMenu() {
338
	private void updateViewMenu() {
339
		// Bendie: 
340
		JMenuItem toggleMenubar = menuHolder.addAction(c.toggleMenubar, VIEW_MENU+"toolbars/toggleMenubar");
341
		toggleMenubar.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_show_hide_menubar")));
342
		
330
		JMenuItem toggleToolbar = menuHolder.addAction(c.toggleToolbar, VIEW_MENU+"toolbars/toggleToolbar");
343
		JMenuItem toggleToolbar = menuHolder.addAction(c.toggleToolbar, VIEW_MENU+"toolbars/toggleToolbar");
331
		JMenuItem toggleLeftToolbar = menuHolder.addAction(c.toggleLeftToolbar, VIEW_MENU+"toolbars/toggleLeftToolbar");
344
		JMenuItem toggleLeftToolbar = menuHolder.addAction(c.toggleLeftToolbar, VIEW_MENU+"toolbars/toggleLeftToolbar");
332
		
345
		
346
		// Bendie:
347
		JMenuItem toggleStatusbar = menuHolder.addAction(c.toggleStatusbar, VIEW_MENU+"toolbars/toggleStatusbar");
348
		toggleStatusbar.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_show_hide_statusbar")));
349
		
333
		menuHolder.addSeparator(VIEW_MENU);
350
		menuHolder.addSeparator(VIEW_MENU);
334
		
351
		
352
		// Bendie:
353
		if (!c.getFrame().isApplet()) {
354
			JMenuItem toggleFullscreen = menuHolder.addAction(c.toggleFullscreen, VIEW_MENU+"fullscreen");
355
			toggleFullscreen.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_toggle_fullscreen")));
356
			menuHolder.addSeparator(VIEW_MENU);
357
		}
358
		
335
		JMenuItem showSelectionAsRectangle = menuHolder.addAction(c.showSelectionAsRectangle, VIEW_MENU+"general/selectionAsRectangle");
359
		JMenuItem showSelectionAsRectangle = menuHolder.addAction(c.showSelectionAsRectangle, VIEW_MENU+"general/selectionAsRectangle");
336
360
		
361
		// Bendie:
362
		JMenuItem alwaysCenterSelected = menuHolder.addAction(c.alwaysCenterSelected, VIEW_MENU+"general/alwaysCenterSelected");
363
		alwaysCenterSelected.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_toggle_alwayscenterselected")));
364
		
337
		JMenuItem zoomIn = menuHolder.addAction(c.zoomIn, VIEW_MENU+"zoom/zoomIn");
365
		JMenuItem zoomIn = menuHolder.addAction(c.zoomIn, VIEW_MENU+"zoom/zoomIn");
338
		zoomIn.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_zoom_in")));
366
		zoomIn.setAccelerator(KeyStroke.getKeyStroke(c.getFrame().getAdjustableProperty("keystroke_zoom_in")));
339
	
367
	
(-)freemind/freemind/main/FreeMindApplet.java (+7 lines)
Lines 89-94 Link Here
89
    public MenuBar getFreeMindMenuBar() {
89
    public MenuBar getFreeMindMenuBar() {
90
	return menuBar;
90
	return menuBar;
91
    }
91
    }
92
	
93
	// Bendie:
94
	public JLabel getFreemindStatusbar() {
95
		return status;
96
	}
97
	// Bendie:
98
	public void setFullscreen(boolean fullscreen) {	}
92
99
93
    public Container getViewport() {
100
    public Container getViewport() {
94
		return scrollPane.getViewport();
101
		return scrollPane.getViewport();
(-)freemind/freemind/main/FreeMind.java (-5 / +59 lines)
Lines 70-75 Link Here
70
import javax.swing.UIManager;
70
import javax.swing.UIManager;
71
import javax.swing.event.ChangeEvent;
71
import javax.swing.event.ChangeEvent;
72
import javax.swing.event.ChangeListener;
72
import javax.swing.event.ChangeListener;
73
 
74
// Bendie:
75
import java.awt.GraphicsDevice;
76
import java.awt.GraphicsEnvironment;
77
 
78
// Bendie:
79
import javax.swing.border.EmptyBorder;
73
80
74
import freemind.controller.Controller;
81
import freemind.controller.Controller;
75
import freemind.controller.MapModuleManager;
82
import freemind.controller.MapModuleManager;
Lines 105-110 Link Here
105
	public static final String RESOURCES_SELECTED_NODE_RECTANGLE_COLOR = "standardselectednoderectanglecolor";
112
	public static final String RESOURCES_SELECTED_NODE_RECTANGLE_COLOR = "standardselectednoderectanglecolor";
106
113
107
	public static final String RESOURCE_DRAW_RECTANGLE_FOR_SELECTION = "standarddrawrectangleforselection";	
114
	public static final String RESOURCE_DRAW_RECTANGLE_FOR_SELECTION = "standarddrawrectangleforselection";	
115
	
116
	// Bendie:
117
	public static final String RESOURCE_ALWAYS_CENTER_SELECTED = "standardalwayscenterselected";
108
118
109
	public static final String RESOURCES_EDGE_COLOR = "standardedgecolor";
119
	public static final String RESOURCES_EDGE_COLOR = "standardedgecolor";
110
120
Lines 123-128 Link Here
123
	public static final String RESOURCES_USE_TABBED_PANE = "use_tabbed_pane";
133
	public static final String RESOURCES_USE_TABBED_PANE = "use_tabbed_pane";
124
	
134
	
125
	public static final String RESOURCES_USE_SPLIT_PANE = "use_split_pane";
135
	public static final String RESOURCES_USE_SPLIT_PANE = "use_split_pane";
136
	
137
	// Bendie:
138
	public static final String RESOURCES_SHOW_SCROLLBARS = "show_scrollbars";
126
139
127
    public static final String RESOURCES_DELETE_NODES_WITHOUT_QUESTION = "delete_nodes_without_question";
140
    public static final String RESOURCES_DELETE_NODES_WITHOUT_QUESTION = "delete_nodes_without_question";
128
141
Lines 441-446 Link Here
441
	public MenuBar getFreeMindMenuBar() {
454
	public MenuBar getFreeMindMenuBar() {
442
		return menuBar;
455
		return menuBar;
443
	}
456
	}
457
	
458
	// Bendie:
459
	public JLabel getFreemindStatusbar() {
460
		return status;
461
	}
462
	
463
	// Bendie:
464
	public void setFullscreen(boolean fullscreen) {
465
		//setResizable(fullscreen ? false : true);
466
		
467
		// Dispose is necessary to make the JFrame not displayable so that setUndecorated 
468
		// can be applied
469
		dispose();
470
		if (!isDisplayable()) {
471
			setUndecorated(fullscreen ? true : false);
472
		}
473
		GraphicsEnvironment.getLocalGraphicsEnvironment().
474
			getDefaultScreenDevice().setFullScreenWindow(fullscreen ? this : null);
475
		setVisible(true);
476
		
477
		// On Windows, keyboard shortcuts sometimes cease to work after switching into
478
		// fullscreen mode and back if the menubar is hidden. Explicitly giving the 
479
		// selected node keyboard focus seems to prevent this:
480
		controller.getView().getSelected().requestFocus();
481
	}
444
482
445
	public void out(String msg) {
483
	public void out(String msg) {
446
    	// TODO: Automatically remove old messages after a certain time.
484
    	// TODO: Automatically remove old messages after a certain time.
Lines 776-794 Link Here
776
		setJMenuBar(menuBar);
814
		setJMenuBar(menuBar);
777
815
778
		// Create the scroll pane
816
		// Create the scroll pane
817
		// Bendie: Changed key from "no_scrollbar" to "show_scrollbars" in a new
818
		// RESOURCES_SHOW_SCROLLBARS
779
		mScrollPane =  new MapView.ScrollPane();
819
		mScrollPane =  new MapView.ScrollPane();
780
		if (Resources.getInstance().getBoolProperty("no_scrollbar")) {
820
		if (Resources.getInstance().getBoolProperty(RESOURCES_SHOW_SCROLLBARS)) {
781
			mScrollPane
821
			mScrollPane
782
					.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
822
			.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
783
			mScrollPane
823
			mScrollPane
784
					.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
824
			.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
785
		} else {
825
		} else {
786
			mScrollPane
826
			mScrollPane
787
					.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
827
			.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
788
			mScrollPane
828
			mScrollPane
789
					.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
829
			.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
790
830
791
		}
831
		}
832
		
833
		// Bendie:
834
		mScrollPane.setBorder(new EmptyBorder(0,0,0,0));
835
		
792
		status = new JLabel("!");
836
		status = new JLabel("!");
793
		status.setPreferredSize(status.getPreferredSize());
837
		status.setPreferredSize(status.getPreferredSize());
794
		status.setText("");
838
		status.setText("");
Lines 911-916 Link Here
911
//				}
955
//				}
912
//			}
956
//			}
913
		});
957
		});
958
		
959
		// Bendie:
960
		if (Tools.safeEquals(getProperty("menubarVisible"), "false")) {
961
			controller.setMenubarVisible(false);
962
		}
914
963
915
		if (Tools.safeEquals(getProperty("toolbarVisible"), "false")) {
964
		if (Tools.safeEquals(getProperty("toolbarVisible"), "false")) {
916
			controller.setToolbarVisible(false);
965
			controller.setToolbarVisible(false);
Lines 919-924 Link Here
919
		if (Tools.safeEquals(getProperty("leftToolbarVisible"), "false")) {
968
		if (Tools.safeEquals(getProperty("leftToolbarVisible"), "false")) {
920
			controller.setLeftToolbarVisible(false);
969
			controller.setLeftToolbarVisible(false);
921
		}
970
		}
971
		
972
		// Bendie:
973
		if (Tools.safeEquals(getProperty("statusbarVisible"), "false")) {
974
			controller.setStatusbarVisible(false);
975
		}
922
976
923
		// first define the final layout of the screen:
977
		// first define the final layout of the screen:
924
		setFocusTraversalKeysEnabled(false);
978
		setFocusTraversalKeysEnabled(false);
(-)freemind/freemind/main/FreeMindMain.java (+8 lines)
Lines 32-37 Link Here
32
import javax.swing.JFrame;
32
import javax.swing.JFrame;
33
import javax.swing.JLayeredPane;
33
import javax.swing.JLayeredPane;
34
import javax.swing.JSplitPane;
34
import javax.swing.JSplitPane;
35
// Bendie:
36
import javax.swing.JLabel;
35
37
36
import freemind.controller.Controller;
38
import freemind.controller.Controller;
37
import freemind.controller.MenuBar;
39
import freemind.controller.MenuBar;
Lines 53-58 Link Here
53
    public File getPatternsFile();
55
    public File getPatternsFile();
54
56
55
    public MenuBar getFreeMindMenuBar();
57
    public MenuBar getFreeMindMenuBar();
58
    
59
    // Bendie:
60
    public JLabel getFreemindStatusbar();
61
    
62
    // Bendie:
63
    public void setFullscreen(boolean fullscreen);
56
64
57
    /**Returns the ResourceBundle with the current language*/
65
    /**Returns the ResourceBundle with the current language*/
58
    public ResourceBundle getResources();
66
    public ResourceBundle getResources();
(-)freemind/freemind/main/FreeMindStarter.java (-1 / +19 lines)
Lines 29-35 Link Here
29
import java.net.URL;
29
import java.net.URL;
30
import java.util.Locale;
30
import java.util.Locale;
31
import java.util.Properties;
31
import java.util.Properties;
32
32
import java.awt.Toolkit;
33
import java.lang.IllegalAccessException;
34
import java.lang.NoSuchFieldException;
33
import javax.swing.JOptionPane;
35
import javax.swing.JOptionPane;
34
36
35
/**
37
/**
Lines 55-60 Link Here
55
		starter.createUserDirectory(defaultPreferences);
57
		starter.createUserDirectory(defaultPreferences);
56
		Properties userPreferences = starter.readUsersPreferences(defaultPreferences);
58
		Properties userPreferences = starter.readUsersPreferences(defaultPreferences);
57
		starter.setDefaultLocale(userPreferences);
59
		starter.setDefaultLocale(userPreferences);
60
61
		// Christopher Robin Elmersson: set
62
		Toolkit xToolkit = Toolkit.getDefaultToolkit();
63
64
		try{
65
	  		java.lang.reflect.Field awtAppClassNameField = xToolkit.getClass().getDeclaredField("awtAppClassName");
66
			awtAppClassNameField.setAccessible(true);
67
			try{
68
				awtAppClassNameField.set(xToolkit, "FreeMind");
69
			} catch(java.lang.IllegalAccessException ex){
70
				System.err.println("Could not set window name");
71
			}
72
		} catch (NoSuchFieldException ex){
73
			System.err.println("Could not get awtAppClassName");
74
		}
75
58
		//use reflection to call :
76
		//use reflection to call :
59
//		FreeMind.main(args, defaultPreferences, userPreferences, starter.getUserPreferencesFile(defaultPreferences));
77
//		FreeMind.main(args, defaultPreferences, userPreferences, starter.getUserPreferencesFile(defaultPreferences));
60
		try {
78
		try {
(-)freemind/freemind/main/FreeMindStarter.java~ (+193 lines)
Line 0 Link Here
1
/*FreeMind - A Program for creating and viewing Mindmaps
2
 *Copyright (C) 2000-2006  Joerg Mueller, Daniel Polansky, Dimitri Polivaev, Christian Foltin and others.
3
 *
4
 *See COPYING for Details
5
 *
6
 *This program is free software; you can redistribute it and/or
7
 *modify it under the terms of the GNU General Public License
8
 *as published by the Free Software Foundation; either version 2
9
 *of the License, or (at your option) any later version.
10
 *
11
 *This program is distributed in the hope that it will be useful,
12
 *but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *GNU General Public License for more details.
15
 *
16
 *You should have received a copy of the GNU General Public License
17
 *along with this program; if not, write to the Free Software
18
 *Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
 *
20
 * Created on 06.07.2006
21
 */
22
/*$Id: FreeMindStarter.java,v 1.1.2.11 2009/03/29 19:37:23 christianfoltin Exp $*/
23
package freemind.main;
24
25
import java.io.File;
26
import java.io.FileInputStream;
27
import java.io.InputStream;
28
import java.lang.reflect.Method;
29
import java.net.URL;
30
import java.util.Locale;
31
import java.util.Properties;
32
import java.awt.Toolkit;
33
import java.lang.IllegalAccessException;
34
35
import javax.swing.JOptionPane;
36
37
/**
38
 * This class should check the java version and start freemind.
39
 * In order to be able to check, it must be startable with
40
 * java versions < 1.4. We have therefore a section in the 
41
 * build.xml that explicitly compiles this class for java 1.1
42
 * compatibility. Currently, it is unclear, if this works
43
 * as expected. But in any case, almost no dependencies to
44
 * other FreeMind sources should be used here.
45
 * @author foltin
46
 * 
47
 */
48
public class FreeMindStarter {
49
	/** Doubled variable on purpose. See header of this class.*/
50
	static final String JAVA_VERSION = System.getProperty("java.version");
51
52
	public static void main(String[] args) {
53
		FreeMindStarter starter = new FreeMindStarter();
54
		// First check version of Java
55
		starter.checkJavaVersion();
56
		Properties defaultPreferences = starter.readDefaultPreferences();
57
		starter.createUserDirectory(defaultPreferences);
58
		Properties userPreferences = starter.readUsersPreferences(defaultPreferences);
59
		starter.setDefaultLocale(userPreferences);
60
61
		// Christopher Robin Elmersson: set
62
		Toolkit xToolkit = Toolkit.getDefaultToolkit();
63
  		java.lang.reflect.Field awtAppClassNameField = xToolkit.getClass().getDeclaredField("awtAppClassName");
64
		awtAppClassNameField.setAccessible(true);
65
		try{
66
			awtAppClassNameField.set(xToolkit, "FreeMind");
67
		} catch(java.lang.IllegalAccessException ex){
68
			System.err.println("Could not set window name");
69
		}
70
71
		//use reflection to call :
72
//		FreeMind.main(args, defaultPreferences, userPreferences, starter.getUserPreferencesFile(defaultPreferences));
73
		try {
74
			Class mainClass = Class.forName("freemind.main.FreeMind");
75
			Method mainMethod = mainClass.getMethod("main", new Class[]{String[].class, Properties.class, Properties.class, File.class});
76
			mainMethod.invoke(null, new Object[]{args, defaultPreferences, userPreferences, starter.getUserPreferencesFile(defaultPreferences)});
77
		
78
		} catch (Exception e) {
79
			e.printStackTrace();
80
			JOptionPane.showMessageDialog(null, "freemind.main.FreeMind can't be started", "Startup problem", JOptionPane.ERROR_MESSAGE);
81
			System.exit(1);
82
		}
83
	}
84
	
85
	private void checkJavaVersion() {
86
		System.out.println("Checking Java Version...");
87
		if (JAVA_VERSION.compareTo("1.4.0") < 0) {
88
			String message = "Warning: FreeMind requires version Java 1.4.0 or higher (your version: "
89
					+ JAVA_VERSION
90
					+ ", installed in "
91
					+ System.getProperty("java.home") + ").";
92
			System.err.println(message);
93
			JOptionPane.showMessageDialog(null, message, "FreeMind",
94
					JOptionPane.WARNING_MESSAGE);
95
			System.exit(1);
96
		}
97
	}
98
99
	
100
	
101
	
102
	private void createUserDirectory(Properties pDefaultProperties) {
103
		File userPropertiesFolder = new File(getFreeMindDirectory(pDefaultProperties));
104
		try {
105
			// create user directory:
106
			if (!userPropertiesFolder.exists()) {
107
				userPropertiesFolder.mkdir();
108
			}
109
		} catch (Exception e) {
110
			// exception is logged to console as we don't have a logger
111
			e.printStackTrace();
112
			System.err
113
					.println("Cannot create folder for user properties and logging: '"
114
							+ userPropertiesFolder.getAbsolutePath() + "'");
115
116
		}
117
	}
118
119
120
	
121
	/**
122
	 * @param pProperties 
123
	 */
124
	private void setDefaultLocale(Properties pProperties) {
125
		String lang = pProperties.getProperty(FreeMindCommon.RESOURCE_LANGUAGE);
126
		if(lang == null){
127
			return;
128
		}
129
		Locale localeDef = null;
130
		switch(lang.length()){
131
		case 2:
132
			localeDef = new Locale(lang);
133
			break;
134
		case 5:
135
			localeDef =new Locale(lang.substring(0, 1), lang.substring(3, 4));
136
			break;
137
		default:
138
			return;	
139
		}
140
		Locale.setDefault(localeDef);
141
	}
142
143
	private Properties readUsersPreferences(Properties defaultPreferences) {
144
		Properties auto = null;
145
		auto = new Properties(defaultPreferences);
146
		try {
147
			InputStream in = null;
148
			File autoPropertiesFile = getUserPreferencesFile(defaultPreferences);
149
			in = new FileInputStream(autoPropertiesFile);
150
			auto.load(in);
151
			in.close();
152
		} catch (Exception ex) {
153
			ex.printStackTrace();
154
			System.err
155
			.println("Panic! Error while loading default properties.");
156
		}
157
		return auto;
158
	}
159
160
	private File getUserPreferencesFile(Properties defaultPreferences) {
161
		if(defaultPreferences == null) {
162
			System.err
163
			.println("Panic! Error while loading default properties.");
164
			System.exit(1);
165
		}
166
		String freemindDirectory = getFreeMindDirectory(defaultPreferences);
167
		File userPropertiesFolder = new File(freemindDirectory);
168
		File autoPropertiesFile = new File(userPropertiesFolder, defaultPreferences.getProperty("autoproperties"));
169
		return autoPropertiesFile;
170
	}
171
172
173
174
	private String getFreeMindDirectory(Properties defaultPreferences) {
175
		return System.getProperty("user.home") + File.separator +  defaultPreferences.getProperty("properties_folder");
176
	}
177
178
	public Properties readDefaultPreferences() {
179
		String propsLoc = "freemind.properties";
180
		URL defaultPropsURL = this.getClass().getClassLoader().getResource(propsLoc);
181
		Properties props = new Properties();
182
		try {
183
			InputStream in = defaultPropsURL.openStream();
184
			props.load(in);
185
			in.close();
186
		} catch (Exception ex) {
187
			ex.printStackTrace();
188
			System.err
189
			.println("Panic! Error while loading default properties.");
190
		}
191
		return props;
192
	}
193
}
(-)freemind/freemind/modes/mindmapmode/actions/PasteAction.java (-2 / +2 lines)
Lines 526-532 Link Here
526
	 *
526
	 *
527
	 * Split the text into lines; determine the new tree structure
527
	 * Split the text into lines; determine the new tree structure
528
	 * by the number of leading spaces in lines.  In case that
528
	 * by the number of leading spaces in lines.  In case that
529
	 * trimmed line starts with protocol (http:, https:, ftp:),
529
	 * trimmed line starts with protocol (http:, https:, ftp:, file:),
530
	 * create a link with the same content.
530
	 * create a link with the same content.
531
	 *
531
	 *
532
	 * If there was only one line to be pasted, return the pasted node, null otherwise.
532
	 * If there was only one line to be pasted, return the pasted node, null otherwise.
Lines 559-565 Link Here
559
	   parentNodes.add(parent);
559
	   parentNodes.add(parent);
560
	   parentNodesDepths.add(new Integer(-1));
560
	   parentNodesDepths.add(new Integer(-1));
561
561
562
	   String[] linkPrefixes = { "http://", "ftp://", "https://" };
562
	   String[] linkPrefixes = { "http://", "ftp://", "https://", "file://" };
563
563
564
	   MindMapNode pastedNode = null;
564
	   MindMapNode pastedNode = null;
565
565
(-)freemind/freemind/preferences/layout/OptionPanel.java (+21 lines)
Lines 650-655 Link Here
650
//		controls.add(new BooleanProperty(
650
//		controls.add(new BooleanProperty(
651
//				
651
//				
652
//				"use_split_pane.tooltip", FreeMind.RESOURCES_USE_SPLIT_PANE)); //  true
652
//				"use_split_pane.tooltip", FreeMind.RESOURCES_USE_SPLIT_PANE)); //  true
653
		
654
		// Bendie: 
655
		controls.add(new BooleanProperty(FreeMind.RESOURCES_SHOW_SCROLLBARS+".tooltip", FreeMind.RESOURCES_SHOW_SCROLLBARS));
653
656
654
		/* ***************************************************************** */
657
		/* ***************************************************************** */
655
		controls.add(new NextLineProperty());
658
		controls.add(new NextLineProperty());
Lines 822-827 Link Here
822
825
823
		controls.add(new KeyProperty(frame, null, "keystroke_zoom_in")); //  alt
826
		controls.add(new KeyProperty(frame, null, "keystroke_zoom_in")); //  alt
824
		// DOWN
827
		// DOWN
828
		
829
		
830
		// Bendie:
831
		controls.add(new KeyProperty(frame, null, "keystroke_show_hide_menubar")); // control
832
		// M
833
		
834
		controls.add(new KeyProperty(frame, null, "keystroke_show_hide_statusbar")); // control
835
		// alt S
836
		
837
		controls.add(new KeyProperty(frame, null, "keystroke_toggle_fullscreen")); // control
838
		// alt F
839
840
		controls.add(new KeyProperty(frame, null, "keystroke_toggle_alwayscenterselected")); // shift
841
		// alt C
825
842
826
		//		Node editing commands
843
		//		Node editing commands
827
		controls.add(new NextLineProperty());
844
		controls.add(new NextLineProperty());
Lines 859-864 Link Here
859
		controls.add(new NextLineProperty());
876
		controls.add(new NextLineProperty());
860
		controls.add(new SeparatorProperty("node_navigation_commands"));
877
		controls.add(new SeparatorProperty("node_navigation_commands"));
861
		controls.add(new KeyProperty(frame, null, "keystroke_moveToRoot")); //  ESCAPE
878
		controls.add(new KeyProperty(frame, null, "keystroke_moveToRoot")); //  ESCAPE
879
		
880
		// Bendie:
881
		controls.add(new KeyProperty(frame, null, "keystroke_moveToSelected")); //  control 
882
		// ESCAPE
862
883
863
		controls.add(new KeyProperty(frame, null, "keystroke_move_up")); //  E
884
		controls.add(new KeyProperty(frame, null, "keystroke_move_up")); //  E
864
885
(-)freemind/freemind/view/mindmapview/MapView.java (+21 lines)
Lines 58-63 Link Here
58
import javax.swing.JScrollPane;
58
import javax.swing.JScrollPane;
59
import javax.swing.JViewport;
59
import javax.swing.JViewport;
60
60
61
import freemind.common.BooleanProperty;
61
import freemind.controller.Controller;
62
import freemind.controller.Controller;
62
import freemind.controller.NodeKeyListener;
63
import freemind.controller.NodeKeyListener;
63
import freemind.controller.NodeMotionListener;
64
import freemind.controller.NodeMotionListener;
Lines 336-341 Link Here
336
		                    	standardDrawRectangleForSelection = Tools.xmlToBoolean(newValue);
337
		                    	standardDrawRectangleForSelection = Tools.xmlToBoolean(newValue);
337
		                    	controller.getMapModule().getView().repaintSelecteds();
338
		                    	controller.getMapModule().getView().repaintSelecteds();
338
		                    }
339
		                    }
340
		                    
341
		                    // Bendie:
342
		                    else if (propertyName
343
		                    		.equals(FreeMind.RESOURCE_ALWAYS_CENTER_SELECTED)) {
344
		                    	centerNode(getSelected());
345
		                    }
346
		                    
339
		                    else if (propertyName
347
		                    else if (propertyName
340
		                            .equals(FreeMind.RESOURCE_PRINT_ON_WHITE_BACKGROUND)) {
348
		                            .equals(FreeMind.RESOURCE_PRINT_ON_WHITE_BACKGROUND)) {
341
		                    	printOnWhiteBackground = Tools.xmlToBoolean(newValue);
349
		                    	printOnWhiteBackground = Tools.xmlToBoolean(newValue);
Lines 688-693 Link Here
688
                oldSelected.repaintSelected();
696
                oldSelected.repaintSelected();
689
            }
697
            }
690
        }
698
        }
699
        
700
        // Bendie:
701
        if (getController().getFrame().getProperty(FreeMind.RESOURCE_ALWAYS_CENTER_SELECTED).equalsIgnoreCase(BooleanProperty.TRUE_VALUE)) {
702
            centerNode(newSelected);
703
        }
691
    }
704
    }
692
705
693
    /**
706
    /**
Lines 958-963 Link Here
958
971
959
        return selectedNodes;
972
        return selectedNodes;
960
    }
973
    }
974
    
975
    // Bendie:
976
    public void moveToSelected() {
977
    	final NodeView selectedNode = getSelected();
978
    	if (selectedNode != null) {
979
    		centerNode(selectedNode);
980
    	}
981
    }
961
982
962
    public boolean isSelected(NodeView n) {
983
    public boolean isSelected(NodeView n) {
963
        if (isPrinting) return false;
984
        if (isPrinting) return false;
(-)freemind/freemind.properties (-53 / +1 lines)
Lines 1-53 Link Here
1
#/*$Id: freemind.properties,v 1.36.14.16.2.71 2010/09/22 20:13:55 christianfoltin Exp $*/ -*- mode:sh -*-
#This is the language that should be used in the program. "automatic" tries to load the current user's language.
language = automatic
antialias = antialias_edges
html_export_folding = html_export_fold_currently_folded

#should node be unfolded if child node is pasted ?
#fc, 10.4.2008: set to false as default like in version 0.8.1 
unfold_on_paste=false

# Experimental features, "true" / "false"
experimental_file_locking_on = false

#If dnd is enabled. "true" or "false"
draganddrop = true
#The Modes which Freemind will load on startup, full Class names, comma, identifier, separated by a comma.
#modes = freemind.modes.browsemode.BrowseMode,Browse,freemind.modes.mindmapmode.MindMapMode,MindMap,freemind.modes.filemode.FileMode,File
modes_since_0_8_0 = freemind.modes.browsemode.BrowseMode,Browse,freemind.modes.mindmapmode.MindMapMode,MindMap,freemind.modes.filemode.FileMode,File
1
#/*$Id: freemind.properties,v 1.36.14.16.2.71 2010/09/22 20:13:55 christianfoltin Exp $*/ -*- mode:sh -*-
#This is the language that should be used in the program. "automatic" tries to load the current user's language.
language = automatic
antialias = antialias_edges
html_export_folding = html_export_fold_currently_folded

#should node be unfolded if child node is pasted ?
#fc, 10.4.2008: set to false as default like in version 0.8.1 
unfold_on_paste=false

# Experimental features, "true" / "false"
experimental_file_locking_on = false

#If dnd is enabled. "true" or "false"
draganddrop = true
#The Modes which Freemind will load on startup, full Class names, comma, identifier, separated by a comma.
#modes = freemind.modes.browsemode.BrowseMode,Browse,freemind.modes.mindmapmode.MindMapMode,MindMap,freemind.modes.filemode.FileMode,File
modes_since_0_8_0 = freemind.modes.browsemode.BrowseMode,Browse,freemind.modes.mindmapmode.MindMapMode,MindMap,freemind.modes.filemode.FileMode,File
#The initial mode that is loaded on startup
initial_mode = MindMap
#This is the place where the users properties file is located. It is ignored by the applet (set Parameters in the html
#file instead). You can write "~" to indicate the users home directory.
#Of course this works only in the default "freemind.properties", which is included in the jar file, not for the users
#freemind.props out of the jar file.
properties_folder = .freemind
userproperties = user.properties
autoproperties = auto.properties
patternsfile = patterns.xml
#The default new node style. "fork", "bubble" "as_parent" and "combined" are supported
# standardnodestyle = fork
# standardnodestyle = bubble
standardnodestyle = as_parent

#The root node style if no other is specified. "fork" and "bubble" and "combined" are supported

standardrootnodestyle = fork

#The standard background color in html notation
standardbackgroundcolor = #ffffff

#Use white as background for printing
printonwhitebackground = true
#The standard node color. In html notation (#RRGGBB in hex values)
standardnodetextcolor = #000000
#The standard node color if selected. In html notation (#RRGGBB in hex values)
standardselectednodecolor = #d2d2d2

#The selected nodes backgrounds and text colors are changed if true
standarddrawrectangleforselection = false

#The standard node text color if selected. In html notation (#RRGGBB in hex values)
standardselectednoderectanglecolor = #002080

#The default node font. This will only work if the font (TrueTypeFont) is available on the system
defaultfont = SansSerif
defaultfontstyle = 0
defaultfontsize = 12
#The default maximal node width in pixels
max_node_width = 600
#The standard edge color in html notation
standardedgecolor = #808080
# old: #2540b4
#The standard edge style. "linear" and "bezier" are supported
standardedgestyle = bezier
#The standard cloud color in html notation
standardcloudcolor = #f0f0f0
#The standard cloud style. currently, only "bezier" is supported
standardcloudestyle = bezier
#The standard link color in html notation
standardlinkcolor = #b0b0b0
#The standard link style. currently, only "bezier" is supported
standardlinkestyle = bezier
#The Look&Feel to use. "metal","windows","motif", "gtk" are supported, "mac" is available only on MacOS
# default means, that the default look and feel is used.
# If you want to put your own L&F, please, enter the class name here and
# assure that the corresponding jar file(s) are loaded.
# If there are problems with the look and feel, then choose "nothing" here.
#It work for applets
lookandfeel = default
#The initial size of every map
mapxsize = 1000
mapysize = 3200
#Where to place new branches. Valid values are "first" and "last"
placenewbranches = last
#Set Links either relative or absolute
links = relative
#The URL of the documentation mindmap (.mm)
docmapurl = ./doc/freemind.mm
docmapurl_since_version_0_7_0 = ./doc/freemind.mm
#This is a hash that maps endings of files to programs which should be used to open them.
#It is only used by the application,not by the applet.
#Special keywords: "default" instead of file and "execute" instead of program
#Examples: Unix: "default:netscape,sh:bash,txt:emacs,mp3:freeamp,jpg:xv"
#Windows: "default:explorer,exe:execute,com:execute,bat:execute,mp3:winamp,doc:word"
#filetypes = default:netscape
#     filetypes is obsolete
preferred_browsers = explorer;konqueror;netscape  # Not yet implemented !!!
last_opened_list_length = 25
loadLastMap=true
# {{{ Edit Long node
# above / below
el__buttons_position = above
el__position_window_below_node = true
el__min_default_window_height = 150
el__max_default_window_height = 500
el__min_default_window_width = 600
el__max_default_window_width = 600
el__enter_confirms_by_default = true
el__show_icon_for_attributes = true
# }}}
# {{{ Keystrokes
#
# These are the accelerators for the menu items. Valid modifiers are:
# shift | control | alt | meta | button1 | button2 | button3
# Valid keys should be all that are defined in java.awt.event.KeyEvent
# (without the "VK_" prefix), but I found this buggy. All normal char's should work.
# The ideas employed in choice of keyboard shortcuts are:
#   If there is a standard for a feature, use it
#   Use control modifier whereever possible
#Commands for the program
keystroke_newMap = control N
keystroke_open = control O
keystroke_save = control S
keystroke_saveAs = control shift S
keystroke_print = control P
keystroke_close = control W
keystroke_quit = control Q
keystroke_export_to_html = control E
keystroke_export_branch_to_html = control H
keystroke_open_first_in_history = control shift W
keystroke_previousMap = alt shift LEFT
keystroke_nextMap = alt shift RIGHT
keystroke_option_dialog = control COMMA
keystroke_mode_MindMap = alt 1
keystroke_mode_Browse = alt 2
keystroke_mode_File = alt 3
keystroke_node_toggle_italic = control I
keystroke_node_toggle_boldface = control B
keystroke_node_toggle_underlined = control U
keystroke_node_toggle_cloud = control shift B
keystroke_undo = control Z
keystroke_redo = control Y
keystroke_delete_child = DELETE
keystroke_select_all = control A
keystroke_select_branch = control shift A

#Node editing commands
keystroke_cut = control X
keystroke_copy = control C
keystroke_copy_single = control shift C
keystroke_paste = control V
keystroke_remove = none
keystroke_add_arrow_link_action=control L
keystroke_add_local_link_action=alt L
# Unline with control X, the node you remove with action remove cannot be
# pasted again. Therefore, we do not provide any quick shortcut. We suggest
# that you use cut instead of remove.
#Node navigation commands
keystroke_moveToRoot = ESCAPE
keystroke_move_up = E
keystroke_move_down = D
keystroke_move_left = S
keystroke_move_right = F
keystroke_follow_link = control ENTER
#New node commands
keystroke_add = ENTER
keystroke_add_child = INSERT
# on mac, there is no INSERT key, so use TAB instead.
keystroke_add_child_mac = TAB
keystroke_add_sibling_before = shift ENTER
#Node editing commands
keystroke_edit = F2
keystroke_edit_long_node = alt ENTER
keystroke_edit_attributes = alt F9
keystroke_show_all_attributes=
keystroke_show_selected_attributes=
keystroke_hide_all_attributes=
keystroke_show_attribute_manager=
keystroke_assign_attributes=
keystroke_join_nodes = control J
keystroke_use_rich_formatting = alt R
keystroke_use_plain_text = alt P
keystroke_toggle_folded = SPACE
keystroke_toggle_children_folded = control SPACE
keystroke_set_link_by_filechooser = control shift K
keystroke_set_link_by_textfield = control K
keystroke_set_image_by_filechooser = alt K
keystroke_node_up = control UP
keystroke_node_down = control DOWN
keystroke_node_increase_font_size = ? control EQUALS
keystroke_node_decrease_font_size = ? control MINUS
keystroke_branch_increase_font_size = ? control shift EQUALS
keystroke_branch_decrease_font_size = ? control shift MINUS
keystroke_export_branch = alt shift A
#
keystroke_node_color = alt shift F
keystroke_node_color_blend = alt shift B
keystroke_edge_color = alt shift E
keystroke_find = control F
keystroke_find_next = control G
# Apply patterns
# There is no limiting number of the pattern, you can have as many
# keystrokes for patterns as you want.
# The reason I do not follow to F10 and further in this default is that
# F10 has special function on Windows.
keystroke_apply_pattern_1  = F1
keystroke_apply_pattern_2  = control shift N
keystroke_apply_pattern_3  = F3
keystroke_apply_pattern_4  = F4
keystroke_apply_pattern_5  = F5
keystroke_apply_pattern_6  = F6
keystroke_apply_pattern_7  = F7
keystroke_apply_pattern_8  = F8
keystroke_apply_pattern_9  = F9
keystroke_apply_pattern_10 = control F1
keystroke_apply_pattern_11 = control F2
keystroke_apply_pattern_12 = control F3
keystroke_apply_pattern_13 = control F4
keystroke_apply_pattern_14 = control F5
keystroke_apply_pattern_15 = control F6
keystroke_apply_pattern_16 = control F7
keystroke_apply_pattern_17 = control F8
keystroke_apply_pattern_18 = control F9
keystroke_zoom_out = alt DOWN
keystroke_zoom_in = alt UP
#
# }}}
# Icons in Select Icon...
keystroke_remove_all_icons=DELETE
keystroke_remove_last_icon=BACK_SPACE
keystroke_icon_attach=\:
keystroke_icon_back=<
keystroke_icon_button_cancel=-
keystroke_icon_button_ok=+
keystroke_icon_forward=>
keystroke_icon_full-1=1
keystroke_icon_full-2=2
keystroke_icon_full-3=3
keystroke_icon_full-4=4
keystroke_icon_full-5=5
keystroke_icon_full-6=6
keystroke_icon_full-7=7
keystroke_icon_full-8=8
keystroke_icon_full-9=9
keystroke_icon_full-0=0
keystroke_icon_help=?
keystroke_icon_idea=*
keystroke_icon_ksmiletris=)
keystroke_icon_messagebox_warning=\!
keystroke_icon_smily_bad=(
#Don't display "move" cursor during paper dragging
disable_cursor_move_paper = false
#Key typing: if enabled enters node editing
disable_key_type = false
#Key typing: overwrites content (false) / creates new sibling (true)
#   (requires: disable_key_type = false)
key_type_adds_new = false
#Enable leaves folding
#  == changing bubble/fork for fold action
#  (although if false, you can always use node style to change it)
enable_leaves_folding = false
# Tell if HTML exported from FreeMind should contain icons.
# The trouble with icons is that quite often the links to
# icons will not be found in the exported HTML.
export_icons_in_html = false
#
# The Browse Mode
#
#The URL of the map that is loaded when browsemode starts up
browsemode_initial_map = ./doc/freemind.mm
#
# The default browser setting
#
# For Windows (the \"\" signs are necessary due to links, that have "=" in their URL).
# default_browser_command_windows_nt = explorer "{0}"
#
# # For "Windows NT":
# default_browser_command_windows_nt = C:\Program Files\Internet Explorer\iexplore.exe "{0}"
#
# The next setting works for the default browser, but eventually starts programs without questions, so be careful!
#
# default_browser_command_windows_nt = rundll32 url.dll,FileProtocolHandler {0}
default_browser_command_windows_nt = cmd.exe /c start "" "{0}"
default_browser_command_windows_9x = command.com /c start "{0}"
# Dimitri proposed:
# default_browser_command_windows_9x = explorer "{0}"
#
# Here the default browser for other operating systems goes:
#
# other is typically Linux:
default_browser_command_other_os = xdg-open {0}
#
# and MAC: (thanks to Nick!)
#default_browser_command_mac = open -a /Applications/Safari.app {0}
# due to https://sourceforge.net/tracker/?func=detail&atid=357118&aid=1940334&group_id=7118
default_browser_command_mac = open {0}
#
# Selection time delay of nodes when mouse is over (in msec)
#
# Change this value to 1 if you want direct selection on mouse over.
#
time_for_delayed_selection=60
#
# with the following switch you can enable/disable the delayed selection scheme
#
# Auto options. Do not modify these as they will be saved to auto.properties anyway.
selection_method = selection_method_delayed
# time between two consecutive automatic saving actions (in msec):
# ==============================================================
# To disable automatic saving set this number to 2000000000.
time_for_automatic_save=60000
#
# If the files should be deleted automatically on a normal shutdown of Freemind set the following variable to true
delete_automatic_saves_at_exit=true
#
# number n of different files to store the maps into.
# The first automatic save is done in the first file, and so on
# up to the n+1-save which is again stored in the first file (cyclic)
number_of_different_files_for_automatic_save=10
#
# to change the default path (this is "java.io.tmpdir" of java), enter a directory path here:
# other possibilities:
# * freemind_home   stands for the directory, where the auto.properties are.
# * default         points to java.io.tmpdir
path_to_automatic_saves=freemind_home
# Dimitri, 01.09.04
# width of the folding marking circle
foldingsymbolwidth = 6
# Fc, 10.7.2005.
# Levels of undo
undo_levels=100
# fc, 21.2.06: key board shortcuts for move up/down
keystroke_accessories/plugins/ChangeNodeLevelAction_left.properties_key=control LEFT
keystroke_accessories/plugins/ChangeNodeLevelAction_right.properties_key=control RIGHT
keystroke_accessories/plugins/FormatCopy.properties.properties_key=alt C
keystroke_accessories/plugins/FormatPaste.properties.properties_key=alt V
keystroke_accessories/plugins/IconSelectionPlugin.properties.properties_key=alt I
keystroke_accessories/plugins/NewParentNode.properties_key=shift INSERT
# keystroke_accessories/plugins/NodeNote.properties_key=alt N
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_PAGE_UP=alt PAGE_UP
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_PAGE_DOWN=alt PAGE_DOWN
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_HOME=alt HOME
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_END=alt END
keystroke_accessories/plugins/SplitNode.properties_key=
#dimitry 25.10
keystroke_accessories/plugins/RemoveNote.properties.properties_key=
# wysiwyg
# html_editing_options are external, internal-plain, and internal-wysiwyg.
# If external option is chosen, the path for the external editor is taken from html_editing_command.
html_editing_option=internal-wysiwyg
html_editing_command=C:\\Program Files\\Microsoft Office\\Office\\FRONTPG.EXE "{0}"
html_long_node_head=
cut_out_pictures_when_pasting_html=true

# fc, 26.3.06:
#old automaticFormat_level=<?xml version\="1.0" encoding\="UTF-8"?><patterns><pattern name\="Level1"><pattern_node_color value\="#000000"/><pattern_node_font_size value\="20"/></pattern><pattern name\="Level2"><pattern_node_color value\="#0033FF"/><pattern_node_font_size value\="18"/></pattern><pattern name\="Level3"><pattern_node_color value\="#00b439"/><pattern_node_font_size value\="16"/></pattern><pattern name\="Level4"><pattern_node_color value\="#990000"/><pattern_node_font_size value\="14"/></pattern><pattern name\="Level5"><pattern_node_color value\="#111111"/><pattern_node_font_size value\="12"/></pattern></patterns>
#new with sharp bezier curves:
automaticFormat_level=<?xml version\="1.0" encoding\="UTF-8"?><patterns><pattern name\="Level1"><pattern_node_color value\="\#000000"/><pattern_node_font_size value\="20"/></pattern><pattern name\="Level2"><pattern_node_color value\="\#0033ff"/><pattern_node_font_size value\="18"/><pattern_edge_style value\="sharp_bezier"/><pattern_edge_width value\="8"/></pattern><pattern name\="Level3"><pattern_node_color value\="\#00b439"/><pattern_node_font_size value\="16"/><pattern_edge_style value\="bezier"/><pattern_edge_width value\="thin"/></pattern><pattern name\="Level4"><pattern_node_color value\="\#990000"/><pattern_node_font_size value\="14"/></pattern><pattern name\="Level5"><pattern_node_color value\="\#111111"/><pattern_node_font_size value\="12"/></pattern></patterns>
# fc, 4.9.06:
keystroke_plugins/ScriptingEngine.keystroke.evaluate=alt F8
#fc, 11.10.06
# toggle key.
keystroke_accessories/plugins/NodeNote_jumpto.keystroke.alt_N=control LESS
# fc, 12.10.06: all tooltips have the following width in pixels:
max_tooltip_width=600
#fc, 10.11.2006:
keystroke_accessories/plugins/NodeNote_hide_show.keystroke.control_shift_less=control shift LESS
# fc, 11.11.2006: don't remove this comment as it is needed for mac osx:
#freemind.base.dir=.
webFreeMindLocation=http://freemind.sourceforge.net/
webFAQLocation=http://freemind.sourceforge.net/faq.html
webDocuLocation=http://freemind.sourceforge.net/docu.html
# time management plugin:
keystroke_plugins/TimeManagement.xml_key=control T
keystroke_plugins/TimeList.xml_key=control shift F

# simplyhtml
simplyhtml.menubar=edit format table help
# toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.toolBar=undo redo - cut copy paste - findReplace

# format toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.formatToolBar=fontFamily fontSize - fontBold fontItalic fontUnderline fontColor clearFormat

# para toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.paraToolBar=paraAlignLeft paraAlignCenter paraAlignRight - toggleBullets toggleNumbers

# edit menu definition
simplyhtml.edit=undo redo - cut copy paste - findReplace - selectAll
simplyhtml.popup=undo redo - cut copy paste

# edit menu items
simplyhtml.undoImage=resources/undo.gif
simplyhtml.redoImage=resources/redo.gif
simplyhtml.cutImage=resources/cut.gif
simplyhtml.copyImage=resources/copy.gif
simplyhtml.pasteImage=resources/paste.gif
simplyhtml.findReplaceImage=resources/fr.gif

#insert menu items
simplyhtml.insertTableImage=resources/table.gif
simplyhtml.insertImageImage=resources/image.gif

# format menu definition
simplyhtml.format=font - formatPara fontBold fontItalic fontUnderline fontColor clearFormat - paraAlignLeft paraAlignCenter paraAlignRight - formatList toggleBullets toggleNumbers

# format menu items
simplyhtml.fontImage=resources/font.gif
simplyhtml.clearFormatImage=resources/clearFormat.gif
simplyhtml.fontBoldSelectedIcon=resources/bold_on.gif
simplyhtml.fontColorSelectedIcon=resources/fontColor.gif
simplyhtml.fontItalicSelectedIcon=resources/italic_on.gif
simplyhtml.fontUnderlineSelectedIcon=resources/uline_on.gif
simplyhtml.formatTableImage=resources/fmtTab.gif
simplyhtml.toggleBulletsImage=resources/ul.gif
simplyhtml.toggleNumbersImage=resources/ol.gif
simplyhtml.formatParaImage=resources/fmtPara.gif
simplyhtml.paraAlignLeftImage=resources/algnLft.gif
simplyhtml.paraAlignLeftSelectedIcon=resources/algnLft_on.gif
simplyhtml.paraAlignCenterImage=resources/algnCtr.gif
simplyhtml.paraAlignCenterSelectedIcon=resources/algnCtr_on.gif
simplyhtml.paraAlignRightImage=resources/algnRt.gif
simplyhtml.paraAlignRightSelectedIcon=resources/algnRt_on.gif

# table menu definition
simplyhtml.table=insertTable - nextTableCell prevTableCell - appendTableRow appendTableCol - insertTableRow insertTableCol - deleteTableRow deleteTableCol

# table menu items
simplyhtml.deleteTableColImage=resources/delCol.gif
simplyhtml.insertTableRowImage=resources/insRow.gif
simplyhtml.insertTableColImage=resources/insCol.gif
simplyhtml.deleteTableRowImage=resources/delRow.gif

# help menu definition
simplyhtml.help = about

# About frame
simplyhtml.appImage=resources/appImage.jpg
simplyhtml.appIcon=resources/icon_trans.gif

# Splah screen
simplyhtml.splashImage=resources/splashImage.jpg

# Miscellaneous text
simplyhtml.okBtnName=OK
simplyhtml.standardStyleName=standard

# not use shtml standard style for new documents
simplyhtml.use_std_styles=false

# fc, 2.3.07, mouse wheel speed
wheel_velocity=80
# fc, 12.5.07: keystrokes for history:
keystroke_accessories/plugins/NodeHistoryForward.keystroke.alt_FORWARD=alt RIGHT
keystroke_accessories/plugins/NodeHistoryBack.keystroke.alt_BACK=alt LEFT
#fc, 25.5.07: tabbed pane or not:
use_tabbed_pane=true


# fc, 31.7.07
delete_nodes_without_question=

# Dimitry, 30.08.07
remind_use_rich_text_in_new_long_nodes=

# fc, 3.9.07:
resources_execute_scripts_without_asking=

#fc, 11.9.07:
use_split_pane=true

#dimitry, 25.10.07
use_common_out_point_for_root_node=false
#fc, 25.5.07: tabbed pane or not:
use_tabbed_pane=true

#fc, 19.10.2007: standard is asking the user (changed, 6.12.2009)
resources_convert_to_current_version=

#fc, 12.11.07:
keystroke_accessories/plugins/ManagePatterns_manage_patterns_dialog=F11

#fc, 8.1.2008:
resources_cut_nodes_without_question=

#fc, 18.2.2008:
save_only_intrisically_needed_ids=false

#fc, 7.3.2008:
resources_execute_scripts_without_file_restriction=false
resources_execute_scripts_without_network_restriction=false
resources_execute_scripts_without_exec_restriction=false

#fc, 10.4.2008:
resources_don_t_show_note_icons=false
resources_remove_notes_without_question=
resources_save_folding_state=true

# fc, 18.4.2008: Empty means, that the freemind default key is used.
resources_script_user_key_name_for_signing=
resources_signed_script_are_trusted=true

# fc, 28.4.2008: used and displayed icons as a list with divider ';':
icons.list=idea;help;yes;messagebox_warning;stop-sign;closed;info;button_ok;button_cancel;full-1;full-2;full-3;full-4;full-5;full-6;full-7;full-8;full-9;full-0;stop;prepare;go;back;forward;up;down;attach;ksmiletris;smiley-neutral;smiley-oh;smiley-angry;smily_bad;clanbomber;desktop_new;gohome;folder;korn;Mail;kmail;list;edit;kaddressbook;knotify;password;pencil;wizard;xmag;bell;bookmark;penguin;licq;freemind_butterfly;broken-line;calendar;clock;hourglass;launch;flag-black;flag-blue;flag-green;flag-orange;flag-pink;flag;flag-yellow;family;female1;female2;male1;male2;fema;group
# not added: encrypted;decrypted;redo;

# fc, 23.3.2009: Here, the default node font is taken as the default note's font, too.
# possible values: true or false (or anything else, that is interpreted as "false", too).
# This property waits for being integrated into the OptionPanel after the 0.9.0 release.
resources_use_default_font_for_notes_too=true
# fc, 23.3.2009: Here, a margin-top:0; is added to the style of each note causing 
# a line spacing of zero above each paragraph.
# possible values: true or false (or anything else, that is interpreted as "false", too).
# This property waits for being integrated into the OptionPanel after the 0.9.0 release.
resources_use_margin_top_zero_for_notes=true

# when no other source is present, FreeMind opens with a blank map. This can be switched off
# here, and is in fact switched off for mac in MacChanges.
load_new_map_when_no_other_is_specified=true

# freemind tries to place dialogs on the screen. if you have multiple screens, you probalby want to switch off this feature:
place_dialogs_on_first_screen=true

# freemind tries to use a correct scaled font for the long node editors.
experimental_font_sizing_for_long_node_editors=true

# Bendie, 27.7.2008:
show_scrollbars=true

# Bendie, 08.08.08:
keystroke_moveToSelected = control alt C
standardalwayscenterselected = false

# Bendie, 16.8.2008
keystroke_show_hide_menubar = control M
keystroke_show_hide_statusbar = control alt S

# Bendie, 3.9.2008
keystroke_toggle_fullscreen = control alt F
keystroke_toggle_alwayscenterselected = alt shift C
2
#The initial mode that is loaded on startup
initial_mode = MindMap
3
#This is the place where the users properties file is located. It is ignored by the applet (set Parameters in the html
#file instead). You can write "~" to indicate the users home directory.
#Of course this works only in the default "freemind.properties", which is included in the jar file, not for the users
#freemind.props out of the jar file.
4
properties_folder = .freemind
userproperties = user.properties
autoproperties = auto.properties
patternsfile = patterns.xml
5
#The default new node style. "fork", "bubble" "as_parent" and "combined" are supported
6
# standardnodestyle = fork
# standardnodestyle = bubble
standardnodestyle = as_parent

#The root node style if no other is specified. "fork" and "bubble" and "combined" are supported

standardrootnodestyle = fork

#The standard background color in html notation
standardbackgroundcolor = #ffffff

#Use white as background for printing
printonwhitebackground = true
7
#The standard node color. In html notation (#RRGGBB in hex values)
standardnodetextcolor = #000000
8
#The standard node color if selected. In html notation (#RRGGBB in hex values)
standardselectednodecolor = #d2d2d2

#The selected nodes backgrounds and text colors are changed if true
standarddrawrectangleforselection = false

#The standard node text color if selected. In html notation (#RRGGBB in hex values)
standardselectednoderectanglecolor = #002080

#The default node font. This will only work if the font (TrueTypeFont) is available on the system
defaultfont = SansSerif
defaultfontstyle = 0
defaultfontsize = 12
9
#The default maximal node width in pixels
max_node_width = 600
10
#The standard edge color in html notation
standardedgecolor = #808080
# old: #2540b4
11
#The standard edge style. "linear" and "bezier" are supported
standardedgestyle = bezier
12
#The standard cloud color in html notation
standardcloudcolor = #f0f0f0
13
#The standard cloud style. currently, only "bezier" is supported
standardcloudestyle = bezier
14
#The standard link color in html notation
standardlinkcolor = #b0b0b0
15
#The standard link style. currently, only "bezier" is supported
standardlinkestyle = bezier
16
#The Look&Feel to use. "metal","windows","motif", "gtk" are supported, "mac" is available only on MacOS
# default means, that the default look and feel is used.
# If you want to put your own L&F, please, enter the class name here and
# assure that the corresponding jar file(s) are loaded.
# If there are problems with the look and feel, then choose "nothing" here.
#It work for applets
lookandfeel = default
17
#The initial size of every map
mapxsize = 1000
mapysize = 3200
18
#Where to place new branches. Valid values are "first" and "last"
placenewbranches = last
19
#Set Links either relative or absolute
links = relative
20
#The URL of the documentation mindmap (.mm)
docmapurl = ./doc/freemind.mm
docmapurl_since_version_0_7_0 = ./doc/freemind.mm
21
#This is a hash that maps endings of files to programs which should be used to open them.
#It is only used by the application,not by the applet.
#Special keywords: "default" instead of file and "execute" instead of program
#Examples: Unix: "default:netscape,sh:bash,txt:emacs,mp3:freeamp,jpg:xv"
#Windows: "default:explorer,exe:execute,com:execute,bat:execute,mp3:winamp,doc:word"
#filetypes = default:netscape
#     filetypes is obsolete
preferred_browsers = explorer;konqueror;netscape  # Not yet implemented !!!
last_opened_list_length = 25
loadLastMap=true
22
# {{{ Edit Long node
# above / below
el__buttons_position = above
el__position_window_below_node = true
el__min_default_window_height = 150
el__max_default_window_height = 500
el__min_default_window_width = 600
el__max_default_window_width = 600
el__enter_confirms_by_default = true
el__show_icon_for_attributes = true
# }}}
23
# {{{ Keystrokes
#
# These are the accelerators for the menu items. Valid modifiers are:
# shift | control | alt | meta | button1 | button2 | button3
# Valid keys should be all that are defined in java.awt.event.KeyEvent
# (without the "VK_" prefix), but I found this buggy. All normal char's should work.
# The ideas employed in choice of keyboard shortcuts are:
#   If there is a standard for a feature, use it
#   Use control modifier whereever possible
#Commands for the program
keystroke_newMap = control N
keystroke_open = control O
keystroke_save = control S
keystroke_saveAs = control shift S
keystroke_print = control P
keystroke_close = control W
keystroke_quit = control Q
keystroke_export_to_html = control E
keystroke_export_branch_to_html = control H
keystroke_open_first_in_history = control shift W
keystroke_previousMap = alt shift LEFT
keystroke_nextMap = alt shift RIGHT
keystroke_option_dialog = control COMMA
keystroke_mode_MindMap = alt 1
keystroke_mode_Browse = alt 2
keystroke_mode_File = alt 3
keystroke_node_toggle_italic = control I
keystroke_node_toggle_boldface = control B
keystroke_node_toggle_underlined = control U
keystroke_node_toggle_cloud = control shift B
keystroke_undo = control Z
keystroke_redo = control Y
keystroke_delete_child = DELETE
keystroke_select_all = control A
keystroke_select_branch = control shift A

#Node editing commands
keystroke_cut = control X
keystroke_copy = control C
keystroke_copy_single = control shift C
keystroke_paste = control V
keystroke_remove = none
keystroke_add_arrow_link_action=control L
keystroke_add_local_link_action=alt L
24
# Unline with control X, the node you remove with action remove cannot be
# pasted again. Therefore, we do not provide any quick shortcut. We suggest
# that you use cut instead of remove.
#Node navigation commands
keystroke_moveToRoot = ESCAPE
keystroke_move_up = E
keystroke_move_down = D
keystroke_move_left = S
keystroke_move_right = F
keystroke_follow_link = control ENTER
25
#New node commands
keystroke_add = ENTER
keystroke_add_child = INSERT
# on mac, there is no INSERT key, so use TAB instead.
keystroke_add_child_mac = TAB
keystroke_add_sibling_before = shift ENTER
26
#Node editing commands
keystroke_edit = F2
keystroke_edit_long_node = alt ENTER
keystroke_edit_attributes = alt F9
keystroke_show_all_attributes=
keystroke_show_selected_attributes=
keystroke_hide_all_attributes=
keystroke_show_attribute_manager=
keystroke_assign_attributes=
keystroke_join_nodes = control J
keystroke_use_rich_formatting = alt R
keystroke_use_plain_text = alt P
keystroke_toggle_folded = SPACE
keystroke_toggle_children_folded = control SPACE
keystroke_set_link_by_filechooser = control shift K
keystroke_set_link_by_textfield = control K
keystroke_set_image_by_filechooser = alt K
keystroke_node_up = control UP
keystroke_node_down = control DOWN
keystroke_node_increase_font_size = ? control EQUALS
keystroke_node_decrease_font_size = ? control MINUS
keystroke_branch_increase_font_size = ? control shift EQUALS
keystroke_branch_decrease_font_size = ? control shift MINUS
keystroke_export_branch = alt shift A
27
#
keystroke_node_color = alt shift F
keystroke_node_color_blend = alt shift B
keystroke_edge_color = alt shift E
keystroke_find = control F
keystroke_find_next = control G
28
# Apply patterns
# There is no limiting number of the pattern, you can have as many
# keystrokes for patterns as you want.
# The reason I do not follow to F10 and further in this default is that
# F10 has special function on Windows.
keystroke_apply_pattern_1  = F1
keystroke_apply_pattern_2  = control shift N
keystroke_apply_pattern_3  = F3
keystroke_apply_pattern_4  = F4
keystroke_apply_pattern_5  = F5
keystroke_apply_pattern_6  = F6
keystroke_apply_pattern_7  = F7
keystroke_apply_pattern_8  = F8
keystroke_apply_pattern_9  = F9
keystroke_apply_pattern_10 = control F1
keystroke_apply_pattern_11 = control F2
keystroke_apply_pattern_12 = control F3
keystroke_apply_pattern_13 = control F4
keystroke_apply_pattern_14 = control F5
keystroke_apply_pattern_15 = control F6
keystroke_apply_pattern_16 = control F7
keystroke_apply_pattern_17 = control F8
keystroke_apply_pattern_18 = control F9
keystroke_zoom_out = alt DOWN
keystroke_zoom_in = alt UP
#
# }}}
29
# Icons in Select Icon...
keystroke_remove_all_icons=DELETE
keystroke_remove_last_icon=BACK_SPACE
keystroke_icon_attach=\:
keystroke_icon_back=<
keystroke_icon_button_cancel=-
keystroke_icon_button_ok=+
keystroke_icon_forward=>
keystroke_icon_full-1=1
keystroke_icon_full-2=2
keystroke_icon_full-3=3
keystroke_icon_full-4=4
keystroke_icon_full-5=5
keystroke_icon_full-6=6
keystroke_icon_full-7=7
keystroke_icon_full-8=8
keystroke_icon_full-9=9
keystroke_icon_full-0=0
keystroke_icon_help=?
keystroke_icon_idea=*
keystroke_icon_ksmiletris=)
keystroke_icon_messagebox_warning=\!
keystroke_icon_smily_bad=(
30
#Don't display "move" cursor during paper dragging
disable_cursor_move_paper = false
31
#Key typing: if enabled enters node editing
disable_key_type = false
32
#Key typing: overwrites content (false) / creates new sibling (true)
#   (requires: disable_key_type = false)
key_type_adds_new = false
33
#Enable leaves folding
#  == changing bubble/fork for fold action
#  (although if false, you can always use node style to change it)
enable_leaves_folding = false
34
# Tell if HTML exported from FreeMind should contain icons.
# The trouble with icons is that quite often the links to
# icons will not be found in the exported HTML.
export_icons_in_html = false
#
# The Browse Mode
#
#The URL of the map that is loaded when browsemode starts up
browsemode_initial_map = ./doc/freemind.mm
#
# The default browser setting
#
# For Windows (the \"\" signs are necessary due to links, that have "=" in their URL).
# default_browser_command_windows_nt = explorer "{0}"
#
# # For "Windows NT":
# default_browser_command_windows_nt = C:\Program Files\Internet Explorer\iexplore.exe "{0}"
#
# The next setting works for the default browser, but eventually starts programs without questions, so be careful!
#
# default_browser_command_windows_nt = rundll32 url.dll,FileProtocolHandler {0}
default_browser_command_windows_nt = cmd.exe /c start "" "{0}"
default_browser_command_windows_9x = command.com /c start "{0}"
35
# Dimitri proposed:
# default_browser_command_windows_9x = explorer "{0}"
#
# Here the default browser for other operating systems goes:
#
# other is typically Linux:
default_browser_command_other_os = xdg-open {0}
#
# and MAC: (thanks to Nick!)
#default_browser_command_mac = open -a /Applications/Safari.app {0}
# due to https://sourceforge.net/tracker/?func=detail&atid=357118&aid=1940334&group_id=7118
default_browser_command_mac = open {0}
#
# Selection time delay of nodes when mouse is over (in msec)
#
# Change this value to 1 if you want direct selection on mouse over.
#
time_for_delayed_selection=60
#
# with the following switch you can enable/disable the delayed selection scheme
#
# Auto options. Do not modify these as they will be saved to auto.properties anyway.
selection_method = selection_method_delayed
# time between two consecutive automatic saving actions (in msec):
# ==============================================================
# To disable automatic saving set this number to 2000000000.
time_for_automatic_save=60000
#
# If the files should be deleted automatically on a normal shutdown of Freemind set the following variable to true
delete_automatic_saves_at_exit=true
#
# number n of different files to store the maps into.
# The first automatic save is done in the first file, and so on
# up to the n+1-save which is again stored in the first file (cyclic)
number_of_different_files_for_automatic_save=10
#
# to change the default path (this is "java.io.tmpdir" of java), enter a directory path here:
# other possibilities:
# * freemind_home   stands for the directory, where the auto.properties are.
# * default         points to java.io.tmpdir
path_to_automatic_saves=freemind_home
36
# Dimitri, 01.09.04
# width of the folding marking circle
foldingsymbolwidth = 6
37
# Fc, 10.7.2005.
# Levels of undo
undo_levels=100
38
# fc, 21.2.06: key board shortcuts for move up/down
keystroke_accessories/plugins/ChangeNodeLevelAction_left.properties_key=control LEFT
keystroke_accessories/plugins/ChangeNodeLevelAction_right.properties_key=control RIGHT
keystroke_accessories/plugins/FormatCopy.properties.properties_key=alt C
keystroke_accessories/plugins/FormatPaste.properties.properties_key=alt V
keystroke_accessories/plugins/IconSelectionPlugin.properties.properties_key=alt I
keystroke_accessories/plugins/NewParentNode.properties_key=shift INSERT
# keystroke_accessories/plugins/NodeNote.properties_key=alt N
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_PAGE_UP=alt PAGE_UP
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_PAGE_DOWN=alt PAGE_DOWN
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_HOME=alt HOME
keystroke_accessories/plugins/UnfoldAll.keystroke.alt_END=alt END
keystroke_accessories/plugins/SplitNode.properties_key=
#dimitry 25.10
keystroke_accessories/plugins/RemoveNote.properties.properties_key=
# wysiwyg
39
# html_editing_options are external, internal-plain, and internal-wysiwyg.
# If external option is chosen, the path for the external editor is taken from html_editing_command.
40
html_editing_option=internal-wysiwyg
41
html_editing_command=C:\\Program Files\\Microsoft Office\\Office\\FRONTPG.EXE "{0}"
42
html_long_node_head=
43
cut_out_pictures_when_pasting_html=true
44
45
# fc, 26.3.06:
46
#old automaticFormat_level=<?xml version\="1.0" encoding\="UTF-8"?><patterns><pattern name\="Level1"><pattern_node_color value\="#000000"/><pattern_node_font_size value\="20"/></pattern><pattern name\="Level2"><pattern_node_color value\="#0033FF"/><pattern_node_font_size value\="18"/></pattern><pattern name\="Level3"><pattern_node_color value\="#00b439"/><pattern_node_font_size value\="16"/></pattern><pattern name\="Level4"><pattern_node_color value\="#990000"/><pattern_node_font_size value\="14"/></pattern><pattern name\="Level5"><pattern_node_color value\="#111111"/><pattern_node_font_size value\="12"/></pattern></patterns>
#new with sharp bezier curves:
automaticFormat_level=<?xml version\="1.0" encoding\="UTF-8"?><patterns><pattern name\="Level1"><pattern_node_color value\="\#000000"/><pattern_node_font_size value\="20"/></pattern><pattern name\="Level2"><pattern_node_color value\="\#0033ff"/><pattern_node_font_size value\="18"/><pattern_edge_style value\="sharp_bezier"/><pattern_edge_width value\="8"/></pattern><pattern name\="Level3"><pattern_node_color value\="\#00b439"/><pattern_node_font_size value\="16"/><pattern_edge_style value\="bezier"/><pattern_edge_width value\="thin"/></pattern><pattern name\="Level4"><pattern_node_color value\="\#990000"/><pattern_node_font_size value\="14"/></pattern><pattern name\="Level5"><pattern_node_color value\="\#111111"/><pattern_node_font_size value\="12"/></pattern></patterns>
# fc, 4.9.06:
keystroke_plugins/ScriptingEngine.keystroke.evaluate=alt F8
#fc, 11.10.06
# toggle key.
keystroke_accessories/plugins/NodeNote_jumpto.keystroke.alt_N=control LESS
# fc, 12.10.06: all tooltips have the following width in pixels:
max_tooltip_width=600
47
#fc, 10.11.2006:
keystroke_accessories/plugins/NodeNote_hide_show.keystroke.control_shift_less=control shift LESS
48
# fc, 11.11.2006: don't remove this comment as it is needed for mac osx:
#freemind.base.dir=.
webFreeMindLocation=http://freemind.sourceforge.net/
webFAQLocation=http://freemind.sourceforge.net/faq.html
webDocuLocation=http://freemind.sourceforge.net/docu.html
49
# time management plugin:
keystroke_plugins/TimeManagement.xml_key=control T
keystroke_plugins/TimeList.xml_key=control shift F

# simplyhtml
simplyhtml.menubar=edit format table help
# toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.toolBar=undo redo - cut copy paste - findReplace

# format toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.formatToolBar=fontFamily fontSize - fontBold fontItalic fontUnderline fontColor clearFormat

# para toolbar definition
#
# each word (delimited by blanks) is a key for
# an action in the tool bar (- = separator)
simplyhtml.paraToolBar=paraAlignLeft paraAlignCenter paraAlignRight - toggleBullets toggleNumbers

# edit menu definition
simplyhtml.edit=undo redo - cut copy paste - findReplace - selectAll
simplyhtml.popup=undo redo - cut copy paste

# edit menu items
simplyhtml.undoImage=resources/undo.gif
simplyhtml.redoImage=resources/redo.gif
simplyhtml.cutImage=resources/cut.gif
simplyhtml.copyImage=resources/copy.gif
simplyhtml.pasteImage=resources/paste.gif
simplyhtml.findReplaceImage=resources/fr.gif

#insert menu items
simplyhtml.insertTableImage=resources/table.gif
simplyhtml.insertImageImage=resources/image.gif

# format menu definition
simplyhtml.format=font - formatPara fontBold fontItalic fontUnderline fontColor clearFormat - paraAlignLeft paraAlignCenter paraAlignRight - formatList toggleBullets toggleNumbers

# format menu items
simplyhtml.fontImage=resources/font.gif
simplyhtml.clearFormatImage=resources/clearFormat.gif
simplyhtml.fontBoldSelectedIcon=resources/bold_on.gif
simplyhtml.fontColorSelectedIcon=resources/fontColor.gif
simplyhtml.fontItalicSelectedIcon=resources/italic_on.gif
simplyhtml.fontUnderlineSelectedIcon=resources/uline_on.gif
simplyhtml.formatTableImage=resources/fmtTab.gif
simplyhtml.toggleBulletsImage=resources/ul.gif
simplyhtml.toggleNumbersImage=resources/ol.gif
simplyhtml.formatParaImage=resources/fmtPara.gif
simplyhtml.paraAlignLeftImage=resources/algnLft.gif
simplyhtml.paraAlignLeftSelectedIcon=resources/algnLft_on.gif
simplyhtml.paraAlignCenterImage=resources/algnCtr.gif
simplyhtml.paraAlignCenterSelectedIcon=resources/algnCtr_on.gif
simplyhtml.paraAlignRightImage=resources/algnRt.gif
simplyhtml.paraAlignRightSelectedIcon=resources/algnRt_on.gif

# table menu definition
simplyhtml.table=insertTable - nextTableCell prevTableCell - appendTableRow appendTableCol - insertTableRow insertTableCol - deleteTableRow deleteTableCol

# table menu items
simplyhtml.deleteTableColImage=resources/delCol.gif
simplyhtml.insertTableRowImage=resources/insRow.gif
simplyhtml.insertTableColImage=resources/insCol.gif
simplyhtml.deleteTableRowImage=resources/delRow.gif

# help menu definition
simplyhtml.help = about

# About frame
simplyhtml.appImage=resources/appImage.jpg
simplyhtml.appIcon=resources/icon_trans.gif

# Splah screen
simplyhtml.splashImage=resources/splashImage.jpg

# Miscellaneous text
simplyhtml.okBtnName=OK
simplyhtml.standardStyleName=standard

# not use shtml standard style for new documents
simplyhtml.use_std_styles=false

# fc, 2.3.07, mouse wheel speed
wheel_velocity=80
50
# fc, 12.5.07: keystrokes for history:
keystroke_accessories/plugins/NodeHistoryForward.keystroke.alt_FORWARD=alt RIGHT
keystroke_accessories/plugins/NodeHistoryBack.keystroke.alt_BACK=alt LEFT
51
#fc, 25.5.07: tabbed pane or not:
use_tabbed_pane=true


# fc, 31.7.07
delete_nodes_without_question=

# Dimitry, 30.08.07
remind_use_rich_text_in_new_long_nodes=

# fc, 3.9.07:
resources_execute_scripts_without_asking=

#fc, 11.9.07:
use_split_pane=true

#dimitry, 25.10.07
use_common_out_point_for_root_node=false
52
#fc, 25.5.07: tabbed pane or not:
use_tabbed_pane=true

#fc, 19.10.2007: standard is asking the user (changed, 6.12.2009)
resources_convert_to_current_version=
53
#fc, 12.11.07:
keystroke_accessories/plugins/ManagePatterns_manage_patterns_dialog=F11

#fc, 8.1.2008:
resources_cut_nodes_without_question=

#fc, 18.2.2008:
save_only_intrisically_needed_ids=false

#fc, 7.3.2008:
resources_execute_scripts_without_file_restriction=false
resources_execute_scripts_without_network_restriction=false
resources_execute_scripts_without_exec_restriction=false

#fc, 10.4.2008:
resources_don_t_show_note_icons=false
resources_remove_notes_without_question=
resources_save_folding_state=true

# fc, 18.4.2008: Empty means, that the freemind default key is used.
resources_script_user_key_name_for_signing=
resources_signed_script_are_trusted=true

# fc, 28.4.2008: used and displayed icons as a list with divider ';':
icons.list=idea;help;yes;messagebox_warning;stop-sign;closed;info;button_ok;button_cancel;full-1;full-2;full-3;full-4;full-5;full-6;full-7;full-8;full-9;full-0;stop;prepare;go;back;forward;up;down;attach;ksmiletris;smiley-neutral;smiley-oh;smiley-angry;smily_bad;clanbomber;desktop_new;gohome;folder;korn;Mail;kmail;list;edit;kaddressbook;knotify;password;pencil;wizard;xmag;bell;bookmark;penguin;licq;freemind_butterfly;broken-line;calendar;clock;hourglass;launch;flag-black;flag-blue;flag-green;flag-orange;flag-pink;flag;flag-yellow;family;female1;female2;male1;male2;fema;group
# not added: encrypted;decrypted;redo;

# fc, 23.3.2009: Here, the default node font is taken as the default note's font, too.
# possible values: true or false (or anything else, that is interpreted as "false", too).
# This property waits for being integrated into the OptionPanel after the 0.9.0 release.
resources_use_default_font_for_notes_too=true
# fc, 23.3.2009: Here, a margin-top:0; is added to the style of each note causing 
# a line spacing of zero above each paragraph.
# possible values: true or false (or anything else, that is interpreted as "false", too).
# This property waits for being integrated into the OptionPanel after the 0.9.0 release.
resources_use_margin_top_zero_for_notes=true

# when no other source is present, FreeMind opens with a blank map. This can be switched off
# here, and is in fact switched off for mac in MacChanges.
load_new_map_when_no_other_is_specified=true

# freemind tries to place dialogs on the screen. if you have multiple screens, you probalby want to switch off this feature:
place_dialogs_on_first_screen=true

# freemind tries to use a correct scaled font for the long node editors.
experimental_font_sizing_for_long_node_editors=true
(-)freemind/Resources_en.properties (+18 lines)
Lines 1403-1409 Link Here
1403
OptionPanel.id=Id
1403
OptionPanel.id=Id
1404
OptionPanel.uk_UA=Uk UA
1404
OptionPanel.uk_UA=Uk UA
1405
OptionPanel.vi=Vi
1405
OptionPanel.vi=Vi
1406
 
1407
# new, Bendie, 27.7.2008: 
1408
toggle_statusbar = Statusbar
1409
toggle_fullscreen = Fullscreen
1410
OptionPanel.show_scrollbars=Show Scrollbars
1411
OptionPanel.show_scrollbars.tooltip=Deselect to hide scrollbars
1406
1412
1413
# new, Bendie, 8.8.2008
1414
move_to_selected=Center selected node
1415
OptionPanel.keystroke_moveToSelected=Center selected node
1416
always_center_selected=Always center selected node
1417
1418
# new, Bendie, 16.8.2008
1419
OptionPanel.keystroke_show_hide_menubar=Show/hide menu bar
1420
OptionPanel.keystroke_show_hide_statusbar=Show/hide status bar
1407
# new, fc, 22.7.2008
1421
# new, fc, 22.7.2008
1408
select_icon=Select an Icon
1422
select_icon=Select an Icon
1409
mode_MindMap=MindMap Mode
1423
mode_MindMap=MindMap Mode
Lines 1415-1420 Link Here
1415
1429
1416
# new, fc, 25.8.2008
1430
# new, fc, 25.8.2008
1417
OptionPanel.defaultfontsize.tooltip=Default Font Size for new nodes.
1431
OptionPanel.defaultfontsize.tooltip=Default Font Size for new nodes.
1432
 
1433
# new, Bendie, 3.9.2008
1434
OptionPanel.keystroke_toggle_fullscreen=Toggle Fullscreen
1435
OptionPanel.keystroke_toggle_alwayscenterselected=Toggle always center selected node
1418
1436
1419
# new, fc, 20.12.2008
1437
# new, fc, 20.12.2008
1420
OptionPanel.ro=Ro
1438
OptionPanel.ro=Ro

Return to bug 365179