|
|
Re: New Project Wizard not shown [message #1705954 is a reply to message #1705846] |
Thu, 20 August 2015 12:03   |
Steffen Schuette Messages: 13 Registered: August 2015 |
Junior Member |
|
|
That was it! Thanks. The following was missing:
<extension
point="org.eclipse.ui.newWizards">
<wizard
category="org.eclipse.xtext.projectwiz"
class="myNamespace.MyDslExecutableExtensionFactory:myNamespace.MyDslNewProjectWizard"
id="myNamespace.MyDslNewProjectWizard"
name="MyDsl Application"
project="true">
</wizard>
</extension>
However, I now have the next problem. Well actually there are 2 of them.
1. No matter what workspace location I choose in the wizard, e.g. c:\test the project is always created in the current eclipse workspace, e.g. runtime workspace.
2. I want to use the name of the new project in the .xpt template. However the following code leads to the error "Attribute ProjectName not found in myNamespace::MyDsl::MyDslProjectInfo"
«DEFINE model FOR MyDslProjectInfo»
«FILE "src/test.mydsl"-»
Project Name: «this.ProjectName»
«ENDFILE»
«ENDDEFINE»
Why does it ignore the Getter of DefaultProjectInfo class?
Thanks!
[Updated on: Fri, 21 August 2015 06:55] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02117 seconds