Migrated to XText 2.14 and Photon for RDL Editor RCP

This commit is contained in:
2018-06-02 23:41:27 +02:00
parent cc6d106838
commit 9a55dd5a21
165 changed files with 2419 additions and 662 deletions

View File

@ -1,5 +1,5 @@
/**
* generated by Xtext 2.12.0
* generated by Xtext 2.14.0
*/
package com.minres.rdl;
@ -8,8 +8,6 @@ import com.google.inject.name.Names;
import com.minres.rdl.AbstractRDLRuntimeModule;
import com.minres.rdl.converter.RdlTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverterService;
import org.eclipse.xtext.naming.IQualifiedNameProvider;
import org.eclipse.xtext.naming.SimpleNameProvider;
import org.eclipse.xtext.scoping.IGlobalScopeProvider;
import org.eclipse.xtext.scoping.IScopeProvider;
import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
@ -35,9 +33,4 @@ public class RDLRuntimeModule extends AbstractRDLRuntimeModule {
public Class<? extends IGlobalScopeProvider> bindIGlobalScopeProvider() {
return ImportUriGlobalScopeProvider.class;
}
@Override
public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
return SimpleNameProvider.class;
}
}

View File

@ -1,5 +1,5 @@
/**
* generated by Xtext 2.12.0
* generated by Xtext 2.14.0
*/
package com.minres.rdl;

View File

@ -171,7 +171,6 @@ public class Main {
}
} catch (final Throwable _t) {
if (_t instanceof Exception) {
final Exception e = (Exception)_t;
URI _uRI_3 = this.fileAccess.getURI("");
String _plus_3 = ("includes are in " + _uRI_3);
InputOutput.<String>println(_plus_3);
@ -187,7 +186,6 @@ public class Main {
}
} catch (final Throwable _t_1) {
if (_t_1 instanceof Exception) {
final Exception e_1 = (Exception)_t_1;
URI _uRI_5 = this.fileAccess.getURI("");
String _plus_5 = ("sources are in " + _uRI_5);
InputOutput.<String>println(_plus_5);

View File

@ -80,7 +80,6 @@ public class RDLGenerator extends AbstractGenerator {
fsa.getURI("", output_config);
} catch (final Throwable _t) {
if (_t instanceof Exception) {
final Exception e = (Exception)_t;
output_config = "DEFAULT_OUTPUT";
} else {
throw Exceptions.sneakyThrow(_t);

View File

@ -1,5 +1,5 @@
/**
* generated by Xtext 2.12.0
* generated by Xtext 2.14.0
*/
package com.minres.rdl.validation;