Statistics
| Revision:

root / trunk / extensions / extHyperlink / src / org / gvsig / hyperlink / actions / ImgFormat.java @ 28132

History | View | Annotate | Download (880 Bytes)

1
package org.gvsig.hyperlink.actions;
2

    
3
import java.io.Serializable;
4
import java.net.URI;
5

    
6
import org.gvsig.hyperlink.AbstractActionManager;
7
import org.gvsig.hyperlink.AbstractHyperLinkPanel;
8

    
9
import com.iver.andami.PluginServices;
10

    
11

    
12
public class ImgFormat extends AbstractActionManager implements Serializable{
13
        public static final String actionCode = "Image_format";
14

    
15
        public AbstractHyperLinkPanel createPanel(URI doc)
16
                        throws UnsupportedOperationException {
17
                return new ImgPanel(doc);
18
        }
19

    
20
        public String getActionCode() {
21
                return actionCode;
22
        }
23

    
24
        public boolean hasPanel() {
25
                return true;
26
        }
27

    
28
        public void showDocument(URI doc) {
29
                throw new UnsupportedOperationException();
30
        }
31

    
32
        public String getDescription() {
33
                return PluginServices.getText(this, "Shows_image_files_in_gvSIG");
34
        }
35

    
36
        public String getName() {
37
                return PluginServices.getText(this, "Image_format");
38
        }
39
}