At the moment it requires restart but I think we could add a mechanism to 
rebuild the toolbar by modifying super class



Sent from my iPad

On May 25, 2011, at 14:02, andrea antonello <[email protected]> wrote:

> Hi Jesse,
> I was going over your toolbar customization.
> 
> Nice and clean. I have one question. Does this also work at runtime? I
> mean, would it be possible to make a dialog inside which to present
> the different toolbars and give to the user the possibility to hide
> some and view others? Or does that one require to restart?
> 
> Ciao,
> Andrea
> 
> PS: the filter to load the file at startup needs to be "*.shp" instead of 
> "shp".
> 
> 
> 
> On Wed, May 25, 2011 at 1:47 PM, andrea antonello
> <[email protected]> wrote:
>> Nevermind, found it there.
>> 
>> Ciao,
>> Andrea
>> 
>> On Wed, May 25, 2011 at 1:43 PM, andrea antonello
>> <[email protected]> wrote:
>>> Hi Jesse,
>>> can't find the eu.udig.tutorials.tool-view tutorial, is it on your own 
>>> clone?
>>> 
>>> Andrea
>>> 
>>> On Tue, May 24, 2011 at 2:19 PM, andrea antonello
>>> <[email protected]> wrote:
>>>> Hi Jesse,
>>>> 
>>>>> Actually the toolbar is not controlled by action sets at the moment.
>>>>> It is controlled by the ToolbarManager which can be controlled by an
>>>>> initialization parameter.  It is pretty terrible that the
>>>>> ToolbarManager is a singleton instance so all perspectives share the
>>>>> same instance.
>>>> 
>>>> ok, that answers my questions and makes me want to cry.
>>>> No reuse of the good customize perspective dialog... :(
>>>> 
>>>>> See the eu.udig.tutorials.tool-view tutorial plugin for an example of
>>>>> customizing the toolbar.
>>>> 
>>>> I will have a look at it, thanks,
>>>> Andrea
>>>> 
>>>> 
>>>>> 
>>>>> Jesse
>>>>> 
>>>>> On Tue, May 24, 2011 at 1:55 PM, Jody Garnett <[email protected]> 
>>>>> wrote:
>>>>>> Two and a half answers.
>>>>>> Answer 1:
>>>>>> The contents of the toolbars are already controllable using action sets;
>>>>>> which you should be able to turn on and off as you switch perspectives.
>>>>>> Answer 1.5:
>>>>>> There is a toolbar contributor defined as part of the MapEditor; it 
>>>>>> grinds
>>>>>> through the extension point and sets things up. You may need to kick so 
>>>>>> that
>>>>>> it redoes the toolbar contributions when the action sets change?
>>>>>> Answer 2:
>>>>>> Can we switch to using palette view please :-) I have been using
>>>>>> wireframesketcher and am really liking how they function.
>>>>>> 
>>>>>> --
>>>>>> Jody Garnett
>>>>>> 
>>>>>> On Tuesday, 24 May 2011 at 6:50 PM, andrea antonello wrote:
>>>>>> 
>>>>>> Hi everyone,
>>>>>> I am thinking about that for ages now, but obviously not being a
>>>>>> blocker and also not being funded, this has gone don't the pile.
>>>>>> Nevertheless I think that also after the case of the georeferencing
>>>>>> module icon chat this is topic again.
>>>>>> 
>>>>>> How can we get some order in the toolsbars. Is it possible to
>>>>>> customize perspectives like we do every day in eclipse? (Example [0])
>>>>>> 
>>>>>> Maybe it is just an extention that takes care of all that in which
>>>>>> case i would highly suggest to add it to uDig. Does anyone know more
>>>>>> about it or has any experience at all?
>>>>>> 
>>>>>> Thanks,
>>>>>> Andrea
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> [0]
>>>>>> http://www.vasanth.in/2009/06/16/eclipse-tip-customize-menus-and-toolbars/
>>>>>> _______________________________________________
>>>>>> 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

Reply via email to