Changeset 22 in josm for src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2005-10-23T22:13:33+02:00 (20 years ago)
- File:
-
- 1 edited
-
src/org/openstreetmap/josm/Main.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/Main.java
r21 r22 4 4 import java.awt.BorderLayout; 5 5 import java.awt.Container; 6 import java.util.Collection; 7 import java.util.LinkedList; 6 8 7 9 import javax.swing.JFrame; … … 20 22 import org.openstreetmap.josm.actions.PreferencesAction; 21 23 import org.openstreetmap.josm.actions.SaveGpxAction; 24 import org.openstreetmap.josm.command.Command; 25 import org.openstreetmap.josm.command.DataSet; 22 26 import org.openstreetmap.josm.data.Preferences; 23 27 import org.openstreetmap.josm.data.Preferences.PreferencesException; … … 26 30 27 31 /** 28 * Main window class consisting of the mainframe MDIapplication.32 * Main window class application. 29 33 * 30 34 * @author imi … … 41 45 */ 42 46 public final static Preferences pref = new Preferences(); 47 48 /** 49 * The global command queue since last save. So if you reload the data from disk 50 * (or from OSM server, if nothing changed on server) and reapply the commands, 51 * you should get the same result as currently displaying. 52 */ 53 public Collection<Command> commands = new LinkedList<Command>(); 54 55 /** 56 * The global dataset. 57 */ 58 public DataSet ds = new DataSet(); 43 59 44 60 /** … … 105 121 // creating toolbar 106 122 JToolBar toolBar = new JToolBar(); 107 toolBar.setFloatable( false);123 toolBar.setFloatable(true); 108 124 toolBar.add(openServerAction); 109 125 toolBar.add(openGpxAction);
Note:
See TracChangeset
for help on using the changeset viewer.
