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

Reply via email to