I want to instantiate an EData Type (org.eclipse.draw2d.geometry.Rectangle) that is defined in my ecore model. This cannot be done directly, so I believe I'm required to use an AbstractTool with corresponding extension point?
However, the SampleTool is not found for some reason.
I couldn't find the mentioned .launch script, so here is the stacktrace from my plugin:
Type 'org.eclipse.epsilon.examples.tools.SampleTool' not found (/DEV/myplugin.xml.to.cspm/epsilon/transform.etl@13:28)
The used ETL script (line 13 onwards):
var sampleTool = new Native("org.eclipse.epsilon.examples.tools.SampleTool");
sampleTool.name = "George";
This article provides an example that demonstrates how to create a new Java tool; SampleTool is not a real tool included in the Epsilon distribution. As such, to use it you'll need to create it first by going through the steps of the article, launch a new Eclipse instance and use it from there.
Let me clearify this. I downloaded the example, imported the plugin project in Eclipse & ran a new Eclipse instance (from the first Eclipse instance). The plugin is 'found', since I checked this in the installation details (Help -> About Eclipse).
However, the SampleTool is not found in the script.