Changeset 22048 in osm for applications/editors


Ignore:
Timestamp:
2010-06-27T23:16:34+02:00 (15 years ago)
Author:
bastik
Message:

update to josm latest

Location:
applications/editors/josm/plugins/public_transport/src/public_transport
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java

    r20815 r22048  
    99import java.util.Vector;
    1010import javax.swing.DefaultListModel;
    11 import javax.swing.tree.DefaultMutableTreeNode;
    12 import javax.swing.tree.MutableTreeNode;
     11import javax.swing.JLabel;
    1312
    1413public class SettingsStoptypeCommand extends Command
     
    8584  }
    8685 
    87   public MutableTreeNode description()
     86  @Override public JLabel getDescription()
    8887  {
    89     return new DefaultMutableTreeNode("public_transport.Settings.ChangeStoptype");
     88    return new JLabel("public_transport.Settings.ChangeStoptype");
    9089  }
    9190 
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistAddCommand.java

    r20815 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class TrackStoplistAddCommand extends Command
     
    4241  }
    4342 
    44   public MutableTreeNode description()
     43  @Override public JLabel getDescription()
    4544  {
    46     return new DefaultMutableTreeNode("public_transport.TrackStoplist.Add");
     45    return new JLabel("public_transport.TrackStoplist.Add");
    4746  }
    4847};
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDeleteCommand.java

    r20839 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class TrackStoplistDeleteCommand extends Command
     
    9594  }
    9695 
    97   public MutableTreeNode description()
     96  @Override public JLabel getDescription()
    9897  {
    99     return new DefaultMutableTreeNode("public_transport.TrackStoplist.Delete");
     98    return new JLabel("public_transport.TrackStoplist.Delete");
    10099  }
    101100};
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDetachCommand.java

    r20815 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class TrackStoplistDetachCommand extends Command
     
    7473  }
    7574 
    76   public MutableTreeNode description()
     75  @Override public JLabel getDescription()
    7776  {
    78     return new DefaultMutableTreeNode("public_transport.TrackStoplist.Detach");
     77    return new JLabel("public_transport.TrackStoplist.Detach");
    7978  }
    8079};
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistNameCommand.java

    r20867 r22048  
    99import java.util.Collection;
    1010import java.util.Vector;
    11 import javax.swing.tree.DefaultMutableTreeNode;
    12 import javax.swing.tree.MutableTreeNode;
     11import javax.swing.JLabel;
    1312
    1413public class TrackStoplistNameCommand extends Command
     
    102101  }
    103102 
    104   public MutableTreeNode description()
     103  @Override public JLabel getDescription()
    105104  {
    106     return new DefaultMutableTreeNode("public_transport.TrackStoplist.Edit");
     105    return new JLabel("public_transport.TrackStoplist.Edit");
    107106  }
    108107};
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistRelocateCommand.java

    r20834 r22048  
    1111import java.util.Vector;
    1212import javax.swing.DefaultListModel;
    13 import javax.swing.tree.DefaultMutableTreeNode;
    14 import javax.swing.tree.MutableTreeNode;
     13import javax.swing.JLabel;
    1514
    1615public class TrackStoplistRelocateCommand extends Command
     
    8786  }
    8887 
    89   public MutableTreeNode description()
     88  @Override public JLabel getDescription()
    9089  {
    91     return new DefaultMutableTreeNode("public_transport.TrackStoplist.RelocateNodes");
     90    return new JLabel("public_transport.TrackStoplist.RelocateNodes");
    9291  }
    9392};
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistSortCommand.java

    r20839 r22048  
    1111import java.util.Vector;
    1212import javax.swing.DefaultListModel;
    13 import javax.swing.tree.DefaultMutableTreeNode;
    14 import javax.swing.tree.MutableTreeNode;
     13import javax.swing.JLabel;
    1514
    1615public class TrackStoplistSortCommand extends Command
     
    9291  }
    9392 
    94   public MutableTreeNode description()
     93  @Override public JLabel getDescription()
    9594  {
    96     return new DefaultMutableTreeNode("public_transport.TrackStoplist.Sort");
     95    return new JLabel("public_transport.TrackStoplist.Sort");
    9796  }
    9897 
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java

    r20872 r22048  
    66import java.util.Vector;
    77import javax.swing.DefaultListModel;
    8 import javax.swing.tree.DefaultMutableTreeNode;
    9 import javax.swing.tree.MutableTreeNode;
     8import javax.swing.JLabel;
    109
    1110import org.openstreetmap.josm.Main;
     
    201200  }
    202201 
    203   public MutableTreeNode description()
    204   {
    205     return new DefaultMutableTreeNode("public_transport.TrackStoplist.SuggestStops");
     202  @Override public JLabel getDescription()
     203  {
     204    return new JLabel("public_transport.TrackStoplist.SuggestStops");
    206205  }
    207206 
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDetachCommand.java

    r20772 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class WaypointsDetachCommand extends Command
     
    7473  }
    7574 
    76   public MutableTreeNode description()
     75  @Override public JLabel getDescription()
    7776  {
    78     return new DefaultMutableTreeNode("public_transport.Waypoints.Detach");
     77    return new JLabel("public_transport.Waypoints.Detach");
    7978  }
    8079};
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDisableCommand.java

    r20772 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class WaypointsDisableCommand extends Command
     
    8281  }
    8382 
    84   public MutableTreeNode description()
     83  @Override public JLabel getDescription()
    8584  {
    86     return new DefaultMutableTreeNode("public_transport.Waypoints.Disable");
     85    return new JLabel("public_transport.Waypoints.Disable");
    8786  }
    8887};
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsEnableCommand.java

    r20835 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class WaypointsEnableCommand extends Command
     
    8180  }
    8281 
    83   public MutableTreeNode description()
     82  @Override public JLabel getDescription()
    8483  {
    85     return new DefaultMutableTreeNode("public_transport.Waypoints.Enable");
     84    return new JLabel("public_transport.Waypoints.Enable");
    8685  }
    8786};
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsNameCommand.java

    r20867 r22048  
    88import java.util.Collection;
    99import java.util.Vector;
    10 import javax.swing.tree.DefaultMutableTreeNode;
    11 import javax.swing.tree.MutableTreeNode;
     10import javax.swing.JLabel;
    1211
    1312public class WaypointsNameCommand extends Command
     
    8180  }
    8281 
    83   public MutableTreeNode description()
     82  @Override public JLabel getDescription()
    8483  {
    85     return new DefaultMutableTreeNode("public_transport.Waypoints.EditName");
     84    return new JLabel("public_transport.Waypoints.EditName");
    8685  }
    8786};
Note: See TracChangeset for help on using the changeset viewer.