Revision 19320 trunk/prototypes/mobile/desktop/extensions/extExportMobile/src/es/prodevelop/gvsig/exportMobile/ClipExtension.java

View differences:

ClipExtension.java
4 4

  
5 5
import com.iver.andami.PluginServices;
6 6
import com.iver.andami.plugins.Extension;
7
import com.iver.cit.gvsig.About;
7 8
import com.iver.cit.gvsig.fmap.layers.FLayers;
8 9
import com.iver.cit.gvsig.project.ProjectExtent;
9 10
import com.iver.cit.gvsig.project.documents.view.gui.View;
......
25 26
	 * Starts the extension
26 27
	 */
27 28
	public void initialize() {
28
//		//Initialiser SOAP writer with the desination SOAP file
29
		//File destFile = new File("SOAPComEventModif.xml");
30
		//CommMessageWriterManager.registerManager(new CommMessageWriterManager(new SOAPCommMessageWriter(destFile)));
29
		
30
        // about
31
        java.net.URL newurl =
32
        	createResourceUrl("about/export-mobile-about.html");
33
        About claseAbout = (About) PluginServices.getExtension(com.iver.cit.gvsig.About.class);
34
        claseAbout.getAboutPanel().addAboutUrl("Export to gvSIG Mobile", newurl);
31 35
	}
32 36

  
33 37
	
......
65 69
		ExportPanel infPanel = new ExportPanel(lyrsNewName, listExtent);
66 70
		PluginServices.getMDIManager().addWindow(infPanel);
67 71
	}
72
	
73
    private java.net.URL createResourceUrl(String path) {
74
        return getClass().getClassLoader().getResource(path);
75
    }
76
	
68 77
}

Also available in: Unified diff