Want to add a new toolbar to udig application

View: New views
8 Messages — Rating Filter:   Alert me  

Want to add a new toolbar to udig application

by Rahul A Kulkarni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I want to add a new toolbar to udig application and add new tools to that toolbar.
Is there a way udig support this?

Thanks,

Rahul

Re: Want to add a new toolbar to udig application

by Jody Garnett-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eclipse applications only have one main toolbar which is configured  
with Action Sets. You will need to read the eclipse documentation to  
see if you can do more?

Ideas:
- I use a view and add both UI feedback; and the tools for that UI in  
one spot (example InfoTool and InfoView; Selection and TableView).
- I would like to move the Editor tools into a Palette as you see in  
the Page editor

Jody

You can
On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:

>
> Hi
>
> I want to add a new toolbar to udig application and add new tools to  
> that
> toolbar.
> Is there a way udig support this?
>
> Thanks,
>
> Rahul
> --
> View this message in context: http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> 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

Re: Want to add a new toolbar to udig application

by Rahul A Kulkarni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks,

Is there a way I can hide a toolbar view or move it to some other location?

Regards,

Rahul

Jody Garnett-3 wrote:
Eclipse applications only have one main toolbar which is configured  
with Action Sets. You will need to read the eclipse documentation to  
see if you can do more?

Ideas:
- I use a view and add both UI feedback; and the tools for that UI in  
one spot (example InfoTool and InfoView; Selection and TableView).
- I would like to move the Editor tools into a Palette as you see in  
the Page editor

Jody

You can
On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:

>
> Hi
>
> I want to add a new toolbar to udig application and add new tools to  
> that
> toolbar.
> Is there a way udig support this?
>
> Thanks,
>
> Rahul
> --
> View this message in context: http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> 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

Re: Want to add a new toolbar to udig application

by Jody Garnett-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You will need to check the eclipse docs; the abilities of the toolbars  
and other functionality changes each release. I know I can turn off  
and on the perspective view now for example but before you could not.  
The functionality should be in online help under "cool bar"; not sure  
what is cool about them but whatever.

I will also repeate that the "main" application toolbar is controlled  
with Actions and Actionsets (or with contributions like a menu) and  
not really something to be turned on and off. You would be setting up  
your own toolbar in an alternate location and would populate it as you  
see fit.

Cheers,
Jody

On 26/10/2009, at 9:12 PM, Rahul A Kulkarni wrote:

>
> Thanks,
>
> Is there a way I can hide a toolbar view or move it to some other  
> location?
>
> Regards,
>
> Rahul
>
>
> Jody Garnett-3 wrote:
>>
>> Eclipse applications only have one main toolbar which is configured
>> with Action Sets. You will need to read the eclipse documentation to
>> see if you can do more?
>>
>> Ideas:
>> - I use a view and add both UI feedback; and the tools for that UI in
>> one spot (example InfoTool and InfoView; Selection and TableView).
>> - I would like to move the Editor tools into a Palette as you see in
>> the Page editor
>>
>> Jody
>>
>> You can
>> On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:
>>
>>>
>>> Hi
>>>
>>> I want to add a new toolbar to udig application and add new tools to
>>> that
>>> toolbar.
>>> Is there a way udig support this?
>>>
>>> Thanks,
>>>
>>> Rahul
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
>>> Sent from the udig-devel mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26057135.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> 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

Re: Want to add a new toolbar to udig application

by Erdal Karaca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would suggest to use the eclipse menu contributions extension points [1].
This is the preferred way of contributing/adding new toolbars/menus/popup menus since 3.4.
If you use [1], this will enable you to use visibleWhen which can be set to declaratively hide/show a menu contribution based on an eclipse expression.
Moreover, you will be able to add a new toolbar and add your contributions.

About the "cool bar": I was told by an eclipse platform programmer that this "terminology" was not meant to become official, it has just leaked through the api :-)

[1] http://wiki.eclipse.org/index.php/Menu_Contributions



2009/10/26 Jody Garnett <jody.garnett@...>
You will need to check the eclipse docs; the abilities of the toolbars and other functionality changes each release. I know I can turn off and on the perspective view now for example but before you could not. The functionality should be in online help under "cool bar"; not sure what is cool about them but whatever.

I will also repeate that the "main" application toolbar is controlled with Actions and Actionsets (or with contributions like a menu) and not really something to be turned on and off. You would be setting up your own toolbar in an alternate location and would populate it as you see fit.

Cheers,
Jody


On 26/10/2009, at 9:12 PM, Rahul A Kulkarni wrote:


Thanks,

Is there a way I can hide a toolbar view or move it to some other location?

Regards,

Rahul


Jody Garnett-3 wrote:

Eclipse applications only have one main toolbar which is configured
with Action Sets. You will need to read the eclipse documentation to
see if you can do more?

Ideas:
- I use a view and add both UI feedback; and the tools for that UI in
one spot (example InfoTool and InfoView; Selection and TableView).
- I would like to move the Editor tools into a Palette as you see in
the Page editor

Jody

You can
On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:


Hi

I want to add a new toolbar to udig application and add new tools to
that
toolbar.
Is there a way udig support this?

Thanks,

Rahul
--
View this message in context:
http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
Sent from the udig-devel mailing list archive at Nabble.com.

_______________________________________________
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



--
View this message in context: http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26057135.html
Sent from the udig-devel mailing list archive at Nabble.com.

_______________________________________________
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

Re: Want to add a new toolbar to udig application

by Rahul Kulkarni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Guys,

Appologies for late response.

By using actionSet I can show or hide set of tools. Is there a way in which I can change the location of those set of tools or atleast show them on the new line?

