Revision 34499 trunk/extensions/extHyperlink/src/org/gvsig/hyperlink/LinkControls.java
LinkControls.java | ||
---|---|---|
49 | 49 |
import java.util.Map; |
50 | 50 |
|
51 | 51 |
import org.apache.log4j.Logger; |
52 |
import org.gvsig.hyperlink.actions.FolderFormat; |
|
52 | 53 |
import org.gvsig.hyperlink.actions.ImgFormat; |
53 | 54 |
import org.gvsig.hyperlink.actions.LoadRasterLayer; |
54 | 55 |
import org.gvsig.hyperlink.actions.LoadVectorLayer; |
... | ... | |
93 | 94 |
private static final int LEGACY_HTML_TYPE = 1; |
94 | 95 |
private static final int LEGACY_PDF_TYPE = 2; |
95 | 96 |
private static final int LEGACY_SVG_TYPE = 3; |
97 |
private static final int LEGACY_FOLDER_TYPE = 4; |
|
96 | 98 |
|
97 | 99 |
/* |
98 | 100 |
* @see com.iver.andami.plugins.IExtension#execute(java.lang.String) |
... | ... | |
172 | 174 |
return PdfFormat.actionCode; |
173 | 175 |
case LEGACY_SVG_TYPE: |
174 | 176 |
return SvgFormat.actionCode; |
177 |
case LEGACY_FOLDER_TYPE: |
|
178 |
return FolderFormat.actionCode; |
|
175 | 179 |
case LEGACY_HTML_TYPE: |
176 | 180 |
default: |
177 | 181 |
return TxtFormat.actionCode; |
... | ... | |
256 | 260 |
extensionPoints.add(ACTIONSEXTENSIONPOINT, tmpAction.getActionCode(), tmpAction); |
257 | 261 |
tmpAction = new SvgFormat(); |
258 | 262 |
extensionPoints.add(ACTIONSEXTENSIONPOINT, tmpAction.getActionCode(), tmpAction); |
263 |
tmpAction = new FolderFormat(); |
|
264 |
extensionPoints.add(ACTIONSEXTENSIONPOINT, tmpAction.getActionCode(), tmpAction); |
|
259 | 265 |
} |
260 | 266 |
|
261 | 267 |
private void registerConfigPanel() { |
Also available in: Unified diff