[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: Modifying XXXStructuralFeaturesParser to work on different semantical elements; was: Re: Label icons and label display string using UML2 ecore model

Hi Michele!

Michele Puccio schrieb:
Hi Thomas!
thanks for your reply.
In the meantime I solved on my own...but I will have a look at your solution...
In my solution the type of a property is not editable, it is necessary to select the type in the property view (I think this is correct because the type of a property could be a valid type).
For operations, I can show an unknown number of input parameter and the type of the out parameter; but at moment I don't know how to allow adding parameter to an operation because the operation is mapped as a label in a compartment. so I need to add parameter from the model editor...any idea about that?

Currently I am working on a context menu entry for operations which starts a wizard for adding parameters to an operation.


Other possibility is to write a parser for attributes and operations which eventually creates missing types (or asks the user).

Thomas