Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can markers have attributes not registered using org.eclipse.core.resources.markers?
Can markers have attributes not registered using org.eclipse.core.resources.markers? [message #500389] Wed, 25 November 2009 20:55
Eclipse User
Originally posted by: peter.cigehn.telia.com

Hi,

I wonder if it is possible to add an attribute to a marker (using
IMarker#setAttribute), without having explicitly registered that
attribute using the extension point org.eclipse.core.resources.markers?

I have tried this and the actual call to setAttribut seem to work. But
what are the consequences of not having the attribute explicitly
registered using the org.eclipse.core.resources.markers extension point?

I have tried reading the documentation, but cannot really find an answer
to the consequences if the attribute is not explicitly defined.

If it is possible to add additional non-registered attributes to a
marker, what is then the purpose of registering the attributes using the
org.eclipse.core.resources.markers extension point?

I know that you can define you own marker types, but what I am after is
to add additional non-registered attributes to existing and already
defined marker types.

/Peter Cigéhn
Previous Topic:Unknown source in stack trace
Next Topic:Developer/isv documentation in target platform
Goto Forum:
  


Current Time: Wed Oct 22 13:54:35 GMT 2014

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

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