Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EMF ChangeRecorder in eol
EMF ChangeRecorder in eol [message #482736] Thu, 27 August 2009 17:36 Go to next message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi,

is there a way I can access the EMF ChangeRecorder from my eol program?
I'd like to monitor model changes done by the eol program.

Thanks a lot in advance and regards,
Anne
Re: EMF ChangeRecorder in eol [message #482746 is a reply to message #482736] Thu, 27 August 2009 18:22 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

Are you running EOL via a launch configuration or through Java code?

Cheers,
Dimitris

Anne wrote:
> Hi,
>
> is there a way I can access the EMF ChangeRecorder from my eol program?
> I'd like to monitor model changes done by the eol program.
>
> Thanks a lot in advance and regards,
> Anne
Re: EMF ChangeRecorder in eol [message #482768 is a reply to message #482746] Thu, 27 August 2009 20:37 Go to previous messageGo to next message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi Dimitri,

via a launch configuration.

Anne

Dimitris Kolovos wrote:
> Hi Anne,
>
> Are you running EOL via a launch configuration or through Java code?
>
> Cheers,
> Dimitris
>
> Anne wrote:
>> Hi,
>>
>> is there a way I can access the EMF ChangeRecorder from my eol
>> program? I'd like to monitor model changes done by the eol program.
>>
>> Thanks a lot in advance and regards,
>> Anne
Re: EMF ChangeRecorder in eol [message #482772 is a reply to message #482768] Thu, 27 August 2009 21:43 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

In this case, you'll need to write a Java class (tool) and let Epsilon
know about it (as per
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
should really update at some point). Then you can instantiate it using
the Native type and call its methods through EOL - one of them would
have a signature like monitor(EmfModel model) and would internally use
model.getModelImpl() to get a reference to the underlying resource which
it could then track using an EMF ChangeRecorder.

Cheers,
Dimitris

Anne wrote:
> Hi Dimitri,
>
> via a launch configuration.
>
> Anne
>
> Dimitris Kolovos wrote:
>> Hi Anne,
>>
>> Are you running EOL via a launch configuration or through Java code?
>>
>> Cheers,
>> Dimitris
>>
>> Anne wrote:
>>> Hi,
>>>
>>> is there a way I can access the EMF ChangeRecorder from my eol
>>> program? I'd like to monitor model changes done by the eol program.
>>>
>>> Thanks a lot in advance and regards,
>>> Anne
Re: EMF ChangeRecorder in eol [message #536773 is a reply to message #482772] Sun, 30 May 2010 20:22 Go to previous messageGo to next message
Stephen Barrett is currently offline Stephen BarrettFriend
Messages: 46
Registered: May 2010
Member
So what's the answer if one is calling EOL through Java? And would accessing the recorder through EOL be better, easier, faster, etc. than doing so with straight Java?

I'm only looking for a short answer -- no immediate need yet, just trying to get a handle on all these technologies.

Cheers,
Stephen


Dimitrios Kolovos wrote:
Hi Anne,

In this case, you'll need to write a Java class (tool) and let Epsilon
know about it (as per
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
should really update at some point). Then you can instantiate it using
the Native type and call its methods through EOL - one of them would
have a signature like monitor(EmfModel model) and would internally use
model.getModelImpl() to get a reference to the underlying resource which
it could then track using an EMF ChangeRecorder.

Cheers,
Dimitris

Anne wrote:
> Hi Dimitri,
>
> via a launch configuration.
>
> Anne
>
> Dimitris Kolovos wrote:
>> Hi Anne,
>>
>> Are you running EOL via a launch configuration or through Java code?
>>
>> Cheers,
>> Dimitris
>>
>> Anne wrote:
>>> Hi,
>>>
>>> is there a way I can access the EMF ChangeRecorder from my eol
>>> program? I'd like to monitor model changes done by the eol program.
>>>
>>> Thanks a lot in advance and regards,
>>> Anne

Re: EMF ChangeRecorder in eol [message #536775 is a reply to message #536773] Sun, 30 May 2010 21:10 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Stephen,

If you're running EOL from Java as part of an Eclipse plugin, the
process is the same (need to define extension etc.). If it's a
standalone Java application, the tool just needs to be in the classpath.

There shouldn't be a difference regarding speed or ease of use whether
you access the recorder through EOL or Java.

Cheers,
Dimitris

Stephen Barrett wrote:
> So what's the answer if one is calling EOL through Java? And would
> accessing the recorder through EOL be better, easier, faster, etc. than
> doing so with straight Java?
>
> I'm only looking for a short answer -- no immediate need yet, just
> trying to get a handle on all these technologies.
> Cheers,
> Stephen
>
>
> Dimitrios Kolovos wrote:
>> Hi Anne,
>>
>> In this case, you'll need to write a Java class (tool) and let Epsilon
>> know about it (as per
>> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
>> should really update at some point). Then you can instantiate it using
>> the Native type and call its methods through EOL - one of them would
>> have a signature like monitor(EmfModel model) and would internally use
>> model.getModelImpl() to get a reference to the underlying resource
>> which it could then track using an EMF ChangeRecorder.
>>
>> Cheers,
>> Dimitris
>>
>> Anne wrote:
>> > Hi Dimitri,
>> > > via a launch configuration.
>> > > Anne
>> > > Dimitris Kolovos wrote:
>> >> Hi Anne,
>> >>
>> >> Are you running EOL via a launch configuration or through Java code?
>> >>
>> >> Cheers,
>> >> Dimitris
>> >>
>> >> Anne wrote:
>> >>> Hi,
>> >>>
>> >>> is there a way I can access the EMF ChangeRecorder from my eol >>>
>> program? I'd like to monitor model changes done by the eol program.
>> >>>
>> >>> Thanks a lot in advance and regards,
>> >>> Anne
>
>
Re: EMF ChangeRecorder in eol [message #579776 is a reply to message #482736] Thu, 27 August 2009 18:22 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

Are you running EOL via a launch configuration or through Java code?

Cheers,
Dimitris

Anne wrote:
> Hi,
>
> is there a way I can access the EMF ChangeRecorder from my eol program?
> I'd like to monitor model changes done by the eol program.
>
> Thanks a lot in advance and regards,
> Anne
Re: EMF ChangeRecorder in eol [message #579787 is a reply to message #482746] Thu, 27 August 2009 20:37 Go to previous message
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hi Dimitri,

via a launch configuration.

Anne

Dimitris Kolovos wrote:
> Hi Anne,
>
> Are you running EOL via a launch configuration or through Java code?
>
> Cheers,
> Dimitris
>
> Anne wrote:
>> Hi,
>>
>> is there a way I can access the EMF ChangeRecorder from my eol
>> program? I'd like to monitor model changes done by the eol program.
>>
>> Thanks a lot in advance and regards,
>> Anne
Re: EMF ChangeRecorder in eol [message #579800 is a reply to message #482768] Thu, 27 August 2009 21:43 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Anne,

In this case, you'll need to write a Java class (tool) and let Epsilon
know about it (as per
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
should really update at some point). Then you can instantiate it using
the Native type and call its methods through EOL - one of them would
have a signature like monitor(EmfModel model) and would internally use
model.getModelImpl() to get a reference to the underlying resource which
it could then track using an EMF ChangeRecorder.

Cheers,
Dimitris

Anne wrote:
> Hi Dimitri,
>
> via a launch configuration.
>
> Anne
>
> Dimitris Kolovos wrote:
>> Hi Anne,
>>
>> Are you running EOL via a launch configuration or through Java code?
>>
>> Cheers,
>> Dimitris
>>
>> Anne wrote:
>>> Hi,
>>>
>>> is there a way I can access the EMF ChangeRecorder from my eol
>>> program? I'd like to monitor model changes done by the eol program.
>>>
>>> Thanks a lot in advance and regards,
>>> Anne
Re: EMF ChangeRecorder in eol [message #589546 is a reply to message #482772] Sun, 30 May 2010 20:22 Go to previous message
Stephen Barrett is currently offline Stephen BarrettFriend
Messages: 46
Registered: May 2010
Member
So what's the answer if one is calling EOL through Java? And would accessing the recorder through EOL be better, easier, faster, etc. than doing so with straight Java?

I'm only looking for a short answer -- no immediate need yet, just trying to get a handle on all these technologies.

Cheers,
Stephen


Dimitrios Kolovos wrote:
> Hi Anne,
>
> In this case, you'll need to write a Java class (tool) and let Epsilon
> know about it (as per
> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
> should really update at some point). Then you can instantiate it using
> the Native type and call its methods through EOL - one of them would
> have a signature like monitor(EmfModel model) and would internally use
> model.getModelImpl() to get a reference to the underlying resource which
> it could then track using an EMF ChangeRecorder.
>
> Cheers,
> Dimitris
>
> Anne wrote:
> > Hi Dimitri,
> >
> > via a launch configuration.
> >
> > Anne
> >
> > Dimitris Kolovos wrote:
> >> Hi Anne,
> >>
> >> Are you running EOL via a launch configuration or through Java code?
> >>
> >> Cheers,
> >> Dimitris
> >>
> >> Anne wrote:
> >>> Hi,
> >>>
> >>> is there a way I can access the EMF ChangeRecorder from my eol
> >>> program? I'd like to monitor model changes done by the eol program.
> >>>
> >>> Thanks a lot in advance and regards,
> >>> Anne
Re: EMF ChangeRecorder in eol [message #589554 is a reply to message #589546] Sun, 30 May 2010 21:10 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Stephen,

If you're running EOL from Java as part of an Eclipse plugin, the
process is the same (need to define extension etc.). If it's a
standalone Java application, the tool just needs to be in the classpath.

There shouldn't be a difference regarding speed or ease of use whether
you access the recorder through EOL or Java.

Cheers,
Dimitris

Stephen Barrett wrote:
> So what's the answer if one is calling EOL through Java? And would
> accessing the recorder through EOL be better, easier, faster, etc. than
> doing so with straight Java?
>
> I'm only looking for a short answer -- no immediate need yet, just
> trying to get a handle on all these technologies.
> Cheers,
> Stephen
>
>
> Dimitrios Kolovos wrote:
>> Hi Anne,
>>
>> In this case, you'll need to write a Java class (tool) and let Epsilon
>> know about it (as per
>> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf - which we
>> should really update at some point). Then you can instantiate it using
>> the Native type and call its methods through EOL - one of them would
>> have a signature like monitor(EmfModel model) and would internally use
>> model.getModelImpl() to get a reference to the underlying resource
>> which it could then track using an EMF ChangeRecorder.
>>
>> Cheers,
>> Dimitris
>>
>> Anne wrote:
>> > Hi Dimitri,
>> > > via a launch configuration.
>> > > Anne
>> > > Dimitris Kolovos wrote:
>> >> Hi Anne,
>> >>
>> >> Are you running EOL via a launch configuration or through Java code?
>> >>
>> >> Cheers,
>> >> Dimitris
>> >>
>> >> Anne wrote:
>> >>> Hi,
>> >>>
>> >>> is there a way I can access the EMF ChangeRecorder from my eol >>>
>> program? I'd like to monitor model changes done by the eol program.
>> >>>
>> >>> Thanks a lot in advance and regards,
>> >>> Anne
>
>
Previous Topic:EMF Compare-ECL integration
Next Topic:Special assignment operator bug?
Goto Forum:
  


Current Time: Sat Apr 20 01:49:42 GMT 2024

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

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

Back to the top