[Edapt] Create a History programmatically [message #1693504] |
Fri, 24 April 2015 11:24  |
Eclipse User |
|
|
|
Hi,
Thank you for your answers so far on Edapt !
I am currently working on a project that programmatically edits metamodels. I would like to jointly edit the history so it takes the programmatic metamodel changes into account.
I have thought about creating with code the Operations from the Operation Browser, add them to a newly created Release, and add this release to the history.
The methods I am mentioning don't seem to be public or exist, is there a way to make it work or a completely different approach I can take ?
Cheers,
Jaafar
|
|
|
Re: [Edapt] Create a History programmatically [message #1693841 is a reply to message #1693504] |
Tue, 28 April 2015 12:44  |
Eclipse User |
|
|
|
Hi,
I'm afraid there is no public API for this and I don't see a better solution than looking at the EditingDomainListener and OperationBrowser implementation and extract the required parts for your application.
I don't want to encourage using internal API, because future releases might break your code, but on the other hand I don't expect major changes to the internal classes currently.
Cheers
Johannes
|
|
|
Powered by
FUDForum. Page generated in 0.27693 seconds