Skip to main content



      Home
Home » Modeling » Papyrus » How to edit .notation file by java
icon5.gif  How to edit .notation file by java [message #1720690] Wed, 20 January 2016 05:04
Eclipse UserFriend
In statemachine diagram I want to copy a uml element and paste it.
now, I know how to operator the uml file, for excample:
Region r = xxxxx;
State newState = EcoreUtil.copy(selectedState);
r.getSubvertices().add(newState);
selectedModel.eResource.save(null);

then, the selectedState will be copied and pasted to the selectedModel.The uml file will be changed. But, we can't see it in the diagram because the notation file is not modified.

how to add selectedState's copy info into the notation file?

I'm a fresh man.I don't know the papyrus's source
Previous Topic:Problems while creating a UML profile diagram
Next Topic:Unsetting stereotype optional properties
Goto Forum:
  


Current Time: Sun Jul 06 06:33:43 EDT 2025

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

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

Back to the top