Devi copiarti l'estensione StopEditing e metterla nel tuo progetto.<br>Poi nel metodo initialize fai:<br><br>public void initialize() {<br>        addExportFormat("SHP", ExportTo.class);<br>        addExportFormat("DXF", ExportTo.class);<br>

        addExportFormat("POSTGIS", ExportTo.class);<br>        getDecoratedExtension(com.iver.cit.gvsig.StopEditing.class).setVisibility(ALWAYS_INVISIBLE);<br>        ExtensionPoints extensionPoints = ExtensionPointsSingleton.getInstance();<br>

        extensionPoints.add("View_TocActions","StopEditing",new StopEditingTocMenuEntry());<br>    }<br>dove StopEditingTocMenuEntry è, come per StopEditing, una copia dell'originale rinominata..<br>

<br><div class="gmail_quote">Il giorno 07 giugno 2011 12:46, kimi85 <span dir="ltr"><<a href="mailto:attilio485@gmail.com">attilio485@gmail.com</a>></span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Ho trovato entrambe le classi. L'idea che avevo era una semplice prova: nel<br>
momento in cui clicco su "stop editing" e prima che mi venga proposto il<br>
salvataggio delle modifiche, vorrei che mi apparisse un semplice messaggio<br>
di avviso. E' fattibile secondo voi?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/fine-editing-shape-tp6448460p6448981.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/fine-editing-shape-tp6448460p6448981.html</a><br>


</font><div><div></div><div class="h5">Sent from the gvSIG Italian mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Gvsig_italian mailing list<br>
<a href="mailto:Gvsig_italian@lists.gvsig.org">Gvsig_italian@lists.gvsig.org</a><br>
<a href="https://gvsig.org/lists/mailman/listinfo/gvsig_italian" target="_blank">https://gvsig.org/lists/mailman/listinfo/gvsig_italian</a><br>
</div></div></blockquote></div><br>