Team revert causing undoing of EMF model changes [message #494144] |
Thu, 29 October 2009 11:18 |
saurav sarkar Messages: 428 Registered: July 2009 |
Senior Member |
|
|
Hi All,
I am not pretty much aware of EMF.I have a very basic question.
I have a Form based editor which is based on a EMF model underlying.Now updating the widget data updates the EMF model.
So if i make my project team enabled, then if i go and change sometihing in the FormEditor the EMF model is changed and then i want to revert the file to its repository state.Doing this would require undoing of the EMF model changes done earlier.
Is this EMF undone operation is being supported from Team actions.Team does have Logical Model mapping, is that the way to go i am not sure.
Please provide your input on this.
Thanks and Regards,
Saurav
My Blog http://codifyit.blogspot.com/
Follow me: http://twitter.com/sauravs
[Updated on: Thu, 29 October 2009 11:19] Report message to a moderator
|
|
|
|
|
Re: Team revert causing undoing of EMF model changes [message #494190 is a reply to message #494175] |
Thu, 29 October 2009 14:04 |
|
This is a multi-part message in MIME format.
--------------030409010901080809060105
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi Saurav,
As far as team integration goes, the way to access a repository version
of a file differs for each and every team plugin (so much for a team
"framework"). You can look at the specific code I have in the code base
of EMF Compare to retrieve specific versions of specific files from
code. Namely, plugin "org.eclipse.emf.compare.team.subversive" holds
class "SubversiveTeamHandler" which role is to access files for
subversive, while plugin "org.eclipse.emf.compare.ui" holds class
"RevisionComparisonHandler" which role is to access files under CVS.
I never took a look at the team integration for any of the others
(subclipse, git, clearcase, ...) so I can't help you more than this on
the subject. Guess you'll have to ask the different development teams ...
Laurent Goubet
Obeo
saurav a écrit :
> Thanks Ed for the reply....but in my case i need the old version of the
> metamodel for the repository version.I would like to know any
> integtration with Team is there for EMF?
--------------030409010901080809060105
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyLyI+T2JlbzwvYT4NCmVtYWls O2ludGVybmV0
OmxhdXJlbnQuZ291YmV0QG9iZW8uZnINCnVybDpodHRwOi8vd3d3Lm9iZW8u ZnINCnZlcnNp
b246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------030409010901080809060105--
|
|
|
Powered by
FUDForum. Page generated in 0.03697 seconds