Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Re: Epsilon Tools
Re: Epsilon Tools [message #13831] Wed, 11 March 2009 13:50 Go to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Lishan,

I've copied this to the Epsilon newsgroup, so other users can read the
discussion.

Comments below.

Lishan Simone Harbird wrote:
> Hi Louis,
>
> Im trying to set up and use an Epsilon Tool from a wizard.
>
> I have an hst package with class mchstTool, I have converted this to a
> plugin.

Great. You'll also need to tell Epsilon that mchstTool is indeed a tool:

1) Open the MANIFEST.MF file in the META-INF directory of the project
that contains your hst package.

2) Click the Dependencies tab, and select Add under Required Plug-in.
Type "org.eclipse.epsilon.common.dt" Click Ok.

3) Click the Extensions tab, and select Add. Scroll down and select the
"org.eclipse.epsilon.common.dt.tool" entry. Click Ok.

4) Select the entry labelled (tool) in the left-hand tree. Type the
fully-qualified path to the class that represents your tool. In your
case, this is: hst.mchstTool

5) Give the tool a defaultName, for example: mchstTool

6) Save the contents of the editor (File | Save).

>
> In my wizard I have the following code :
>
> var t : new Native ('hst.mchstTool');
> t.bw.write( "b M e[x==1 ==> a=a+1].P\n" );
> t.bw.flush();
>
> When I run it I get the following error :
>
> Type 'hst.mchstTool' not found (..
>
> I obviously need to do some more things to make the tool visible to the
> wizard but I dont know what.

Your EWL code looks fine.

>
> I have the Epsilon Tool documentation but I dont understand what it is
> saying to do.

I'll update the documentation with some more instructions, and I'll see
if Dimitrios wants to change anything too.

>
> Your help is greatly appreciated.
>
> Thanks
>
> Lishan

Cheers,
Louis.

----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
Re: Epsilon Tools [message #14388 is a reply to message #13831] Wed, 11 March 2009 15:49 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Louis Rose wrote:
> Lishan Simone Harbird wrote:
> > Hi Louis,
> >
> > Im trying to set up and use an Epsilon Tool from a wizard.
> >
<snip>
> > I have the Epsilon Tool documentation but I dont understand what it is
> > saying to do.
>
> I'll update the documentation with some more instructions, and I'll see
> if Dimitrios wants to change anything too.
>

We've updated the Epsilon Tools documentation. New version available at:
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf

Cheers,
Louis.

----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
Re: Epsilon Tools [message #566052 is a reply to message #13831] Wed, 11 March 2009 15:49 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Louis Rose wrote:
> Lishan Simone Harbird wrote:
> > Hi Louis,
> >
> > Im trying to set up and use an Epsilon Tool from a wizard.
> >
<snip>
> > I have the Epsilon Tool documentation but I dont understand what it is
> > saying to do.
>
> I'll update the documentation with some more instructions, and I'll see
> if Dimitrios wants to change anything too.
>

We've updated the Epsilon Tools documentation. New version available at:
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf

Cheers,
Louis.

----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
Previous Topic:Re: Epsilon Tools
Next Topic:AbstractEmfModel#store exception due to unmapped path
Goto Forum:
  


Current Time: Fri Apr 19 19:24:51 GMT 2024

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

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

Back to the top