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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* generated by Xtext 2.12.0
|
||||
* generated by Xtext 2.14.0
|
||||
*/
|
||||
package com.minres.rdl.validation;
|
||||
|
||||
|
Reference in New Issue
Block a user