Home » Modeling » Epsilon » EMF ChangeRecorder in eol
| | | |
Re: EMF ChangeRecorder in eol [message #536773 is a reply to message #482772] |
Sun, 30 May 2010 20:22 |
Stephen Barrett 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 |
Dimitrios Kolovos 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 #589546 is a reply to message #482772] |
Sun, 30 May 2010 20:22 |
Stephen Barrett 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 |
Dimitrios Kolovos 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
>
>
|
|
|
Goto Forum:
Current Time: Tue Apr 23 12:43:32 GMT 2024
Powered by FUDForum. Page generated in 0.04445 seconds
|