Revision 146

View differences:

org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/org.gvsig.educa.thematicmap.app.viewer/src/main/resources/about/disid.html
1
<html>
2
<body>
3

  
4
<img src="disid-logo.jpeg"><br>
5

  
6
<h2>DiSiD Technologies</h2>
7
<br>
8

  
9
<p>EN CONSTRUCCION</p>
10

  
11
</body>
12
</html>
org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/org.gvsig.educa.thematicmap.app.viewer/src/main/java/org/gvsig/educa/thematicmap/app/viewer/ThematicMapExtension.java
23 23

  
24 24
import java.io.File;
25 25

  
26
import org.gvsig.about.AboutManager;
27
import org.gvsig.about.AboutParticipant;
26 28
import org.gvsig.andami.PluginServices;
27 29
import org.gvsig.andami.plugins.Extension;
30
import org.gvsig.app.ApplicationLocator;
31
import org.gvsig.app.ApplicationManager;
28 32
import org.gvsig.educa.thematicmap.ThematicMapLocator;
29 33
import org.gvsig.educa.thematicmap.ThematicMapManager;
30 34
import org.gvsig.educa.thematicmap.app.viewer.ui.TocImageProvider;
......
78 82
            .getAbsolutePath());
79 83

  
80 84
        swingManager.setDefaultTocImageProvider(new TocImageProvider());
85

  
86
        registerAbout();
87

  
81 88
    }
82 89

  
90
    /**
91
     *
92
     */
93
    private void registerAbout() {
94
        // Register the about panel
95
        ApplicationManager application = ApplicationLocator.getManager();
96

  
97
        AboutManager about = application.getAbout();
98

  
99
        about.addDeveloper("DISID", this.getClass().getClassLoader()
100
            .getResource("about/disid.html"), 1);
101

  
102
        AboutParticipant participant = about.getDeveloper("DISID");
103
        participant
104
            .addContribution(
105
                "ThematicMapExtension",
106
                "Thematic Map document: read-only views which could share in packages (installed from standard gvSIG add-on installer)",
107
                2011, 11, 1, 2012, 2, 29);
108

  
109
        // TODO add more developers and participant
110
    }
111

  
83 112
    public void execute(String actionCommand) {
84 113
        // TODO
85 114
    }
org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/org.gvsig.educa.thematicmap.app.editor/src/main/java/org/gvsig/educa/thematicmap/app/editor/ThematicMapEditorExtension.java
21 21
 */
22 22
package org.gvsig.educa.thematicmap.app.editor;
23 23

  
24
import org.gvsig.about.AboutManager;
25
import org.gvsig.about.AboutParticipant;
24 26
import org.gvsig.andami.plugins.Extension;
27
import org.gvsig.app.ApplicationLocator;
28
import org.gvsig.app.ApplicationManager;
25 29
import org.gvsig.app.project.ProjectManager;
26 30
import org.gvsig.app.project.documents.view.ViewManager;
27 31
import org.gvsig.educa.thematicmap.app.editor.document.GeneratePackageOfThematicMapAction;
......
31 35
import org.gvsig.educa.thematicmap.app.editor.document.ThematicMapToViewAction;
32 36
import org.gvsig.educa.thematicmap.app.editor.document.ViewToThematicMapAction;
33 37
import org.gvsig.educa.thematicmap.app.viewer.ThematicMapDocumentManager;
38
import org.gvsig.educa.thematicmap.app.viewer.ThematicMapExtension;
34 39

  
35 40
/**
36 41
 * Andami extension which initializes the document actions related to
......
82 87
        projectManager.registerDocumentAction(ViewManager.TYPENAME,
83 88
            new RegenerateThematicMapFromViewAction());
84 89

  
90
        registerAbout();
91

  
85 92
    }
86 93

  
94
    /**
95
    *
96
    */
97
    private void registerAbout() {
98
        // Register the about panel
99
        ApplicationManager application = ApplicationLocator.getManager();
100

  
101
        AboutManager about = application.getAbout();
102

  
103
        about.addDeveloper("DISID", ThematicMapExtension.class.getClassLoader()
104
            .getResource("disid.html"), 1);
105

  
106
        AboutParticipant participant = about.getDeveloper("DISID");
107
        participant.addContribution("ThematicMapEditorExtension",
108
            "Provides tools to create and generate packages of Thematic Maps",
109
            2011, 11, 1, 2012, 2, 29);
110

  
111
        // TODO add more developers and participant
112
    }
113

  
87 114
    /** {@inheridDoc} */
88 115
    public boolean isEnabled() {
89 116
        return true;

Also available in: Unified diff