[EMF Forms] Reference Selection Popup Behaviour Curious [message #1771521] |
Sat, 26 August 2017 12:02  |
Eclipse User |
|
|
|
I'm trying a minimal setup for a Eclipse Forms application but I can't figure out, why I get different behaviour from "Control", "Table Control" and "Tree Master Detail". In Control my idea is working, in the other two not. But from beginning.
I have two plugin projects in Eclipse. One contains an model.ecore. The other contains the model.view file. I use only Preview functionality of the .view to see results.
Model:
Package
|- RootObject
||- reference(containing) Object1
||- reference(containing) abstract Object 2
|
|- Object 1
||- String name
||- reference Object 2
|
|- abstract Object 2
|- Object 21 extends Object 2
|- Object 22 extends Object 2
Good Case:
The View of my Form references to the root object. The Control inside the view references to the Object 1 reference. In this scenario I can use in preview the add button, create new instances of Object 1 and via the Reference to Object 2 I can select whether to reference to an existing one or create a new Object 21 or 22. Everything works perfectly as expected.
Bad Case:
To get an easier overview I created a Table Control. The name of Object 1 showed up out of the box and was working fine. The reference to Object 2 did show up after I created the column manually. In the preview of the form I was able to use the (+) button to create new Objects 2 but the reference to an existing Object 2 did not work.
Same behaviour with master detail view.
Do you have any idea why this might happen?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03650 seconds