Hi ! FlowPort flowPort = SysMLFactory.eInstance.createFlowPort(); myBlock.getOwnedAttribute().add(flowPort)
I hop this will help you Tristan Le 08/04/2010 22:47, [email protected] a écrit :
Is there a way to create Sysml flow ports using the Topcased Eclipse Plugin (not the editor)?I was only able to create UML Ports using the plugin: Port curPort = curBlock.createOwnedPort(name, *null*);There is a FlowPort class but it does not seem to have a create function or constructor. I tried to typecast Port to FlowPort but that resulted in an error. An example code to create a flowport and set its type would be very helpful.thanks sudha_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
<<attachment: tristan_faure.vcf>>
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
