[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modisco] Re: [Announce] Extended Model Browser

Hi Gabriel,

Looks great! Thanks for sharing this.

In fact I'd like to provide an extension to contribute custom names and icons to EObjects based on particular annotations in the respective EClasses (as per http://www.eclipse.org/gmt/epsilon/doc/Exeed.pdf). To do this, I would like to be able to specify my extensions not for a particular nsURI but for any nsURI.

In the current version, this is doesn't seem to be possible as each extension needs to define a specific nsURI (id). I was wondering if a future version of the editor could also provide support for a generic nsURI (e.g. "*") which I could use to define that my extension applies to any nsURI. In this case I suspect that the NameProvider and IconProvider interfaces might need to be enhanced to also support a providesName(EObject) and providesIcon(EObject) method respectively to allow such extensions specify exactly which EObjects they can provide names and icons for.

Any thoughts on this?

Cheers,
Dimitris

Gabriel wrote:
Hello,
And here we are, a first implementation of an extended model browser is available from MoDisco :


http://www.eclipse.org/gmt/modisco/toolBox/GenericModelEditor/
http://wiki.eclipse.org/MoDisco/ModelBrowser

Finally, new features may be found in this patch :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266425