Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Saving uml model(Where are saved components of particular uml model)
Saving uml model [message #1761327] Tue, 09 May 2017 17:54 Go to next message
Andrii Vodvud is currently offline Andrii VodvudFriend
Messages: 6
Registered: April 2017
Junior Member
Hello for everyone.

I'm trying to understand how are saved components of uml models for develop other one project.
I'm starting from Validation View in eclipse window.
My path looks like:
1. ValidationView.fixInstance.perform()
(package org.eclipse.epsilon.evl.dt.views) ->
2. context.getModelRepository().getTransactionSupport().commitTransaction()
(org.eclipse.epsilon.evl.execute) ->
3. model.getTransactionSupport().commitTransaction()
org.eclipse.epsilon.eol.models.transactions ->
4. activeTransactionTree.getTransaction().commit()
org.eclipse.epsilon.eol.models.transactions ->
5. changeRecorder.endRecording()
org.eclipse.epsilon.emc.emf.transactions ->
6. consolidateChanges()
org.eclipse.emf.ecore.change.util ->
7. finalizeChange (for both cases ResourceChange and FeatureChange, EObject )
org.eclipse.emf.ecore.change.util ->
8. EStructuralFeature feature

Am i good understanding, that interface EStructuralFeature collects uml models?
Re: Saving uml model [message #1761328 is a reply to message #1761327] Tue, 09 May 2017 17:57 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Andril,

I'm not sure I understand what you're trying to achieve or why you need to use transactions. Could you please elaborate a bit more with a concrete example?

> Am i good understanding, that interface EStructuralFeature collects UML models?

This doesn't sound right. EStructuralFeature is an abstract supertype of EAttribute and EReference in Ecore - it doesn't have anything to do with UML.

Cheers,
Dimitris
Re: Saving uml model [message #1761333 is a reply to message #1761328] Tue, 09 May 2017 18:30 Go to previous messageGo to next message
Andrii Vodvud is currently offline Andrii VodvudFriend
Messages: 6
Registered: April 2017
Junior Member
Thank You for answer.

I want to know where is stored old uml model, with some faults, for future change. Because, i guess, that epsilon stores particular uml in some class.

Is my opinion correct?
Re: Saving uml model [message #1761334 is a reply to message #1761333] Tue, 09 May 2017 18:33 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Andrii,

Sorry - I don't think I understand what you mean by "store old UML models for future change". Perhaps a minimal example [1] would help clarify things.

Cheers,
Dimitris

[1] https://www.eclipse.org/epsilon/doc/articles/minimal-examples/

[Updated on: Tue, 09 May 2017 18:34]

Report message to a moderator

Previous Topic:[EVL] Can a context ever be depended on/have dependencies?
Next Topic:EVL and xmi:ids
Goto Forum:
  


Current Time: Fri Apr 19 21:41:34 GMT 2024

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

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

Back to the top