EMC [message #19685] |
Fri, 05 June 2009 04:26  |
Eclipse User |
|
|
|
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 04:45  |
Eclipse User |
|
|
|
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 04:45  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03317 seconds