| [news.eclipse.tools.emf] Re: Does a datatype describing the name of a EStructuralFeature exist? |
Hi Ed,
Regards, Mickael
Mickael,
Please use the EMF newsgroup for questions about EMF. I've added it to the "to" list of the reply. More comments below.
Mickael Istria wrote:No. EcoreUtil.getURI(eStructuralFeature) would give you a single unique string you could use to represent a feature. You could use resourceSet.getEObject(<uri>) to resolve that string to the feature object...Hello,
I added an extension point in our EMF-based plugin (JWT) to allow to use custom property editors in property sheets. (More details on bug 240499)
To be able to define the the name of the EStructuralFeature the extension is targetting, I created a custom type:
public class FeatureFullDescription { private String featureName; private String className; private String packageName; // .... }
My question is: Does such a type already exists in EMF ? (if yes, I'd rather use it to avoid duplication)
Thanks in advance Mickael