[udig-devel] Custom Eclipse RCP application using Udig
Harry Bullen
hbullen at gmail.com
Tue May 27 09:37:36 PDT 2008
Hey the idea of being able to toggle off individual tools is a good
one. Our group breiflly talked about doing it but I didn't see a clean
way off doing it so we haven't been worrying about it. However, this
would reduce visual clutter and improve useabllity so keep posting how
it goes.
Harry William Bullen
On May 27, 2008, at 8:56 AM, Jody Garnett <jgarnett at refractions.net>
wrote:
> Hi Frederic; we don't add functionality to UDig until there is some
> who needs it. I am not sure if we have thought about how to turn on
> and off tools. I started doing that work but there was nobody around
> interested to test...
>
> So lets do so now ...
> 1. Tools are probably contributed via action sets; can you check how
> that is done? If we can make an action set with the same name as a
> tool category we should be able to toggle the actionset off for your
> persepective and hide the tool categorizes you don't need
> 2. There is a new way to do menus and toolbars is with expressions
> and context and that sort of thing; I need to figure it out more
>
> I made a couple "dynamic" menu entries (to process the tools into
> the menu tree) when a Map is enabled; we can make the check for a
> matchig actionset or context there. There is also an Eclipse RCP
> where the plugin.xml files are filtered abit allowing you to turn
> off anything you want (the code will still be there but it won't be
> picked up by the Platform).
>
> The Window menu is part of Eclipse RCP; while you don't have to use
> that in your app it is part of the eclipse user interface guidelines.
>
> You may want to start with an Eclipse RCP book; there are some docs
> in the wiki about customizing uDig but many of your questions are
> aimed at the menu extention points about which we both need to learn
> more.
> Jody
>
> Frederic Renard wrote:
>>
>> Hi every body,
>>
>> I wrote a stand alone RCP application who needs Udig. It work fine
>> when launched from my Eclipse IDE. But I have problems with
>> 'product' configuration. I 've searched 2 days …..
>>
>> - when I open my application I received this error : Error opening
>> the editor.Group not found: additions. I suppose some udig modules
>> are missings or not initialized , or not instanciated.
>>
>> I also search who to customize udig menu : I want to
>>
>> - suppress some tools like 'Delete feature', 'Create Polygon
>> Geometry',…
>>
>> - suppresse to level menus like 'Map','Data,'Window',
>>
>> - or supress some options into this menus.
>>
>> Probably all this operations are simple, but I didn't find tuto,
>> explainations ( or I didn't understand them) or examples.
>>
>> Is there a book about Udig customisation ?
>>
>> Best regards,
>>
>> Frederick
>>
>> ---
>> ---------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
More information about the udig-devel
mailing list