Regards,

Rahul

Jody Garnett-3 wrote:
You will need to check the eclipse docs; the abilities of the toolbars  
and other functionality changes each release. I know I can turn off  
and on the perspective view now for example but before you could not.  
The functionality should be in online help under "cool bar"; not sure  
what is cool about them but whatever.

I will also repeate that the "main" application toolbar is controlled  
with Actions and Actionsets (or with contributions like a menu) and  
not really something to be turned on and off. You would be setting up  
your own toolbar in an alternate location and would populate it as you  
see fit.

Cheers,
Jody

On 26/10/2009, at 9:12 PM, Rahul A Kulkarni wrote:

>
> Thanks,
>
> Is there a way I can hide a toolbar view or move it to some other  
> location?
>
> Regards,
>
> Rahul
>
>
> Jody Garnett-3 wrote:
>>
>> Eclipse applications only have one main toolbar which is configured
>> with Action Sets. You will need to read the eclipse documentation to
>> see if you can do more?
>>
>> Ideas:
>> - I use a view and add both UI feedback; and the tools for that UI in
>> one spot (example InfoTool and InfoView; Selection and TableView).
>> - I would like to move the Editor tools into a Palette as you see in
>> the Page editor
>>
>> Jody
>>
>> You can
>> On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:
>>
>>>
>>> Hi
>>>
>>> I want to add a new toolbar to udig application and add new tools to
>>> that
>>> toolbar.
>>> Is there a way udig support this?
>>>
>>> Thanks,
>>>
>>> Rahul
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
>>> Sent from the udig-devel mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26057135.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> 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

Re: Want to add a new toolbar to udig application

by Rahul A Kulkarni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Guys,

Appologies for late response.

By using actionSet I can show or hide set of tools. Is there a way in which I can change the location of those set of tools or atleast show them on the new line?

Regards,

Rahul

Erdal Karaca wrote:
I would suggest to use the eclipse menu contributions extension points [1].
This is the preferred way of contributing/adding new toolbars/menus/popup
menus since 3.4.
If you use [1], this will enable you to use visibleWhen which can be set to
declaratively hide/show a menu contribution based on an eclipse expression.
Moreover, you will be able to add a new toolbar and add your contributions.

About the "cool bar": I was told by an eclipse platform programmer that this
"terminology" was not meant to become official, it has just leaked through
the api :-)

[1] http://wiki.eclipse.org/index.php/Menu_Contributions



2009/10/26 Jody Garnett <jody.garnett@gmail.com>

> You will need to check the eclipse docs; the abilities of the toolbars and
> other functionality changes each release. I know I can turn off and on the
> perspective view now for example but before you could not. The functionality
> should be in online help under "cool bar"; not sure what is cool about them
> but whatever.
>
> I will also repeate that the "main" application toolbar is controlled with
> Actions and Actionsets (or with contributions like a menu) and not really
> something to be turned on and off. You would be setting up your own toolbar
> in an alternate location and would populate it as you see fit.
>
> Cheers,
> Jody
>
>
> On 26/10/2009, at 9:12 PM, Rahul A Kulkarni wrote:
>
>
>> Thanks,
>>
>> Is there a way I can hide a toolbar view or move it to some other
>> location?
>>
>> Regards,
>>
>> Rahul
>>
>>
>> Jody Garnett-3 wrote:
>>
>>>
>>> Eclipse applications only have one main toolbar which is configured
>>> with Action Sets. You will need to read the eclipse documentation to
>>> see if you can do more?
>>>
>>> Ideas:
>>> - I use a view and add both UI feedback; and the tools for that UI in
>>> one spot (example InfoTool and InfoView; Selection and TableView).
>>> - I would like to move the Editor tools into a Palette as you see in
>>> the Page editor
>>>
>>> Jody
>>>
>>> You can
>>> On 26/10/2009, at 5:01 PM, Rahul A Kulkarni wrote:
>>>
>>>
>>>> Hi
>>>>
>>>> I want to add a new toolbar to udig application and add new tools to
>>>> that
>>>> toolbar.
>>>> Is there a way udig support this?
>>>>
>>>> Thanks,
>>>>
>>>> Rahul
>>>> --
>>>> View this message in context:
>>>>
>>>> http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26054898.html
>>>> Sent from the udig-devel mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/Want-to-add-a-new-toolbar-to-udig-application-tp26054898p26057135.html
>> Sent from the udig-devel mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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

Re: Want to add a new toolbar to udig application

by Jokela Pirkka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'd really like to know any solution to your problem, Rahul, and as a further question I'd like to know is it possible to use the "normal" menu extension point "org.eclipe.ui.menus" for the uDig tools instead of the uDig specific "net.refractions.udig.project.ui.tool"?

The uDig tool extension point was probably needed in the older Eclipses, but with 3.5 the standard extension points offer similar functionality so I think it would be great to use that to add the uDig tools to the toolbar in addition to using it for our own tools.

Is anyone interested in writing some kind of a wrapper for the uDig tools to allow using them with the Eclipse command framework?


Regards,

                Pirkka Jokela



-----Original Message-----
From: udig-devel-bounces@... [mailto:udig-devel-bounces@...] On Behalf Of Rahul A Kulkarni
Sent: Wednesday, November 04, 2009 7:28 AM
To: udig-devel@...
Subject: Re: [udig-devel] Want to add a new toolbar to udig application


Thanks Guys,

Appologies for late response.

By using actionSet I can show or hide set of tools. Is there a way in which
I can change the location of those set of tools or atleast show them on the
new line?

Regards,

Rahul
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel