Changeset 29896 in osm for applications/editors/josm/plugins
- Timestamp:
- 2013-08-31T17:11:07+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/smed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/build.xml
r29887 r29896 77 77 <copy todir="${plugin.build.dir}/images"> 78 78 <fileset dir="images"/> 79 </copy> 80 <copy todir="${plugin.build.dir}/msg"> 81 <fileset dir="${plugin.src.dir}/messages/msg"/> 79 82 </copy> 80 83 <copy todir="${plugin.build.dir}/data"> -
applications/editors/josm/plugins/smed/src/messages/Messages.java
r29893 r29896 5 5 6 6 public class Messages { 7 private static final String BUNDLE_NAME = " smed.msg.messages";7 private static final String BUNDLE_NAME = "msg.messages"; 8 8 9 9 private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); -
applications/editors/josm/plugins/smed/src/panels/PanelMain.java
r29894 r29896 255 255 moreButton.addActionListener(alMore); 256 256 257 messageBar = new JTextField(); 258 messageBar.setBounds(10, 355, 380, 20); 259 messageBar.setEditable(false); 260 messageBar.setBackground(Color.WHITE); 261 add(messageBar); 257 262 } 258 263 -
applications/editors/josm/plugins/smed/src/smed/SmedAction.java
r29895 r29896 13 13 import java.awt.event.*; 14 14 import java.util.*; 15 import java.util.Map.Entry;16 15 17 16 import javax.swing.*; … … 19 18 import static org.openstreetmap.josm.tools.I18n.tr; 20 19 import org.openstreetmap.josm.actions.JosmAction; 21 import org.openstreetmap.josm.gui.MapView;22 import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener;23 import org.openstreetmap.josm.gui.layer.*;24 20 import org.openstreetmap.josm.data.SelectionChangedListener; 25 import org.openstreetmap.josm.data.imagery.ImageryInfo;26 21 import org.openstreetmap.josm.data.osm.*; 27 import org.openstreetmap.josm.data.osm.event.*;28 import org.openstreetmap.josm.Main;29 import org.openstreetmap.josm.data.*;30 22 31 23 import messages.Messages; … … 70 62 } 71 63 }); 72 editFrame.setSize(new Dimension(4 80, 480));64 editFrame.setSize(new Dimension(400, 400)); 73 65 editFrame.setLocation(100, 200); 74 66 editFrame.setResizable(true); 75 67 editFrame.setAlwaysOnTop(true); 76 editFrame.setVisible( false);68 editFrame.setVisible(true); 77 69 panelMain = new PanelMain(this); 70 panelMain.setLayout(null); 71 panelMain.setSize(new Dimension(400, 400)); 72 node = null; 73 panelMain.syncPanel(); 78 74 editFrame.add(panelMain); 79 editFrame.add(panelMain); 80 75 DataSet.addSelectionListener(this); 81 76 82 77 // System.out.println("hello");
Note:
See TracChangeset
for help on using the changeset viewer.