Hi Sergio, thanks for your fastest replay. I have another question:
You say that another possibility it's to add an additional .jar to the distribution that contains the modified classes. I must create a new jar that contains only the class that extends a JUMPConfiguration class? I would have to create a new project with one single class and after create a jar file? How I can do? Thanks Giovanni -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di [EMAIL PROTECTED] Inviato: martedì 6 maggio 2008 12.15 A: [email protected] Oggetto: Resumen de Kosmo, Vol 25, Envío 6 Envie los mensajes para la lista Kosmo a [email protected] Para subscribirse o anular su subscripción a través de WEB http://lists.saig.es/mailman/listinfo/kosmo O por correo electrónico, enviando un mensaje con el texto "help" en el asunto (subject) o en el cuerpo a: [EMAIL PROTECTED] Puede contactar con el responsable de la lista escribiendo a: [EMAIL PROTECTED] Si responde a algún contenido de este mensaje, por favor, edite la linea del asunto (subject) para que el texto sea mas especifico que: "Re: Contents of Kosmo digest...". Ademas, por favor, incluya en la respuesta solo aquellas partes del mensaje a las que esta respondiendo. Asuntos del día: 1. Re: Extension (Sergio Baños Calvo) 2. Re: sobre cr (Giuseppe Aruta) ---------------------------------------------------------------------- Message: 1 Date: Tue, 06 May 2008 11:32:33 +0200 From: Sergio Baños Calvo <[EMAIL PROTECTED]> Subject: Re: [Kosmo] Extension To: Lista de Kosmo <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=windows-1252; format=flowed Good morning, Giovanni. The extension mechanism that is implemented in Kosmo allows to incorporate new functionalities to the core base, but it can't replace the funcionality that is already present at core without modifying it (in general). You can modify the JUMPConfiguration class and change the tools that are loaded into the program by modifying its contents. Another possibility that we have used in some projects it's to add an additional .jar to the distribution that contains the modified classes (e.g.: the new JUMPConfiguration and your extending EditablePlugIn) and change the .bat/.sh launch file to take it into account. E.g.: SET PATH=..\dlls;%PATH% start.\jre\bin\javaw -Djava.library.path="..\dlls;" -cp .;./myclasses.jar;./saig.jar -Xmx800M com.vividsolutions.jump.workbench.JUMPWorkbench -plug-in-directory ./ext Note that the myclasses.jar must be declared before the saig.jar to occult the common classes and use the defined at myclasses.jar. Regards, Giovanni Virdis escribió: > > Good morning, > > I have a question > > I am working with kosmo and I have made some extension, but I have not > understood if it is possible to manage kosmo without to modify the > original project (saig-core) and only using the extensions. For > example, I want to extends the class "EditablePlugIn" with my class, > and I want that for some users it is not possible to execute the > modification of the layer. > > I must directly modify the class "EditablePlugIn "so as to inhibit its > operations or I can make all by means of one my class? > > If I succeed to manage all through the extensions also changing > version of kosmo in future I must not have problems or mistake? > > How I can add my class for the modification of the layer in the > relative menu to the layer replacing the original class > "EditablePlugIn" without to modify the code of the project (saig-core) ? > > Thanks > > Giovanni > > ------------------------------------------------------------------------ > > _______________________________________________ > Kosmo mailing list > [email protected] > http://lists.saig.es/mailman/listinfo/kosmo > -- Sergio Baños Calvo Jefe de desarrollos Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.) Tlfno. móvil: 685005960 Tlfno. fijo: (+34) 954788876 E-mail: [EMAIL PROTECTED] ------------------------------ Message: 2 Date: Tue, 6 May 2008 11:49:18 +0200 (CEST) From: Giuseppe Aruta <[EMAIL PROTECTED]> Subject: Re: [Kosmo] sobre cr To: Lista de Kosmo <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Apliquè una transformaciòn EPSG predefinida, 1660 me parese por Monte Mari0, ED50 se va a reprojectar correctam,ente tambien. Aquì en Italia no encontrè alguna rejilla NTv2 publica (que todavia esta realizada de el Ministerio de la Defencia! Efectos postumo de la Guierra Fria?). Hay BW parametros buenos por la transformaciòn manual. Differente y mas precisos que los de EPSG database (0,5 m vs 2 m), por lo meno en el sur de Italia. Muchas Gracias Giuseppe --- Sergio Baños Calvo <[EMAIL PROTECTED]> ha scritto: > Buenos días Giuseppe. > > Perfecto, me alegro mucho de que le haya funcionado > correctamente. > ¿Aplicó al final una transformación EPSG predefinida > o ha usado la > transformación manual? Existe otra posibilidad > adicional que no le > comenté en el anterior correo que consiste en > utilizar unos ficheros de > rejilla en formato NTv2. Estos ficheros proporcionan > una mayor precisión > que la transformación general para una zona > determinada (aquí en España > el Centro Nacional de Información Geográfica, CNIG > http://www.cnig.es, > proporciona las rejillas para el territorio > español). > > Saludos, > > Giuseppe Aruta escribió: > > Hola Sergio > > > > Uds Tenian razòn! Encontrè el sistema correcto > para hacer la > > trasformaciòn. > > Claramente la trasformaciòn entre CRS nuevos > (WGS84) y viejos (ED50) > > dan siempre un margin de error (comparado con > software que no usan > > codigo EPSG si no rejills). Espero de buscar un > dià un sistema para > > haser esta transformaciòn correctamente. > > > > Distintos saludos > > > > Giuseppe Aruta > > > > PS espero de traducir el manual de CRS entre las > proximas semanas > > > > */Sergio Baños Calvo <[EMAIL PROTECTED]>/* ha scritto: > > > > Buenas noches Giuseppe. > > > > Respecto al manual de gestión de Crs de Kosmo, > le envío el mismo en > > formato OpenOffice a su correo personal (es el > que usamos para > > generarlo, después lo publicamos en pdf). > > > > Respecto al tema que nos comenta de las > proyecciones, al seleccionar > > EPSG 3003 (Monte mario) como crs de la vista y > EPSG 32633 para una > > capa > > de prueba, si selecciono "Transformaciones > EPSG" y pulso el botón > > "Siguiente" me aparecen una serie de > transformaciones posibles en > > función del lugar de italia correspondiente. > ¿Podría mandarnos alguna > > capa para realizar pruebas con la misma si las > tranformaciones que se > > muestran no son las adecuadas? También tiene > la posibilidad de > > definir > > los parámetros con una transformación > personalizada, indicando los > > parámetros correspondientes. > > > > Un cordial saludo, > > > > Giuseppe Aruta escribió: > > > Buenas dias, > > > estoy preparando un wiki sobre la > trasformaciòn de CRS > > > en Openjump. En el mismo tiempo estoy > probando el la > > > gestiòn de CRS en Kosmo por el Italia. > > > Hasta ahora yo puedo tambien emplezar a > traducir el > > > manual "gestor de CRS" de Kosmo en Italiano, > con > > > ejemplos en Italiano, si los enteresa. > Tienen una > > > version en OpenOffice o en otros formatos > modificable > > > que pueden enviarme? > > > Una observaciòn: con Kosmo es possible hacer > > > trasformaciones, por ejemplo, de EPGS 3003 > (Monte > > > Mario) a EPGS 4326 (WGS84). Pero no es > posible hacer > > > transformaciones de EPGS 3003 (Monte Mario) > a EGPS > > > 32633 (WGS84/UTM 33N). Es un problema porquè > la > > > majoria de las informaciònes vestorializadas > en > > > Italia son EPSG 3002-3003 y EPSG 32632-32633 > > > (raramente 32634) > > > > > > Un saludo > > > > > > Peppe > > > > > > > > > Inviato da Yahoo! Mail. > > > La casella di posta intelligente. > > > > http://it.docs.yahoo.com/mail/overview/index.html > > > > _______________________________________________ > > > Kosmo mailing list > > > [email protected] > > > http://lists.saig.es/mailman/listinfo/kosmo > > > > > > > > > > -- > > > > Sergio Baños Calvo > > > > Jefe de desarrollos > > Sistemas Abiertos de Información Geográfica, > S.L. (SAIG S.L.) > > Tlfno. móvil: 685005960 > > Tlfno. fijo: (+34) 954788876 > > > > E-mail: [EMAIL PROTECTED] > > > > > _______________________________________________ > > Kosmo mailing list > > [email protected] > > http://lists.saig.es/mailman/listinfo/kosmo > > > > > > Tante idee per la salvaguardia del pianeta su > > Yahoo! for good > > > <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52436/*http://it.promotions.yahoo.com/forgood/environment.html>. > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Kosmo mailing list > > [email protected] > > http://lists.saig.es/mailman/listinfo/kosmo > > > > _______________________________________________ > Kosmo mailing list > [email protected] > http://lists.saig.es/mailman/listinfo/kosmo > Tante idee per la salvaguardia del nostro Pianeta su Yahoo! For Good http://it.promotions.yahoo.com/forgood/environment.html ------------------------------ _______________________________________________ Kosmo mailing list [email protected] http://lists.saig.es/mailman/listinfo/kosmo Fin de Resumen de Kosmo, Vol 25, Envío 6 **************************************** _______________________________________________ Kosmo mailing list [email protected] http://lists.saig.es/mailman/listinfo/kosmo
