Adding child not supported by GMF [message #162912] |
Tue, 27 November 2007 18:21 |
Eclipse User |
|
|
|
Originally posted by: ali.akar.geensys.com
hello,
I will describe the context :
I have a System which contains processes. Each process is typed by a
ProcessType. ProcessType has ports. Many processes can be typed by one
ProcessType. here is an xml description :
<PACKAGE xmlns="http://myModel.org/1.3">
<ELEMENTS>
<SYSTEM>
<NAME>mySystem</NAME>
<COMPONENTS>
<PROCESS>
<NAME>myProcess</NAME>
<type>myProcessType</type>
</PROCESS>
</COMPONENTS>
</SYSTEM>
<PROCESS-TYPE>
<NAME>myProcessType</NAME>
<PORTS>
<P-PORT>
<NAME>Port1</NAME>
</P-PORT>
<P-PORT>
<NAME>port2</NAME>
</P-PORT>
</PORTS>
</PROCESS-TYPE>
</ELEMENTS>
</PACKAGE>
I want to show on each process figure the ports of his type. on the
processEditPart I can get the list of ports and then ???
any idea ?
thx in advance
Ali
|
|
|
Powered by
FUDForum. Page generated in 0.02788 seconds