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 Kushwaha
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


Regards,
Kishore
Previous Topic:Problem using tigerstripe with Eclipse 3.5.1
Next Topic:UML/EMX
Goto Forum:
  


Current Time: Thu Oct 23 02:35:30 GMT 2014

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

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