Ignore:
Timestamp:
2012-01-21T20:09:28+01:00 (13 years ago)
Author:
akks
Message:

Utilsplugin2: removed debugging output and make shortcuts easier to find

Location:
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SplitObjectAction.java

    r26509 r27543  
    4242    public SplitObjectAction() {
    4343        super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."),
    44                 Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", "Split Object"),
    45                         KeyEvent.VK_P,  Shortcut.SHIFT_DEFAULT), true);
     44                Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", "Split Object"),  KeyEvent.VK_P,  Shortcut.SHIFT_DEFAULT)
     45                , true);
    4646        putValue("help", ht("/Action/SplitObject"));
    4747    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/customurl/UtilsPluginPreferences.java

    r27426 r27543  
    134134        String addr=combo1.getText();
    135135        List<String> lst = readItemsFromTable();
    136         System.out.println(lst);
    137136        URLList.updateURLList(lst);
    138137       
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/AlignWayNodesAction.java

    r25887 r27543  
    2323    public AlignWayNodesAction() {
    2424        super(TITLE, "dumbutils/alignwaynodes", tr("Align nodes in a way"),
    25                 Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", TITLE), KeyEvent.VK_L, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
     25                Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", TITLE), KeyEvent.VK_L, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
     26                , true);
    2627    }
    2728
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/PasteRelationsAction.java

    r26804 r27543  
    2121    public PasteRelationsAction() {
    2222        super(TITLE, "dumbutils/pasterelations", tr("Paste relation membership from objects in the buffer onto selected object(s)"),
    23                 Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", TITLE), KeyEvent.VK_V,
    24                 Shortcut.GROUP_MENU, KeyEvent.ALT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK), true);
     23                Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", TITLE), KeyEvent.VK_V, Shortcut.GROUP_MENU, KeyEvent.ALT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK), true);
    2524    }
    2625
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java

    r27516 r27543  
    2828    public ReplaceGeometryAction() {
    2929        super(TITLE, "dumbutils/replacegeometry", tr("Replace geometry of selected object with a new one"),
    30                 Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", TITLE), KeyEvent.VK_G,
    31                 Shortcut.GROUP_HOTKEY, Shortcut.SHIFT_DEFAULT), true);
     30                Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", TITLE), KeyEvent.VK_G, Shortcut.GROUP_HOTKEY, Shortcut.SHIFT_DEFAULT)
     31                , true);
    3232    }
    3333
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/SplitOnIntersectionsAction.java

    r27417 r27543  
    2626    public SplitOnIntersectionsAction() {
    2727        super(TITLE, "dumbutils/splitonintersections", tr("Split adjacent ways on T-intersections"),
    28                 Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", TITLE), KeyEvent.VK_P,
    29                 Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK| KeyEvent.SHIFT_DOWN_MASK), true);
     28                Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", TITLE), KeyEvent.VK_P, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK| KeyEvent.SHIFT_DOWN_MASK)
     29                , true);
    3030    }
    3131
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagBufferAction.java

    r25887 r27543  
    2424    public TagBufferAction() {
    2525        super(TITLE, "dumbutils/tagbuffer", tr("Pastes tags of previously selected object(s)"),
    26                 Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", TITLE), KeyEvent.VK_R,
    27                 Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
     26                Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", TITLE), KeyEvent.VK_R, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
    2827    }
    2928
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagSourceAction.java

    r25887 r27543  
    2424    public TagSourceAction() {
    2525        super(TITLE, "dumbutils/sourcetag", tr("Add remembered source tag"),
    26                 Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", TITLE), KeyEvent.VK_S,
    27                 Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK), true);
     26                Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", TITLE), KeyEvent.VK_S, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK)
     27                , true);
    2828        source = Main.pref.get("sourcetag.value");
    2929    }
Note: See TracChangeset for help on using the changeset viewer.