[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-mtj-dev] API for JAD attributes
|
I was working on a fix for the bug on Jad editor coloring [1]. And while at it I was trying to add some feature the editor as well. I want to be able to identify keywords provided by spec. and vendors from those that are from application. I could not really see any API to read all the JAD attributes on the system. The closest I got was the JADAttributeRegistry which does not really provide any methods to retrieve them. I have added a method to JADAttributeRegisty to retrieve them so that I have a fix but I do not think this is a good solution. I would like to propose moving the jadattributes extension point and therefore the JADAttributeRegistry to mtj.core. We can also add an API to retrieve JADAttributes.
As an additional note I suspect that jadattributes extension point does not handle dynamically adding removing of the extensions. It looks like the values for jad providers are cached and never refreshed.
[1]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266131
--
Gorkem