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 03:02 Go to next message
Eclipse User
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 10:42 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IV
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 08:24 Go to previous messageGo to next message
Eclipse User
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 05:43 Go to previous message
Matthieu Wipliez is currently offline Matthieu Wipliez
Messages: 18
Registered: March 2010
Junior 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: Thu Jul 31 09:36:33 EDT 2014

Powered by FUDForum. Page generated in 0.01750 seconds