Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Tigerstripe » UML/EMX
UML/EMX [message #564813] Fri, 22 January 2010 11:48
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India
Member

Hi All;

I am trying to create Class Diagram in RSM programatically by APIs suggested in topic "Generating UML models programmatically by using IBM Rational Software Architect"

http://www.ibm.com/developerworks/rational/library/08/0826_m akady/

Every thing is working fine except UML Association between Classes. The code snippets are as....


IUMLDiagramHelper diagramHelper = UMLModeler.getUMLDiagramHelper();
Diagram diagram = diagramHelper.createDiagram(model, UMLDiagramKind.CLASS_LITERAL);

Class mainClass, subClass;
Node mainNode, subNode;

..........................................................
.........................................................

Association association = mainClass.createAssociation( end1IsNavigable, end1Aggregation, end1Name,
end1LowerBound, end1UpperBound, type2, end2IsNavigable,
end2Aggregation, end2Name, end2LowerBound, end2UpperBound);

diagramHelper.createEdge(mainNode, subNode, association);



When end1Name & end2Name arguments have empty value, then opening diagram displays error message "IRJA0244E <Property> ......... must be named.", All changes is reverted, & not saved automatically..

But same Association object is fine with Eclispe 3.4 UML Class diagram..

please help me out, If you have any idea.
Thanks in Advance
Previous Topic:Problem using tigerstripe with Eclipse 3.5.1
Next Topic:UML/EMX
Goto Forum:
  


Current Time: Fri Sep 30 13:34:23 GMT 2016

Powered by FUDForum. Page generated in 0.01728 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software