Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Does the Common Navigator Framework (CNF) support Capabilities?
Does the Common Navigator Framework (CNF) support Capabilities? [message #333314] Wed, 03 December 2008 21:50 Go to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hi all...

I'm attempting to implement a very high level capability for DTP to meet a
Galileo Must Do and have it working except where menu items are being
provided by action providers using the Common Navigator Framework (CNF).

Does anyone know if the CNF supports capabilities?

My simple capability filter takes care of 90% of all menu items (contributed
using popup menu contributions, etc), views, and perspectives. But it
doesn't seem to catch those few menus provided by the action providers.

Just curious. I can file a bug if need be. Or if it's something I'm doing
(like not providing an appropriate action ID), I can try to fix that.

Thanks in advance!
--Fitz

------------------------------------------------------------ ----
Brian Fitzpatrick
DTP PMC Chair, Connectivity & Enablement Team Lead
Re: Does the Common Navigator Framework (CNF) support Capabilities? [message #333319 is a reply to message #333314] Thu, 04 December 2008 03:58 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
The base CNF does not define action at all.

However the project explorer does define a bunch of actions to work with
resources. So they should be properly influenced by the activities
(capabilities) mechanism.

I guess I need some more detail about exactly which actions do you
expect to be suppressed and which ids you are using to suppress them.

If you can provide that, I think I can figure out what's going on.

Francis


Brian Fitzpatrick wrote:
> Hi all...
>
> I'm attempting to implement a very high level capability for DTP to meet a
> Galileo Must Do and have it working except where menu items are being
> provided by action providers using the Common Navigator Framework (CNF).
>
> Does anyone know if the CNF supports capabilities?
>
> My simple capability filter takes care of 90% of all menu items (contributed
> using popup menu contributions, etc), views, and perspectives. But it
> doesn't seem to catch those few menus provided by the action providers.
>
> Just curious. I can file a bug if need be. Or if it's something I'm doing
> (like not providing an appropriate action ID), I can try to fix that.
>
> Thanks in advance!
> --Fitz
>
> ------------------------------------------------------------ ----
> Brian Fitzpatrick
> DTP PMC Chair, Connectivity & Enablement Team Lead
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: Does the Common Navigator Framework (CNF) support Capabilities? [message #333345 is a reply to message #333319] Thu, 04 December 2008 14:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hey Francis!

Understood that the framework doesn't provide actions directly. But I have
an action provider that's providing a number of actions programmatically to
the Data Source Explorer (also based on the CNF).

Even when I explicitly set the ID of the action to something that should be
filtered out by the capability, it doesn't catch it.

Does it depend on where (or when) the ID for the action created in the
action provider is created?

Or should it filter out the action provider by ID?

--Fitz

"Francis Upton (News)" <francisu@ieee.org> wrote in message
news:49375548.6050403@ieee.org...
> The base CNF does not define action at all.
>
> However the project explorer does define a bunch of actions to work with
> resources. So they should be properly influenced by the activities
> (capabilities) mechanism.
>
> I guess I need some more detail about exactly which actions do you expect
> to be suppressed and which ids you are using to suppress them.
>
> If you can provide that, I think I can figure out what's going on.
>
> Francis
>
>
> Brian Fitzpatrick wrote:
>> Hi all...
>>
>> I'm attempting to implement a very high level capability for DTP to meet
>> a Galileo Must Do and have it working except where menu items are being
>> provided by action providers using the Common Navigator Framework (CNF).
>>
>> Does anyone know if the CNF supports capabilities?
>>
>> My simple capability filter takes care of 90% of all menu items
>> (contributed using popup menu contributions, etc), views, and
>> perspectives. But it doesn't seem to catch those few menus provided by
>> the action providers.
>>
>> Just curious. I can file a bug if need be. Or if it's something I'm doing
>> (like not providing an appropriate action ID), I can try to fix that.
>>
>> Thanks in advance!
>> --Fitz
>>
>> ------------------------------------------------------------ ----
>> Brian Fitzpatrick
>> DTP PMC Chair, Connectivity & Enablement Team Lead
>
>
> --
> *new* Common Navigator Framework section in:
> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
> http://dev.eclipse.org/blogs/francis
> http://wiki.eclipse.org/Common_Navigator_Framework
> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>
>
> You have brains in your head.
> You have feet in your shoes.
> - Dr Seuss, Oh the Places You'll Go
Re: Does the Common Navigator Framework (CNF) support Capabilities? [message #333349 is a reply to message #333345] Thu, 04 December 2008 17:27 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I'm going to have to get some help with this because I don't understand
how the capability mechanism actually filters the actions. I can't find
any code in the CNF that does it. Let me find some platform UI person
who is smarter than me to ask.

Brian Fitzpatrick wrote:
> Hey Francis!
>
> Understood that the framework doesn't provide actions directly. But I have
> an action provider that's providing a number of actions programmatically to
> the Data Source Explorer (also based on the CNF).
>
> Even when I explicitly set the ID of the action to something that should be
> filtered out by the capability, it doesn't catch it.
>
> Does it depend on where (or when) the ID for the action created in the
> action provider is created?
>
> Or should it filter out the action provider by ID?
>
> --Fitz
>
> "Francis Upton (News)" <francisu@ieee.org> wrote in message
> news:49375548.6050403@ieee.org...
>> The base CNF does not define action at all.
>>
>> However the project explorer does define a bunch of actions to work with
>> resources. So they should be properly influenced by the activities
>> (capabilities) mechanism.
>>
>> I guess I need some more detail about exactly which actions do you expect
>> to be suppressed and which ids you are using to suppress them.
>>
>> If you can provide that, I think I can figure out what's going on.
>>
>> Francis
>>
>>
>> Brian Fitzpatrick wrote:
>>> Hi all...
>>>
>>> I'm attempting to implement a very high level capability for DTP to meet
>>> a Galileo Must Do and have it working except where menu items are being
>>> provided by action providers using the Common Navigator Framework (CNF).
>>>
>>> Does anyone know if the CNF supports capabilities?
>>>
>>> My simple capability filter takes care of 90% of all menu items
>>> (contributed using popup menu contributions, etc), views, and
>>> perspectives. But it doesn't seem to catch those few menus provided by
>>> the action providers.
>>>
>>> Just curious. I can file a bug if need be. Or if it's something I'm doing
>>> (like not providing an appropriate action ID), I can try to fix that.
>>>
>>> Thanks in advance!
>>> --Fitz
>>>
>>> ------------------------------------------------------------ ----
>>> Brian Fitzpatrick
>>> DTP PMC Chair, Connectivity & Enablement Team Lead
>>
>> --
>> *new* Common Navigator Framework section in:
>> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
>> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
>> http://dev.eclipse.org/blogs/francis
>> http://wiki.eclipse.org/Common_Navigator_Framework
>> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>>
>>
>> You have brains in your head.
>> You have feet in your shoes.
>> - Dr Seuss, Oh the Places You'll Go
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: Does the Common Navigator Framework (CNF) support Capabilities? [message #333352 is a reply to message #333345] Thu, 04 December 2008 18:36 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I have talked with the smart people and done my own research, and seems
the there are some changes that need to be made to make this work.

Please file a bug about this.

Thanks!

Brian Fitzpatrick wrote:
> Hey Francis!
>
> Understood that the framework doesn't provide actions directly. But I have
> an action provider that's providing a number of actions programmatically to
> the Data Source Explorer (also based on the CNF).
>
> Even when I explicitly set the ID of the action to something that should be
> filtered out by the capability, it doesn't catch it.
>
> Does it depend on where (or when) the ID for the action created in the
> action provider is created?
>
> Or should it filter out the action provider by ID?
>
> --Fitz
>
> "Francis Upton (News)" <francisu@ieee.org> wrote in message
> news:49375548.6050403@ieee.org...
>> The base CNF does not define action at all.
>>
>> However the project explorer does define a bunch of actions to work with
>> resources. So they should be properly influenced by the activities
>> (capabilities) mechanism.
>>
>> I guess I need some more detail about exactly which actions do you expect
>> to be suppressed and which ids you are using to suppress them.
>>
>> If you can provide that, I think I can figure out what's going on.
>>
>> Francis
>>
>>
>> Brian Fitzpatrick wrote:
>>> Hi all...
>>>
>>> I'm attempting to implement a very high level capability for DTP to meet
>>> a Galileo Must Do and have it working except where menu items are being
>>> provided by action providers using the Common Navigator Framework (CNF).
>>>
>>> Does anyone know if the CNF supports capabilities?
>>>
>>> My simple capability filter takes care of 90% of all menu items
>>> (contributed using popup menu contributions, etc), views, and
>>> perspectives. But it doesn't seem to catch those few menus provided by
>>> the action providers.
>>>
>>> Just curious. I can file a bug if need be. Or if it's something I'm doing
>>> (like not providing an appropriate action ID), I can try to fix that.
>>>
>>> Thanks in advance!
>>> --Fitz
>>>
>>> ------------------------------------------------------------ ----
>>> Brian Fitzpatrick
>>> DTP PMC Chair, Connectivity & Enablement Team Lead
>>
>> --
>> *new* Common Navigator Framework section in:
>> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
>> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
>> http://dev.eclipse.org/blogs/francis
>> http://wiki.eclipse.org/Common_Navigator_Framework
>> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>>
>>
>> You have brains in your head.
>> You have feet in your shoes.
>> - Dr Seuss, Oh the Places You'll Go
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Previous Topic:Defining DropTargetListener to ProjectExplorer tree
Next Topic:Menu URI to make contributions to Context menu on Coolbar.
Goto Forum:
  


Current Time: Thu Apr 25 13:55:52 GMT 2024

Powered by FUDForum. Page generated in 0.02755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top