Ignore:
Timestamp:
2018-03-27T11:48:29+02:00 (7 years ago)
Author:
rebeccas95
Message:

Fixing helpbutton link and some small changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java

    r34013 r34135  
    113113       // Shortcuts
    114114       SpaceShortcut = Shortcut.registerShortcut("mapmode:space",
    115                tr("ConfirmObjectDrawing"), KeyEvent.VK_SPACE, Shortcut.DIRECT);
     115               "ConfirmObjectDrawing", KeyEvent.VK_SPACE, Shortcut.DIRECT);
    116116       this.SpaceAction = new SpaceAction();
    117117       MainApplication.registerActionShortcut(SpaceAction, SpaceShortcut);
    118118
    119119       EnterShortcut = Shortcut.registerShortcut("mapmode:enter",
    120                tr("ConfirmMultipolygonSelection"), KeyEvent.VK_ENTER, Shortcut.DIRECT);
     120               "ConfirmMultipolygonSelection", KeyEvent.VK_ENTER, Shortcut.DIRECT);
    121121       this.EnterAction = new EnterAction();
    122122       MainApplication.registerActionShortcut(EnterAction, EnterShortcut);
     
    167167
    168168   /**
    169     * The listener which provides the handling of the apply button.
     169    * The listener which provides the handling of the applyButton.
    170170    * Gets the texts which were written by the user and writes them to the OSM-data.
    171171    * After that it checks the tagged data  with the built-in validator file.
     
    258258
    259259   /**
    260     * The listener which is called when the helpbutton got pushed.
     260    * The listener which is called when the helpButton got pushed.
    261261    *
    262262    * @author rebsc
     
    266266           @Override
    267267           public void actionPerformed(ActionEvent e) {
    268                    String topic = "Plugin/indoorHelper";
     268                   String topic = "Plugin/IndoorHelper";
    269269                   //Open HelpBrowser for short description about the plugin
    270270                   HelpBrowser.setUrlForHelpTopic(Optional.ofNullable(topic).orElse("/"));
     
    273273
    274274   /**
    275     * The listener which is called when the addlevelbutton got pushed.
     275    * The listener which is called when the addLevelButton got pushed.
    276276    *
    277277    * @author rebsc
     
    498498
    499499   /**
    500     * Shortcut for Spacebar
     500    * Shortcut for spacebar
    501501    * @author rebsc
    502502    */
     
    540540
    541541   /**
    542     * Shortcut for Enter
     542    * Shortcut for enter
    543543    * @author rebsc
    544544    */
     
    562562
    563563   /**
    564     * Function which unset the disabled state of currently hidden and/or disabled objects which have a
     564    * Function which unsets the disabled state of currently hidden and/or disabled objects which have a
    565565    * specific tag (key). Just unsets the disabled state if object has a tag-value which is part of the
    566566    * current working level.
    567     * Specific example: key: repeat_on ; value: 1-4;
    568     *                     If current selected workinglevel is "3" all objects with the leveltag "level=3" are hidden but the
    569     *                     objects with the key "repeat_on" and the value which includes "3" or is (minValue+1) - maxValue (4-...),
    570     *                     because repeat_on tag starts on the current workinglevel+1.
     567    *
    571568    * @author rebsc
    572569    * @param key sepcific key to unset hidden objects which contains it
Note: See TracChangeset for help on using the changeset viewer.