Revision 5258 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ThemeToAnnotationExtension.java

View differences:

ThemeToAnnotationExtension.java
70 70
     * @see com.iver.andami.plugins.IExtension#execute(java.lang.String)
71 71
     */
72 72
    public void execute(String actionCommand) {
73
        if ("THEMETOANNOTATION".equals(actionCommand)) {
73
        if ("LAYERTOANNOTATION".equals(actionCommand)) {
74 74
            FLyrVect lv=(FLyrVect)map.getLayers().getActives()[0];
75 75
            FLyrAnnotation la=new FLyrAnnotation();
76 76
            la.setSource(lv.getSource());

Also available in: Unified diff