Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Right click top of the map

The method, which set context menu to right button was defined as final.. :(
But Abstract fits fine for me.

Thanks.

- Artsi

2009/9/24 Jody Garnett <jody.garnett@xxxxxxxxx>:
> Or just override the method ... SimpleTool javadocs should say that it
> provides a context menu. Glad you are on the correct track :-)
>
> Happy hacking,
> Jody
>
> On 24/09/2009, at 9:52 PM, Arto Pastinen wrote:
>
>> Ah i see the right button functionality is bound to selected tool..
>>
>> Currently i have made own tool to draw to features to map, i extend it
>> from:
>> net.refractions.udig.project.ui.tool.SimpleTool
>> which seems to add this functionality, so i will extend it from
>> AbstractModalTool
>> and it should fix it?
>>
>> Yes i am doing my own RCP application.
>>
>> Thanks.
>>
>> - Artsi
>>
>>
>> 2009/9/24 Jody Garnett <jody.garnett@xxxxxxxxx>:
>>>
>>> Can you be more specific? I think you mean the "context" menu - this is
>>> provided by the currently selected tool - and you can certainty provide a
>>> tool that does not have a context menu (the zoom tool is an example -
>>> where
>>> right clicking allows you to zoom out; and the left click allows you to
>>> zoom
>>> in).
>>>
>>> Can I assume you are producing your own RCP application?
>>>
>>> Jody
>>>
>>> On 24/09/2009, at 8:29 PM, Arto Pastinen wrote:
>>>
>>>> Hi,
>>>>
>>>> If i click with right button top of the map, some panel with tools is
>>>> opened, is there a way to disable this?
>>>>
>>>> thanks, Artsi
>>>> _______________________________________________
>>>> User-friendly Desktop Internet GIS (uDig)
>>>> http://udig.refractions.net
>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top