Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Marker object contributions no longer work in 3.4
Marker object contributions no longer work in 3.4 [message #328242] Mon, 19 May 2008 19:59 Go to next message
Eclipse UserFriend
Originally posted by: george.adobe.com

Hey all,
We have a few object contributions to objectClass
org.eclipse.core.resources.IMarker so that we can add a couple of
custom menu items to the context menu of some errors in the problems
view from our builder. This worked great in eclipse pre-3.4 but now
seems to be broken. The problem appears to be that the selection items
are no longer markers but a new internal class to 3.4 called
MarkerEntry. It seems wrong to use this as the class to make an object
contribution to and even if i do it still doesn't work because i can't
filter the contribution based on properties of the marker like i could
before (using visibility specifier on object state for type, severity,
etc). Is there a different way I should be doing this for Eclipse 3.4??
I also found it very limiting even in 3.3 that i couldn't filter the
visibility based on custom attributes of the marker but only on a set
of like 4 baked in ones like type, severity, and message, but i'll take
it how it was before over not working at all..
any thoughts?
thanks!,
-george
Re: Marker object contributions no longer work in 3.4 [message #328409 is a reply to message #328242] Sat, 24 May 2008 06:48 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
George Comninos wrote:
> Hey all,
> We have a few object contributions to objectClass
> org.eclipse.core.resources.IMarker so that we can add a couple of
> custom menu items to the context menu of some errors in the problems
> view from our builder. This worked great in eclipse pre-3.4 but now
> seems to be broken. The problem appears to be that the selection items
> are no longer markers but a new internal class to 3.4 called
> MarkerEntry. It seems wrong to use this as the class to make an object
> contribution to and even if i do it still doesn't work because i can't
> filter the contribution based on properties of the marker like i could
> before (using visibility specifier on object state for type, severity,
> etc). Is there a different way I should be doing this for Eclipse
> 3.4?? I also found it very limiting even in 3.3 that i couldn't filter
> the visibility based on custom attributes of the marker but only on a
> set of like 4 baked in ones like type, severity, and message, but i'll
> take it how it was before over not working at all..
> any thoughts?
File a bug report.

Dani
> thanks!,
> -george
>
Previous Topic:How to bind Tab in plugin.xml for an editor.
Next Topic:Is IObservableValue sharable
Goto Forum:
  


Current Time: Sat Nov 09 05:16:06 GMT 2024

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

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

Back to the top