Place a custom figure into a compartment [message #922697] |
Tue, 25 September 2012 04:42  |
Eclipse User |
|
|
|
Hi,
for some reasons I have to insert a custom figure, which is actually an image (pointing to a class that extends ImageFigure), into a compartment. How can I achieve this, if at all possible? The problem is I cannot map a custom figure to a child reference, because it is not a feature that appears in the model. Could anyone give me some useful hints?
Thanks,
Chris
|
|
|
|
|
Re: Place a custom figure into a compartment [message #938309 is a reply to message #936828] |
Tue, 09 October 2012 14:59   |
Eclipse User |
|
|
|
Hi Ralph,
I admit, this needs more explanation. In my company we are using QFTest to verify the validity of the GMF diagrams. The catch is, the software only recognizes selectable objects on the diagram like nodes, labels and compartments, in other words components that can be edited. The information used for the object recognition is taken out of the XMI representation of the diagram (both, model and notation view element tags). Therefore images can not be detected, due to their absence. A very error-prone workaround is to locate these objects by position estimation. What i want to do is to put images into editable view elements, e.g.labels or compartments, without modifying the model, just to have a reference to the respective object. Maybe it became much clearer to you now.
Regards,
Chris
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04373 seconds