Hello all,
I am on imlementing a formular renderer based on a Emf class attributes. Currently the formular can find out all EAttributes and EReferences. My issue is eObject.eClass().getEAllAttributes() don't list me the enum attibutes. How can I access the enums?
EList<EAttribute> attributes = eObject.eClass().getEAllAttributes();
EList<EReference> eAllReferences = eObject.eClass().getEReferences();
for (EAttribute eAttribute : attributes) {
// Render attributes
}
for (EReference eReference : eAllReferences) {
// Render references
}
Are there something like eObject.eClass().getEEnums(); ?
Best regards
cim
--> Please close this thread the EAllAttributes() displayed all attributes of a class. I misunderstood that. Thanks.
[Updated on: Sun, 30 August 2020 04:22] by Moderator