Re: [JPP-Devel] Add scale panel on Info bar
I'd be the first to admit that some of the features that I put in SkyJUMP have no purpose in OJ. 8-) Larry On Sun, Feb 26, 2012 at 3:49 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: I am for 123 [45687 pts] though, it also needs to translate pts... mhm.. stefan Am 26.02.12 02:16, schrieb Michaël Michaud: Hi 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? Currently, the number of selected features message is displayed by ShowFullPathPlugIn (don't know why, probably not the best place) Il looks like : Number selected: 123 [1254.4, 65987] 45687 pts Code comes with the following comment from Larry : //LDB added the following to simulate 4D Draw Coordinates Panel My suggestion is to keep only : Number selected: 123 [45687 pts] or Selection: 123 features [45687 pts] Michaël -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hi all, sorry to come late in the discussion. a) WMS panel, as Stefan pointed out, was from the beginning (Aquino maybe?). I left it when I added a sclaepanel as I thought that some part of OJ or plugin was using it. If there is no need to have it, if we remove it, we surelly have more space for infopanel. b) I vote to remove remove the envelope of selected features, if there is no need. And save only selected features[selected points] I still haven't work around the scalepanel. As it still shows view scale only when the cursor is moving on the view. I gave a look to other class (zoom and zoom listner) but I still have no idea how to modify them. And need time. If people agree I leave things as they are - or I can restore the original bar. giuseppe Da: Larry Becker becker.la...@gmail.com A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Inviato: Lunedì 27 Febbraio 2012 15:39 Oggetto: Re: [JPP-Devel] Add scale panel on Info bar I'd be the first to admit that some of the features that I put in SkyJUMP have no purpose in OJ. 8-) Larry On Sun, Feb 26, 2012 at 3:49 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: I am for 123 [45687 pts] though, it also needs to translate pts... mhm.. stefan Am 26.02.12 02:16, schrieb Michaël Michaud: Hi 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? Currently, the number of selected features message is displayed by ShowFullPathPlugIn (don't know why, probably not the best place) Il looks like : Number selected: 123 [1254.4, 65987] 45687 pts Code comes with the following comment from Larry : //LDB added the following to simulate 4D Draw Coordinates Panel My suggestion is to keep only : Number selected: 123 [45687 pts] or Selection: 123 features [45687 pts] Michaël -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel-- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Ok I saw that all modifications were already done in the last NB. Good Michael! Da: Giuseppe Aruta giuseppe_ar...@yahoo.it A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Inviato: Lunedì 27 Febbraio 2012 16:01 Oggetto: Re: [JPP-Devel] Add scale panel on Info bar Hi all, sorry to come late in the discussion. a) WMS panel, as Stefan pointed out, was from the beginning (Aquino maybe?). I left it when I added a sclaepanel as I thought that some part of OJ or plugin was using it. If there is no need to have it, if we remove it, we surelly have more space for infopanel. b) I vote to remove remove the envelope of selected features, if there is no need. And save only selected features[selected points] I still haven't work around the scalepanel. As it still shows view scale only when the cursor is moving on the view. I gave a look to other class (zoom and zoom listner) but I still have no idea how to modify them. And need time. If people agree I leave things as they are - or I can restore the original bar. giuseppe Da: Larry Becker becker.la...@gmail.com A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Inviato: Lunedì 27 Febbraio 2012 15:39 Oggetto: Re: [JPP-Devel] Add scale panel on Info bar I'd be the first to admit that some of the features that I put in SkyJUMP have no purpose in OJ. 8-) Larry On Sun, Feb 26, 2012 at 3:49 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: I am for 123 [45687 pts] though, it also needs to translate pts... mhm.. stefan Am 26.02.12 02:16, schrieb Michaël Michaud: Hi 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? Currently, the number of selected features message is displayed by ShowFullPathPlugIn (don't know why, probably not the best place) Il looks like : Number selected: 123 [1254.4, 65987] 45687 pts Code comes with the following comment from Larry : //LDB added the following to simulate 4D Draw Coordinates Panel My suggestion is to keep only : Number selected: 123 [45687 pts] or Selection: 123 features [45687 pts] Michaël -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel-- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hi 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? Currently, the number of selected features message is displayed by ShowFullPathPlugIn (don't know why, probably not the best place) Il looks like : Number selected: 123 [1254.4, 65987] 45687 pts Code comes with the following comment from Larry : //LDB added the following to simulate 4D Draw Coordinates Panel My suggestion is to keep only : Number selected: 123 [45687 pts] or Selection: 123 features [45687 pts] Michaël -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
I am for 123 [45687 pts] though, it also needs to translate pts... mhm.. stefan Am 26.02.12 02:16, schrieb Michaël Michaud: Hi 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? Currently, the number of selected features message is displayed by ShowFullPathPlugIn (don't know why, probably not the best place) Il looks like : Number selected: 123 [1254.4, 65987] 45687 pts Code comes with the following comment from Larry : //LDB added the following to simulate 4D Draw Coordinates Panel My suggestion is to keep only : Number selected: 123 [45687 pts] or Selection: 123 features [45687 pts] Michaël -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hi Peppe, others I'm reviewing a bit the status bar in WorkbenchFrame and I have 2 questions 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? 2) I did not find the use of wmsLabel (panel between memory usage and coordinates display) Anybody knows if it is used by a plugin or if it has been used in the past ? Michaël Hi all, I made some small modifications to add a new panel on info bar. This panel shows the scale when the cursor moves on the view. I modified these classes: com.vividsolutions.jump.workbench.ui.WorkbenchFrame ( to add a new panel) com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool (to allow to show permanently the scale whenever the cursor moves on the view) I tested these modification only on Linux Ubuntu and Windows 7. Since I modified original classes from Jump, I am not sure if I violate some kind of copyrights. Any comment will be welcome. regards Giuseppe -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hei, Am 25.02.12 05:28, schrieb Michaël Michaud: Hi Peppe, others I'm reviewing a bit the status bar in WorkbenchFrame and I have 2 questions 1) I think that envelope of selected features in pixels (displayed in second panel, between brackets) takes place and is useless What do you think ? without seeing it... yes, why would I need the pixels? 2) I did not find the use of wmsLabel (panel between memory usage and coordinates display) Anybody knows if it is used by a plugin or if it has been used in the past ? should have been there since forever. I would say. At least i remember that due to the WMS/remote data there was a complete different layer context menu necessary. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Add scale panel on Info bar
Hi all, I made some small modifications to add a new panel on info bar. This panel shows the scale when the cursor moves on the view. I modified these classes: com.vividsolutions.jump.workbench.ui.WorkbenchFrame ( to add a new panel) com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool (to allow to show permanently the scale whenever the cursor moves on the view) I tested these modification only on Linux Ubuntu and Windows 7. Since I modified original classes from Jump, I am not sure if I violate some kind of copyrights. Any comment will be welcome. regards Giuseppe-- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hi Peppe, here are some hints about the changes you want to achieve, Implementation may depends on if you want to display 1) the current scale, or also 2) the future scale when the user is dragging to change scale But anyway, I don't think you need to display the scale each time the mouse is moved by any CursorTool. Moreover, I think it will not work if you use plugins instead of cursortools to change scale (ex zoom on layer). Did you see the Viewport and the ViewportListener class in the com.vividsolutions.jump.workbench.uipackage for 1) I'm sure you can add a listener to the viewport to track each time a zoom operation is performed and change the displayed scale when it is necessary, not more. For 2), you may need to track mouse motion, but in my opinion, it should take place in the DragTool performing the zoom, not in the abstract class which is common to every tool. Not sure my vision of the UI code is clear enough to give you good advice, but take a litle time to explore the LayerViewPanel and the Viewport, and to ask more information to other programmers (I think Matthias has a good experience about this part of the code). Michaël Le 18/02/2012 15:37, Giuseppe Aruta a écrit : Hi all, I made some small modifications to add a new panel on info bar. This panel shows the scale when the cursor moves on the view. I modified these classes: com.vividsolutions.jump.workbench.ui.WorkbenchFrame ( to add a new panel) com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool (to allow to show permanently the scale whenever the cursor moves on the view) I tested these modification only on Linux Ubuntu and Windows 7. Since I modified original classes from Jump, I am not sure if I violate some kind of copyrights. Any comment will be welcome. regards Giuseppe -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Add scale panel on Info bar
Hei, well easiest might be soo when scale is changed for the function that visualizes the scalebar. It was done by Jon - so I am sure he implemented it that way that it is only changing when the zoom changes. So we should do the same, and totally independent of any mouse cursor movement. And Michael is right too - better not touch the general classes. cheers, stefan Am 18.02.12 09:32, schrieb Michaël Michaud: Hi Peppe, here are some hints about the changes you want to achieve, Implementation may depends on if you want to display 1) the current scale, or also 2) the future scale when the user is dragging to change scale But anyway, I don't think you need to display the scale each time the mouse is moved by any CursorTool. Moreover, I think it will not work if you use plugins instead of cursortools to change scale (ex zoom on layer). Did you see the Viewport and the ViewportListener class in the com.vividsolutions.jump.workbench.uipackage for 1) I'm sure you can add a listener to the viewport to track each time a zoom operation is performed and change the displayed scale when it is necessary, not more. For 2), you may need to track mouse motion, but in my opinion, it should take place in the DragTool performing the zoom, not in the abstract class which is common to every tool. Not sure my vision of the UI code is clear enough to give you good advice, but take a litle time to explore the LayerViewPanel and the Viewport, and to ask more information to other programmers (I think Matthias has a good experience about this part of the code). Michaël Le 18/02/2012 15:37, Giuseppe Aruta a écrit : Hi all, I made some small modifications to add a new panel on info bar. This panel shows the scale when the cursor moves on the view. I modified these classes: com.vividsolutions.jump.workbench.ui.WorkbenchFrame ( to add a new panel) com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool (to allow to show permanently the scale whenever the cursor moves on the view) I tested these modification only on Linux Ubuntu and Windows 7. Since I modified original classes from Jump, I am not sure if I violate some kind of copyrights. Any comment will be welcome. regards Giuseppe -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel