Changeset 11925 in osm for applications/editors


Ignore:
Timestamp:
2008-11-14T12:11:30+01:00 (16 years ago)
Author:
stoecker
Message:

removed other obsolete stuff

Location:
applications/editors/josm/plugins/lakewalker
Files:
1 deleted
2 edited

Legend:

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

    r11924 r11925  
    7474  <target name="install" depends="dist">
    7575    <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    76     <copy todir="${josm.plugins.dir}/Lakewalker">
    77       <fileset dir="Lakewalker">
    78                 <filename name = "*.py"/>
    79       </fileset>
    80     </copy>
    8176        <mkdir dir="${josm.plugins.dir}/Lakewalker/IR1"></mkdir>
    8277        <mkdir dir="${josm.plugins.dir}/Lakewalker/IR2"></mkdir>
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPreferences.java

    r10920 r11925  
    1717  public static final String[] WMSLAYERS = new String[] {"IR1", "IR2", "IR3"};
    1818
    19   public static final String PREF_PYTHON = "lakewalker.python";
    2019  public static final String PREF_MAX_SEG = "lakewalker.max_segs_in_way";
    2120  public static final String PREF_MAX_NODES = "lakewalker.max_nodes";
     
    3130  public static final String PREF_WMS = "lakewalker.wms";
    3231   
    33   protected StringConfigurer pythonConfig = new StringConfigurer();
    34   protected JLabel pythonLabel = new JLabel(tr("Python executable"));
    3532  protected IntConfigurer maxSegsConfig = new IntConfigurer();
    3633  protected JLabel maxSegsLabel = new JLabel(tr("Maximum number of segments per way"));
     
    5956 
    6057  public void addGui(PreferenceDialog gui) {
    61     pythonConfig.setToolTipText(tr("Path to python executable."));
    6258    maxSegsConfig.setToolTipText(tr("Maximum number of segments allowed in each generated way. Default 250."));
    6359    maxNodesConfig.setToolTipText(tr("Maximum number of nodes to generate before bailing out (before simplifying lines). Default 50000."));
     
    7369    wmsConfig.setToolTipText(tr("Which WMS layer to use for tracing against. Default is IR1."));
    7470
    75     String description = tr("An interlude to the Lakewalker Python module to trace water bodies on Landsat imagery.<br><br>Version: {0}", LakewalkerPlugin.VERSION);
     71    String description = tr("An plugin to trace water bodies on Landsat imagery.");
    7672    JPanel prefPanel = gui.createPreferenceTab("lakewalker.png", I18n.tr("Lakewalker Plugin Preferences"), description);
    7773    buildPreferences(prefPanel);
    7874   
    79     pythonConfig.setValue(Main.pref.get(PREF_PYTHON, "python.exe"));
    8075    maxSegsConfig.setValue(Main.pref.getInteger(PREF_MAX_SEG, 500));
    8176    maxNodesConfig.setValue(Main.pref.getInteger(PREF_MAX_NODES, 50000));
     
    9691    GBC dataConstraints = GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL);
    9792   
    98     prefPanel.add(pythonLabel, labelConstraints);
    99     prefPanel.add(pythonConfig.getControls(), dataConstraints);
    10093    prefPanel.add(maxSegsLabel, labelConstraints);
    10194    prefPanel.add(maxSegsConfig.getControls(), dataConstraints);
     
    128121   */
    129122  public void ok() {
    130     Main.pref.put(PREF_PYTHON, pythonConfig.getValueString());
    131123    Main.pref.put(PREF_MAX_SEG, maxSegsConfig.getValueString());
    132124    Main.pref.put(PREF_MAX_NODES, maxNodesConfig.getValueString());
Note: See TracChangeset for help on using the changeset viewer.