Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EMC
EMC [message #19685] Fri, 05 June 2009 08:26 Go to next message
Hans is currently offline HansFriend
Messages: 2
Registered: July 2009
Junior Member
Hi all,

I'm interested in developing a new driver for the Epsilon Model
Connectivity Layer.

The book and sources of the MDR and Z drivers provide great starting
points for the implementation. However, I've haven't been able to figure
out how and in what ways these drivers can be used (I'm new to Epsilon).

You can probably use an ANT task to load models using a specific driver.
But when I look at the sources for MDR and Z, I have the impression that
it should also be possible to configure model repositories within the
Eclipse GUI.

Any pointers are greatly appreciated.

Cheers,
Hans
Re: EMC [message #19730 is a reply to message #19685] Fri, 05 June 2009 08:45 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Hans,

To let Epsilon discover your model type, you need to provide extensions
to the org.eclipse.epsilon.common.dt.modelType extension point. In your
extension, except for the class that implements IModel, you can also
specify an icon and a label which will be used to represent the driver
in the list that pops up when you go Models->Add... in an Epsilon launch
configuration. Also, you can specify the class of the dialog through
which users can configure models of this driver.

I hope this helps. If not, feel free to come back for more. Just out of
curiosity, what types of models does this driver deal with?

Cheers,
Dimitris

Hans wrote:
> Hi all,
>
> I'm interested in developing a new driver for the Epsilon Model
> Connectivity Layer.
> The book and sources of the MDR and Z drivers provide great starting
> points for the implementation. However, I've haven't been able to figure
> out how and in what ways these drivers can be used (I'm new to Epsilon).
>
> You can probably use an ANT task to load models using a specific driver.
> But when I look at the sources for MDR and Z, I have the impression that
> it should also be possible to configure model repositories within the
> Eclipse GUI.
>
> Any pointers are greatly appreciated.
>
> Cheers,
> Hans
>
Re: EMC [message #568925 is a reply to message #19685] Fri, 05 June 2009 08:45 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Hans,

To let Epsilon discover your model type, you need to provide extensions
to the org.eclipse.epsilon.common.dt.modelType extension point. In your
extension, except for the class that implements IModel, you can also
specify an icon and a label which will be used to represent the driver
in the list that pops up when you go Models->Add... in an Epsilon launch
configuration. Also, you can specify the class of the dialog through
which users can configure models of this driver.

I hope this helps. If not, feel free to come back for more. Just out of
curiosity, what types of models does this driver deal with?

Cheers,
Dimitris

Hans wrote:
> Hi all,
>
> I'm interested in developing a new driver for the Epsilon Model
> Connectivity Layer.
> The book and sources of the MDR and Z drivers provide great starting
> points for the implementation. However, I've haven't been able to figure
> out how and in what ways these drivers can be used (I'm new to Epsilon).
>
> You can probably use an ANT task to load models using a specific driver.
> But when I look at the sources for MDR and Z, I have the impression that
> it should also be possible to configure model repositories within the
> Eclipse GUI.
>
> Any pointers are greatly appreciated.
>
> Cheers,
> Hans
>
Previous Topic:EMC
Next Topic:How to "include" separate "lib" files in a task-specific file ?
Goto Forum:
  


Current Time: Fri Sep 20 13:41:22 GMT 2024

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

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

Back to the top