Model transformation on EditPart [message #1215872] |
Thu, 28 November 2013 03:17 |
Eclipse User |
|
|
|
Hi,
When objects attribute changed on diagram I need to model transformation on editpart of object;
my meta-model;
enum UIElementContext {
Edit = 0;
Display = 1;
}
abstract class UIFieldElement{
attr UIElementContext context;
ref content.NamedElement[1] contentField;
}
class TextInput extends UIFieldElement {
attr boolean multi;
}
class LabelField extends UIFieldElement {
}
here i want to when TextInput objects context set to display i want to change TextInput class to LabelField and vice versa so how can i done this on handleNotificationEvent method or on different method, class?
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.08978 seconds