Changeset 29896 in osm


Ignore:
Timestamp:
2013-08-31T17:11:07+02:00 (11 years ago)
Author:
malcolmh
Message:

save

Location:
applications/editors/josm/plugins/smed
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/build.xml

    r29887 r29896  
    7777        <copy todir="${plugin.build.dir}/images">
    7878            <fileset dir="images"/>
     79        </copy>
     80        <copy todir="${plugin.build.dir}/msg">
     81            <fileset dir="${plugin.src.dir}/messages/msg"/>
    7982        </copy>
    8083        <copy todir="${plugin.build.dir}/data">
  • applications/editors/josm/plugins/smed/src/messages/Messages.java

    r29893 r29896  
    55
    66public class Messages {
    7         private static final String BUNDLE_NAME = "smed.msg.messages";
     7        private static final String BUNDLE_NAME = "msg.messages";
    88
    99        private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
  • applications/editors/josm/plugins/smed/src/panels/PanelMain.java

    r29894 r29896  
    255255                moreButton.addActionListener(alMore);
    256256
     257            messageBar = new JTextField();
     258            messageBar.setBounds(10, 355, 380, 20);
     259            messageBar.setEditable(false);
     260            messageBar.setBackground(Color.WHITE);
     261            add(messageBar);
    257262        }
    258263
  • applications/editors/josm/plugins/smed/src/smed/SmedAction.java

    r29895 r29896  
    1313import java.awt.event.*;
    1414import java.util.*;
    15 import java.util.Map.Entry;
    1615
    1716import javax.swing.*;
     
    1918import static org.openstreetmap.josm.tools.I18n.tr;
    2019import 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.*;
    2420import org.openstreetmap.josm.data.SelectionChangedListener;
    25 import org.openstreetmap.josm.data.imagery.ImageryInfo;
    2621import 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.*;
    3022
    3123import messages.Messages;
     
    7062                        }
    7163                });
    72                 editFrame.setSize(new Dimension(480, 480));
     64                editFrame.setSize(new Dimension(400, 400));
    7365                editFrame.setLocation(100, 200);
    7466                editFrame.setResizable(true);
    7567                editFrame.setAlwaysOnTop(true);
    76                 editFrame.setVisible(false);
     68                editFrame.setVisible(true);
    7769                panelMain = new PanelMain(this);
     70                panelMain.setLayout(null);
     71                panelMain.setSize(new Dimension(400, 400));
     72                node = null;
     73                panelMain.syncPanel();
    7874                editFrame.add(panelMain);
    79                 editFrame.add(panelMain);
    80 
     75                DataSet.addSelectionListener(this);
    8176
    8277                // System.out.println("hello");
Note: See TracChangeset for help on using the changeset viewer.