Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Rahkonen Jukka (MML)
Hi Michaël and Ede, I can only say that all that you said was super true. Editing line 79 into super(...,false) did the trick. For this plugin it is absolutely better this way. I will start a new v. 1.5 development with this change. -Jukka- Michaël Michaud wrote: Hi Jukka, Line 79, the

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Giuseppe Aruta
Multi input dialog class Il giorno 21/mag/2015 20:26, Giuseppe Aruta giuseppe.ar...@gmail.com ha scritto: I wonder if Multi input class can be set to modal, too Il giorno 21/mag/2015 08:51, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi ha scritto: Hi Michaël and Ede, I can

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Giuseppe Aruta
I wonder if Multi input class can be set to modal, too Il giorno 21/mag/2015 08:51, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi ha scritto: Hi Michaël and Ede, I can only say that all that you said was super true. Editing line 79 into super(...,false) did the trick. For this

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Rahkonen Jukka (MML)
Hi, By reading this it looks possible: http://www.vividsolutions.com/jump/javadoc/com/vividsolutions/jump/workbench/ui/MultiInputDialog.html MultiInputDialog public MultiInputDialog(java.awt.Frame frame, java.lang.String title, boolean modal)

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-20 Thread Rahkonen Jukka (MML)
Hi, Am I right that the spatialite dialog is set to modal somewhere in this code https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/spatialiteplugin/SpatialiteDialog.java? -Jukka- edgar.soldin wrote: On 18.05.2015 13:53, Rahkonen Jukka

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-20 Thread Michaël Michaud
Hi Jukka, Line 79, the SpatialiteDialog uses the super keyword to inititialize the dialog with its parent constructor JDialog(Frame frame,String title,boolean modal) You can see that it is initialized with modal = true. Try to change it to false here, Hope that helps Michaël Le 20/05/2015

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-20 Thread edgar . soldin
close ;), but according to http://docs.oracle.com/javase/7/docs/api/java/awt/Dialog.html#DEFAULT_MODALITY_TYPE JDialog seems to be modal by default you can use http://docs.oracle.com/javase/7/docs/api/java/awt/Dialog.html#setModalityType%28java.awt.Dialog.ModalityType%29 to set it unmodal

[JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-18 Thread Rahkonen Jukka (MML)
Hi developers, What is that system called which allows to keep the plugin open and to jump between the plugin window and the map view without closing the plugin in between? The DB Query Plugin allows that but the SpatiaLite plugin must be closed before doing anything on the map. And when the

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-18 Thread edgar . soldin
On 18.05.2015 13:53, Rahkonen Jukka (MML) wrote: Hi developers, What is that system called which allows to keep the plugin open and to jump between the plugin window and the map view without closing the plugin in between? The DB Query Plugin allows that but the SpatiaLite plugin must