Ignore:
Timestamp:
2012-01-20T15:18:05+01:00 (13 years ago)
Author:
tilusnet
Message:

Added some comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysPlugin.java

    r27398 r27508  
    3232    public AlignWaysPlugin(PluginInformation info) {
    3333        super(info);
     34       
     35        // Construct the AlignWays mode toggle button
    3436        awMode = new AlignWaysMode(Main.map, "alignways", tr("Align Ways mode"));
    3537        btn = new IconToggleButton(awMode);
    3638        btn.setVisible(true);
     39       
     40        // Add the action entries to the Tools Menu
    3741        Main.main.menu.toolsMenu.addSeparator();
    3842        awAction = new AlignWaysAction();
    3943        alignWaysMenuItem = MainMenu.add(Main.main.menu.toolsMenu, awAction);
     44       
    4045        awDialog = new AlignWaysDialog(awMode);
    4146        // Prevent user clicking on the Windows menu entry while panel is meaningless
Note: See TracChangeset for help on using the changeset viewer.