Re: [JPP-Devel] Selecting Sequential LineStrings

2014-08-15 Thread sukhjit sehra
i am new to open jump i want to read about architecture of OpenJump, please
share with me source for required information or if you have any
documentation.

Particularly i am focusing on Network topology plugin, share any
documentation available with you.

thanks


On Fri, Aug 1, 2014 at 9:56 PM, Landon Blake sunburned.surve...@gmail.com
wrote:

 Hey guys.

 I'm working on some CAD plug-ins for OpenJUMP. For a couple of the
 plug-ins I need the user to select first a primary LineString and then a
 secondary LineString. I've been peeking at the core source code and
 Javadoc this morning and can't find a place where this is done already.

 I'm thinking I can do this by creating a GUI panel with two buttons. The
 first button would activate the select features tool. I'd then grab the
 selected LineString. The second button would activate the select features
 tool a second time and would allow the user to grab the second LineString.

 Here are some questions:

 How do I return focus to my plug-in dialog after the user finishes
 selection with the SelectFeaturesTool? Can I do this with the built in
 tool, or do I need to create a custom cursor tool to do this?

 Thanks for the help! I'll make sure to share my code (and all of the CAD
 tools) when I'm finished.

 Thanks.

 Landon


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




-- 
Er. Sukhjit Singh Sehra
Assistant Professor
Dept of Computer Science Engg.
Guru Nanak Dev Engineering College, Ludhiana, Punjab
Mobile No:- 09855959200
*In your free time kindly visit Sikh-relics.com  -  A Gallery of Blessed
Relics of Sikh Guru Sahib
--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Selecting Sequential LineStrings

2014-08-11 Thread Landon Blake
Thanks for the responses Michael and Larry.

Landon


On Fri, Aug 1, 2014 at 2:21 PM, Michael Michaud m.michael.mich...@orange.fr
 wrote:

  Hi,

 What Larry describes looks like the way the following tool is working :

 Create a fence, select a feature in the fence, then the
 status bar prompt you to shift-click another point in
 the fence.

 Maybe you can take inspiration from this tool

 Michaël


Hi Landon,

Although I'm not an active developer much anymore, I recall having
 thought about this issue. My suggestion would be to use the status bar for
 prompts like select the primary linestring.  Then the user doesn't have
 to click extra buttons.

  My 2 cents.

  regards,

  Larry


 On Fri, Aug 1, 2014 at 11:26 AM, Landon Blake 
 sunburned.surve...@gmail.com wrote:

 Hey guys.

  I'm working on some CAD plug-ins for OpenJUMP. For a couple of the
 plug-ins I need the user to select first a primary LineString and then a
 secondary LineString. I've been peeking at the core source code and
 Javadoc this morning and can't find a place where this is done already.

  I'm thinking I can do this by creating a GUI panel with two buttons.
 The first button would activate the select features tool. I'd then grab the
 selected LineString. The second button would activate the select features
 tool a second time and would allow the user to grab the second LineString.

  Here are some questions:

  How do I return focus to my plug-in dialog after the user finishes
 selection with the SelectFeaturesTool? Can I do this with the built in
 tool, or do I need to create a custom cursor tool to do this?

  Thanks for the help! I'll make sure to share my code (and all of the
 CAD tools) when I'm finished.

  Thanks.

  Landon


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.http://p.sf.net/sfu/bds



 ___
 Jump-pilot-devel mailing 
 listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Selecting Sequential LineStrings

2014-08-01 Thread Landon Blake
Hey guys.

I'm working on some CAD plug-ins for OpenJUMP. For a couple of the plug-ins
I need the user to select first a primary LineString and then a
secondary LineString. I've been peeking at the core source code and
Javadoc this morning and can't find a place where this is done already.

I'm thinking I can do this by creating a GUI panel with two buttons. The
first button would activate the select features tool. I'd then grab the
selected LineString. The second button would activate the select features
tool a second time and would allow the user to grab the second LineString.

Here are some questions:

How do I return focus to my plug-in dialog after the user finishes
selection with the SelectFeaturesTool? Can I do this with the built in
tool, or do I need to create a custom cursor tool to do this?

Thanks for the help! I'll make sure to share my code (and all of the CAD
tools) when I'm finished.

Thanks.

Landon
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Selecting Sequential LineStrings

2014-08-01 Thread Larry Becker
Hi Landon,

  Although I'm not an active developer much anymore, I recall having
thought about this issue. My suggestion would be to use the status bar for
prompts like select the primary linestring.  Then the user doesn't have
to click extra buttons.

My 2 cents.

regards,

Larry


On Fri, Aug 1, 2014 at 11:26 AM, Landon Blake sunburned.surve...@gmail.com
wrote:

 Hey guys.

 I'm working on some CAD plug-ins for OpenJUMP. For a couple of the
 plug-ins I need the user to select first a primary LineString and then a
 secondary LineString. I've been peeking at the core source code and
 Javadoc this morning and can't find a place where this is done already.

 I'm thinking I can do this by creating a GUI panel with two buttons. The
 first button would activate the select features tool. I'd then grab the
 selected LineString. The second button would activate the select features
 tool a second time and would allow the user to grab the second LineString.

 Here are some questions:

 How do I return focus to my plug-in dialog after the user finishes
 selection with the SelectFeaturesTool? Can I do this with the built in
 tool, or do I need to create a custom cursor tool to do this?

 Thanks for the help! I'll make sure to share my code (and all of the CAD
 tools) when I'm finished.

 Thanks.

 Landon


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Selecting Sequential LineStrings

2014-08-01 Thread Michael Michaud

Hi,

What Larry describes looks like the way the following tool is working :

Create a fence, select a feature in the fence, then the
status bar prompt you to shift-click another point in
the fence.

Maybe you can take inspiration from this tool

Michaël



Hi Landon,

  Although I'm not an active developer much anymore, I recall having 
thought about this issue. My suggestion would be to use the status bar 
for  prompts like select the primary linestring.  Then the user 
doesn't have to click extra buttons.


My 2 cents.

regards,

Larry


On Fri, Aug 1, 2014 at 11:26 AM, Landon Blake 
sunburned.surve...@gmail.com mailto:sunburned.surve...@gmail.com 
wrote:


Hey guys.

I'm working on some CAD plug-ins for OpenJUMP. For a couple of the
plug-ins I need the user to select first a primary LineString
and then a secondary LineString. I've been peeking at the core
source code and Javadoc this morning and can't find a place where
this is done already.

I'm thinking I can do this by creating a GUI panel with two
buttons. The first button would activate the select features tool.
I'd then grab the selected LineString. The second button would
activate the select features tool a second time and would allow
the user to grab the second LineString.

Here are some questions:

How do I return focus to my plug-in dialog after the user finishes
selection with the SelectFeaturesTool? Can I do this with the
built in tool, or do I need to create a custom cursor tool to do this?

Thanks for the help! I'll make sure to share my code (and all of
the CAD tools) when I'm finished.

Thanks.

Landon


--
Want fast and easy access to all the code in your enterprise?
Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel