Ignore:
Timestamp:
2010-05-18T23:43:52+02:00 (14 years ago)
Author:
bastiK
Message:

extended command list dialog; added inspection panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/TagConflictResolveCommand.java

    r3083 r3262  
    1010
    1111import javax.swing.JLabel;
    12 import javax.swing.tree.DefaultMutableTreeNode;
    13 import javax.swing.tree.MutableTreeNode;
    1412
    1513import org.openstreetmap.josm.data.conflict.Conflict;
     
    6159    }
    6260
    63     @Override
    64     public MutableTreeNode description() {
     61    @Override public JLabel getDescription() {
    6562        String msg = "";
    6663        switch(OsmPrimitiveType.from(conflict.getMy())) {
     
    6966        case RELATION: msg = marktr("Resolve {0} tag conflicts in relation {1}"); break;
    7067        }
    71         return new DefaultMutableTreeNode(
    72                 new JLabel(
     68        return new JLabel(
    7369                        tr(msg,getNumDecidedConflicts(), conflict.getMy().getId()),
    7470                        ImageProvider.get("data", "object"),
    7571                        JLabel.HORIZONTAL
    76                 )
    7772        );
    7873    }
Note: See TracChangeset for help on using the changeset viewer.