Ignore:
Timestamp:
2012-02-28T11:29:30+01:00 (12 years ago)
Author:
jttt
Message:

Add possibility to hide side buttons in toggle dialogs permanently, show actions from buttons in popup menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/SideButton.java

    r5007 r5028  
    3737    {
    3838        super(action);
    39         if(!usename)
     39        if(!usename) {
    4040            setText(null);
    41         fixIcon(action);
    42         doStyle();
     41            fixIcon(action);
     42            doStyle();
     43        }
    4344    }
    4445
     
    8081    }
    8182
     83    // Used constructor with Action
     84    @Deprecated
    8285    public SideButton(String imagename, String property, String tooltip, ActionListener actionListener)
    8386    {
     
    8891        setToolTipText(tooltip);
    8992    }
     93
     94    // Used constructor with Action
     95    @Deprecated
    9096    public SideButton(String name, String imagename, String property, String tooltip, Shortcut shortcut, ActionListener actionListener)
    9197    {
     
    100106        setup(name, property, tooltip, actionListener);
    101107    }
     108
     109    // Used constructor with Action
     110    @Deprecated
    102111    public SideButton(String name, String imagename, String property, String tooltip, ActionListener actionListener)
    103112    {
Note: See TracChangeset for help on using the changeset viewer.