|Can markers have attributes not registered using org.eclipse.core.resources.markers? [message #500389]
||Wed, 25 November 2009 20:55
Originally posted by: peter.cigehn.telia.com|
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.
Powered by FUDForum
. Page generated in 0.12875 seconds