Revision 1082 org.gvsig.hyperlink.app/trunk/org.gvsig.hyperlink.app/org.gvsig.hyperlink.app.extension/src/main/java/org/gvsig/hyperlink/app/extension/HyperlinkExtension.java

View differences:

HyperlinkExtension.java
164 164
    private String getLegacyActionCode(int type) {
165 165
        switch (type) {
166 166
        case LEGACY_IMAGE_TYPE:
167
            return ImgFormat.actionCode;
167
            return ImgFormat.ACTION_CODE;
168 168
        case LEGACY_PDF_TYPE:
169
            return PdfFormat.actionCode;
169
            return PdfFormat.ACTION_CODE;
170 170
        case LEGACY_SVG_TYPE:
171
            return SvgFormat.actionCode;
171
            return SvgFormat.ACTION_CODE;
172 172
        case LEGACY_HTML_TYPE:
173 173
        default:
174
            return TxtFormat.actionCode;
174
            return TxtFormat.ACTION_CODE;
175 175
        }
176 176
    }
177 177

  
......
253 253
            epm.add(ACTIONSEXTENSIONPOINT,
254 254
                "Registers Actions that are able to manage specific format types.");
255 255

  
256
        ep.append(TxtFormat.actionCode, "", TxtFormat.class);
257
        ep.append(ExternTxtFormat.actionCode, "", ExternTxtFormat.class);
258
        ep.append(ImgFormat.actionCode, "", ImgFormat.class);
259
        ep.append(PdfFormat.actionCode, "", PdfFormat.class);
260
        ep.append(SvgFormat.actionCode, "", SvgFormat.class);
261
        ep.append(FolderFormat.actionCode, "", FolderFormat.class);
256
        ep.append(TxtFormat.ACTION_CODE, "", TxtFormat.class);
257
        ep.append(ExternTxtFormat.ACTION_CODE, "", ExternTxtFormat.class);
258
        ep.append(ImgFormat.ACTION_CODE, "", ImgFormat.class);
259
        ep.append(PdfFormat.ACTION_CODE, "", PdfFormat.class);
260
        ep.append(SvgFormat.ACTION_CODE, "", SvgFormat.class);
261
        ep.append(FolderFormat.ACTION_CODE, "", FolderFormat.class);
262 262

  
263 263
    }
264 264

  

Also available in: Unified diff