Problem with diagram initialization [message #1052921] |
Wed, 01 May 2013 12:05 |
Jacek Zebrowski Messages: 2 Registered: May 2013 |
Junior Member |
|
|
Hi,
I have a problem with a diagram initialization.
I need to create a solution that can be editable either on diagrams and on tree model.
My simplified model contains a Decision Problems with Connections beetween them and each Decision Problem should have a Solutions.
In the tree model this might look such as:
-DP1
---connection to DP2
---Solution S11
---Solution S12
-DP2
---Solution S21
On diagrams that should be visible as:
Diagram 1:
DP1->DP2
After Double click on DP1 second diagram should appear with:
S11<-DP1->S12
Problem is with sharing Model beetween two diagrams and Initialization of second diagram.
Here is one of my "solutions":
I have created a DPMap class that contains a Decision Problem, but after double click I need to pass an clicked object to second diagram, initialize it etc.
I have tried to open second diagram using the Diagram Partitioning solution from the Internet but this didn't work for me.
In this solution after doucle click on Decision Problem a DPMap object should be generated automatically, invisible in model and should contain referenced Decision Problem.
I think that solution might be overcomplicated and it didn't worked for me:(
It must be a simpler solution how can I achieve that. Could anyone help me with that, please?
[Updated on: Wed, 01 May 2013 13:40] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02257 seconds