Changeset 25680 in osm


Ignore:
Timestamp:
2011-03-23T17:57:13+01:00 (14 years ago)
Author:
zverik
Message:

two unneccesary, but fun actions from PropertiesDialog (relcontext plugin)

Location:
applications/editors/josm/plugins/relcontext/src/relcontext
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelation.java

    r25679 r25680  
    103103        Composite oldComposite = g.getComposite();
    104104        g.setColor(Color.yellow);
    105         g.setStroke(new BasicStroke(6, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
     105        g.setStroke(new BasicStroke(9, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
    106106        g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.3f));
    107107        for( OsmPrimitive element : chosenRelation.getMemberPrimitives() ) {
  • applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java

    r25679 r25680  
    300300
    301301    private static final Map<String, String[]> possibleRoles = new HashMap<String, String[]>();
    302     {
     302    static {
    303303        possibleRoles.put("boundary", new String[] {"admin_centre", "label", "subarea"});
    304304        possibleRoles.put("route", new String[] {"forward", "backward", "stop", "platform"});
     
    411411            add(new DeleteChosenRelationAction(chosenRelation));
    412412            add(new DownloadParentsAction(chosenRelation));
     413            addSeparator();
     414            add(new SelectInRelationPanelAction(chosenRelation));
     415            add(new RelationHelpAction(chosenRelation));
    413416        }
    414417    }
Note: See TracChangeset for help on using the changeset viewer.