mirror of
https://github.com/Minres/RDL-Editor.git
synced 2025-07-01 13:33:27 +02:00
Migrated to XText 2.14 and Photon for RDL Editor RCP
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.contentassist
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.labeling
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.labeling
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.outline
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.quickfix
|
||||
|
||||
|
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.wizard
|
||||
|
||||
|
||||
import com.google.inject.Inject
|
||||
import org.eclipse.xtext.generator.IFileSystemAccess2
|
||||
import org.eclipse.xtext.resource.FileExtensionProvider
|
||||
|
||||
class RDLNewProjectWizardInitialContents {
|
||||
@Inject
|
||||
FileExtensionProvider fileExtensionProvider
|
||||
|
||||
def generateInitialContents(IFileSystemAccess2 fsa) {
|
||||
fsa.generateFile(
|
||||
"src/model/Model." + fileExtensionProvider.primaryFileExtension,
|
||||
'''
|
||||
/*
|
||||
* This is an example model
|
||||
*/
|
||||
Hello Xtext!
|
||||
'''
|
||||
)
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
/*
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.wizard;
|
||||
|
||||
import org.eclipse.xtext.ui.wizard.DefaultProjectInfo;
|
||||
|
||||
public class RDLProjectInfo extends DefaultProjectInfo {
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.ui.wizard;
|
||||
|
||||
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
|
||||
|
||||
public class RDLWizardNewProjectCreationPage extends WizardNewProjectCreationPage {
|
||||
|
||||
public RDLWizardNewProjectCreationPage(String pageName) {
|
||||
super(pageName);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user