|Programmetic Create Connetor between Port [message #590712]
||Mon, 26 February 2007 09:51
Registered: July 2009
Hi, Thanks for help me gettting started with the uml2.|
Now I meet some problem to create two port and create a connector
Suppose I have myport1 owned by myClass1 and myPort2 Owned by myClass2,
then I create a connector by :
Connector myConnector = UMLFactory.eINSTANCE.createConnector();
Now I would create the two ends for myConnector, if I use
"myConnector.createEnd", how could I ensure that these two ends are
attached to "myPort1" and "myPort2", respectively?
Thanks a lot!
Powered by FUDForum
. Page generated in 0.20422 seconds