Changeset 6070 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2013-07-17T00:01:49+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r5957 r6070 112 112 return true; 113 113 } 114 114 115 115 /** 116 116 * Global parent component for all dialogs and message boxes 117 117 */ 118 118 public static Component parent; 119 119 120 120 /** 121 121 * Global application. 122 122 */ 123 123 public static Main main; 124 124 125 125 /** 126 126 * Command-line arguments used to run the application. 127 127 */ 128 128 public static String[] commandLineArgs; 129 129 130 130 /** 131 131 * The worker thread slave. This is for executing all long and intensive … … 134 134 */ 135 135 public final static ExecutorService worker = new ProgressMonitorExecutor(); 136 136 137 137 /** 138 138 * Global application preferences … … 144 144 */ 145 145 public static final PrimitiveDeepCopy pasteBuffer = new PrimitiveDeepCopy(); 146 146 147 147 /** 148 148 * The layer source from which {@link Main#pasteBuffer} data comes from. … … 154 154 */ 155 155 public static MapFrame map; 156 156 157 157 /** 158 158 * Set to <code>true</code>, when in applet mode … … 543 543 contentPanePrivate.getActionMap().remove(action); 544 544 } 545 545 546 546 /** 547 547 * Replies the registered action for the given shortcut … … 565 565 566 566 /** 567 * Global panel. 567 * Global panel. 568 568 */ 569 569 public static final JPanel panel = new JPanel(new BorderLayout()); … … 704 704 /** 705 705 * Asks user to perform "save layer" operations (save .osm on disk and/or upload osm data to server) before osm layers deletion. 706 * 706 * 707 707 * @param selectedLayers The layers to check. Only instances of {@link OsmDataLayer} are considered. 708 708 * @param exit {@code true} if JOSM is exiting, {@code false} otherwise. … … 897 897 } 898 898 } 899 899 900 900 protected static void addListener() { 901 901 parent.addComponentListener(new WindowPositionSizeListener()); … … 1046 1046 /** 1047 1047 * Listener for window switch events. 1048 * 1048 * 1049 1049 * These are events, when the user activates a window of another application 1050 1050 * or comes back to JOSM. Window switches from one JOSM window to another
Note:
See TracChangeset
for help on using the changeset viewer.