Ignore:
Timestamp:
2009-01-01T18:28:53+01:00 (16 years ago)
Author:
stoecker
Message:

removed tab stop usage

Location:
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java

    r12707 r12778  
    4949                if (bounds.size() > 0) {
    5050                    Way way = (Way) prim;
    51                     // We check if each node of each way is at least in one download 
     51                    // We check if each node of each way is at least in one download
    5252                    // bounding box. Otherwise nodes may get deleted that are necessary by
    5353                    // unloaded ways (see Ticket #1594)
     
    8383            return;
    8484        } else if (ways > 10) {
    85                 //TRANSLATION: Although for English the use of trn is needless it is important for other languages
     85            //TRANSLATION: Although for English the use of trn is needless it is important for other languages
    8686            int option = JOptionPane.showConfirmDialog(Main.parent, trn(
    8787                    "The selection contains {0} way. Are you sure you want to simplify it?",
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java

    r12579 r12778  
    2222
    2323public class UtilsPlugin extends Plugin {
    24         JMenuItem SimplifyWay;
     24    JMenuItem SimplifyWay;
    2525
    26         public UtilsPlugin() {
    27                 SimplifyWay = MainMenu.add(Main.main.menu.toolsMenu, new SimplifyWayAction());
    28                 SimplifyWay.setEnabled(false);
    29         }
    30        
    31         @Override
    32         public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    33                 if (oldFrame == null && newFrame != null) {
    34                         SimplifyWay.setEnabled(true);
    35                 }
    36         }
     26    public UtilsPlugin() {
     27        SimplifyWay = MainMenu.add(Main.main.menu.toolsMenu, new SimplifyWayAction());
     28        SimplifyWay.setEnabled(false);
     29    }
     30
     31    @Override
     32    public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
     33        if (oldFrame == null && newFrame != null) {
     34            SimplifyWay.setEnabled(true);
     35        }
     36    }
    3737}
Note: See TracChangeset for help on using the changeset viewer.