Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:04
wang cheng is currently offline wang chengFriend
Messages: 1
Registered: January 2016
Junior Member
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: Sat Jul 11 18:59:26 GMT 2020

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

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

Back to the top