Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [CNF] excludes takes precedence over includes
[CNF] excludes takes precedence over includes [message #517885] Tue, 02 March 2010 08:02 Go to next message
Eclipse UserFriend
Originally posted by: luzi.anderegg.ergon.ch

Hi,

I would like to exclude some action bindings from the project explorer
(e.g. org.eclipse.ui.navigator.resources.NewActions). In the
documentation, it states that when the includes and excludes statements
intersect, the excludes statement will be given precedence. I tried it with:
<extension
point="org.eclipse.ui.navigator.viewer">
<viewerActionBinding
viewerId="org.eclipse.ui.navigator.ProjectExplorer">
<excludes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.NewActions">
</actionExtension>
</excludes>
</viewerActionBinding>
</extension>

but no luck. Any ideas?

Thanks in advance,
Luzi
Re: [CNF] excludes takes precedence over includes [message #517966 is a reply to message #517885] Tue, 02 March 2010 15:42 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
Eclipse User wrote on Tue, 02 March 2010 00:02

but no luck. Any ideas?

Thanks in advance,
Luzi


Apparently it's broken:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=232860


Re: [CNF] excludes takes precedence over includes [message #518555 is a reply to message #517966] Thu, 04 March 2010 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: luzi.anderegg.ergon.ch

Will the bug be fixed in the next version? What is the proposed
alternative? If I rebuild the project explorer by myself, but like to
use the Command Framework instead of the old style actions, do I have to
write all the handlers (e.g. for delete, copy, ...) by myself or is
there a bridging class such that I can reuse the actions from the CNF?

Thanks again,
Luzi

Francis Upton schrieb:
> Eclipse User wrote on Tue, 02 March 2010 00:02
>> but no luck. Any ideas?
>>
>> Thanks in advance,
>> Luzi
>
>
> Apparently it's broken:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=232860
>
Re: [CNF] excludes takes precedence over includes [message #1273007 is a reply to message #518555] Wed, 19 March 2014 09:43 Go to previous message
Matthieu Wipliez is currently offline Matthieu WipliezFriend
Messages: 30
Registered: March 2010
Member
Hi Luzi,

I'm aware that this is a very, very late response, but I stumbled upon this bug myself a few weeks ago, and fixed it (mainly because there was nobody working on the navigator at that moment). In Luna M6, the Common Navigator Framework finally behaves as expected regarding exclusion of extensions.

Cheers,
Matthieu
Previous Topic:Perspective for Editor Tabbed with Views
Next Topic:How is BadLocationException possible?
Goto Forum:
  


Current Time: Fri Apr 19 21:21:41 GMT 2024

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

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

Back to the top