fix: typo in game.xtext
This commit is contained in:
parent
309901c04f
commit
15647e509f
|
@ -12,4 +12,6 @@ Require-Bundle: fr.n7.game,
|
|||
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Export-Package: xtext.ide.contentassist.antlr,
|
||||
xtext.ide.contentassist.antlr.internal
|
||||
xtext.ide.contentassist.antlr.internal,
|
||||
fr.n7.ide.contentassist.antlr.internal,
|
||||
fr.n7.ide.contentassist.antlr
|
||||
|
|
|
@ -1 +1 @@
|
|||
xtext.ide.GameIdeSetup
|
||||
fr.n7.ide.GAMEIdeSetup
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ide;
|
||||
package fr.n7.ide;
|
||||
|
||||
import com.google.inject.Binder;
|
||||
import com.google.inject.name.Names;
|
||||
import fr.n7.ide.contentassist.antlr.GAMEParser;
|
||||
import fr.n7.ide.contentassist.antlr.internal.InternalGAMELexer;
|
||||
import org.eclipse.xtext.ide.DefaultIdeModule;
|
||||
import org.eclipse.xtext.ide.LexerIdeBindings;
|
||||
import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher;
|
||||
|
@ -16,25 +18,23 @@ import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
|
|||
import org.eclipse.xtext.ide.refactoring.IRenameStrategy2;
|
||||
import org.eclipse.xtext.ide.server.rename.IRenameService2;
|
||||
import org.eclipse.xtext.ide.server.rename.RenameService2;
|
||||
import xtext.ide.contentassist.antlr.GameParser;
|
||||
import xtext.ide.contentassist.antlr.internal.InternalGameLexer;
|
||||
|
||||
/**
|
||||
* Manual modifications go to {@link GameIdeModule}.
|
||||
* Manual modifications go to {@link GAMEIdeModule}.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public abstract class AbstractGameIdeModule extends DefaultIdeModule {
|
||||
public abstract class AbstractGAMEIdeModule extends DefaultIdeModule {
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public void configureContentAssistLexer(Binder binder) {
|
||||
binder.bind(Lexer.class)
|
||||
.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
|
||||
.to(InternalGameLexer.class);
|
||||
.to(InternalGAMELexer.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
|
||||
return GameParser.class;
|
||||
return GAMEParser.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ide.contentassist.antlr;
|
||||
package fr.n7.ide.contentassist.antlr;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
import fr.n7.ide.contentassist.antlr.internal.InternalGAMEParser;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
import java.util.Map;
|
||||
import org.eclipse.xtext.AbstractElement;
|
||||
import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser;
|
||||
import xtext.ide.contentassist.antlr.internal.InternalGameParser;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
|
||||
public class GameParser extends AbstractContentAssistParser {
|
||||
public class GAMEParser extends AbstractContentAssistParser {
|
||||
|
||||
@Singleton
|
||||
public static final class NameMappings {
|
||||
|
@ -20,7 +20,7 @@ public class GameParser extends AbstractContentAssistParser {
|
|||
private final Map<AbstractElement, String> mappings;
|
||||
|
||||
@Inject
|
||||
public NameMappings(GameGrammarAccess grammarAccess) {
|
||||
public NameMappings(GAMEGrammarAccess grammarAccess) {
|
||||
ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
|
||||
init(builder, grammarAccess);
|
||||
this.mappings = builder.build();
|
||||
|
@ -30,7 +30,7 @@ public class GameParser extends AbstractContentAssistParser {
|
|||
return mappings.get(element);
|
||||
}
|
||||
|
||||
private static void init(ImmutableMap.Builder<AbstractElement, String> builder, GameGrammarAccess grammarAccess) {
|
||||
private static void init(ImmutableMap.Builder<AbstractElement, String> builder, GAMEGrammarAccess grammarAccess) {
|
||||
builder.put(grammarAccess.getConditionTestAccess().getAlternatives(), "rule__ConditionTest__Alternatives");
|
||||
builder.put(grammarAccess.getComparateurAccess().getAlternatives(), "rule__Comparateur__Alternatives");
|
||||
builder.put(grammarAccess.getJeuAccess().getGroup(), "rule__Jeu__Group__0");
|
||||
|
@ -164,11 +164,11 @@ public class GameParser extends AbstractContentAssistParser {
|
|||
private NameMappings nameMappings;
|
||||
|
||||
@Inject
|
||||
private GameGrammarAccess grammarAccess;
|
||||
private GAMEGrammarAccess grammarAccess;
|
||||
|
||||
@Override
|
||||
protected InternalGameParser createParser() {
|
||||
InternalGameParser result = new InternalGameParser(null);
|
||||
protected InternalGAMEParser createParser() {
|
||||
InternalGAMEParser result = new InternalGAMEParser(null);
|
||||
result.setGrammarAccess(grammarAccess);
|
||||
return result;
|
||||
}
|
||||
|
@ -183,11 +183,11 @@ public class GameParser extends AbstractContentAssistParser {
|
|||
return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
|
||||
}
|
||||
|
||||
public GameGrammarAccess getGrammarAccess() {
|
||||
public GAMEGrammarAccess getGrammarAccess() {
|
||||
return this.grammarAccess;
|
||||
}
|
||||
|
||||
public void setGrammarAccess(GameGrammarAccess grammarAccess) {
|
||||
public void setGrammarAccess(GAMEGrammarAccess grammarAccess) {
|
||||
this.grammarAccess = grammarAccess;
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ide.contentassist.antlr;
|
||||
package fr.n7.ide.contentassist.antlr;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
@ -10,7 +10,7 @@ import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement;
|
|||
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
|
||||
import org.eclipse.xtext.util.PolymorphicDispatcher;
|
||||
|
||||
public class PartialGameContentAssistParser extends GameParser {
|
||||
public class PartialGAMEContentAssistParser extends GAMEParser {
|
||||
|
||||
private AbstractRule rule;
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
grammar InternalGame;
|
||||
grammar InternalGAME;
|
||||
|
||||
options {
|
||||
superClass=AbstractInternalContentAssistParser;
|
||||
}
|
||||
|
||||
@lexer::header {
|
||||
package xtext.ide.contentassist.antlr.internal;
|
||||
package fr.n7.ide.contentassist.antlr.internal;
|
||||
|
||||
// Hack: Use our own Lexer superclass by means of import.
|
||||
// Currently there is no other way to specify the superclass for the lexer.
|
||||
|
@ -16,7 +16,7 @@ import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
|
|||
}
|
||||
|
||||
@parser::header {
|
||||
package xtext.ide.contentassist.antlr.internal;
|
||||
package fr.n7.ide.contentassist.antlr.internal;
|
||||
|
||||
import java.io.InputStream;
|
||||
import org.eclipse.xtext.*;
|
||||
|
@ -28,13 +28,13 @@ import org.eclipse.xtext.parser.antlr.XtextTokenStream;
|
|||
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
|
||||
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
|
||||
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
|
||||
}
|
||||
@parser::members {
|
||||
private GameGrammarAccess grammarAccess;
|
||||
private GAMEGrammarAccess grammarAccess;
|
||||
|
||||
public void setGrammarAccess(GameGrammarAccess grammarAccess) {
|
||||
public void setGrammarAccess(GAMEGrammarAccess grammarAccess) {
|
||||
this.grammarAccess = grammarAccess;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
11
workspace/fr.n7.game.ide/src/fr/n7/ide/GAMEIdeModule.java
Normal file
11
workspace/fr.n7.game.ide/src/fr/n7/ide/GAMEIdeModule.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ide;
|
||||
|
||||
|
||||
/**
|
||||
* Use this class to register ide components.
|
||||
*/
|
||||
public class GAMEIdeModule extends AbstractGAMEIdeModule {
|
||||
}
|
22
workspace/fr.n7.game.ide/src/fr/n7/ide/GAMEIdeSetup.java
Normal file
22
workspace/fr.n7.game.ide/src/fr/n7/ide/GAMEIdeSetup.java
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ide;
|
||||
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.GAMERuntimeModule;
|
||||
import fr.n7.GAMEStandaloneSetup;
|
||||
import org.eclipse.xtext.util.Modules2;
|
||||
|
||||
/**
|
||||
* Initialization support for running Xtext languages as language servers.
|
||||
*/
|
||||
public class GAMEIdeSetup extends GAMEStandaloneSetup {
|
||||
|
||||
@Override
|
||||
public Injector createInjector() {
|
||||
return Guice.createInjector(Modules2.mixin(new GAMERuntimeModule(), new GAMEIdeModule()));
|
||||
}
|
||||
|
||||
}
|
|
@ -12,4 +12,5 @@ Require-Bundle: fr.n7.game,
|
|||
org.eclipse.xtext.xbase.testing,
|
||||
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Export-Package: xtext.tests;x-internal=true
|
||||
Export-Package: xtext.tests;x-internal=true,
|
||||
fr.n7.tests;x-internal=true
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.tests;
|
||||
package fr.n7.tests;
|
||||
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.GAMERuntimeModule;
|
||||
import fr.n7.GAMEStandaloneSetup;
|
||||
import org.eclipse.xtext.testing.GlobalRegistries;
|
||||
import org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento;
|
||||
import org.eclipse.xtext.testing.IInjectorProvider;
|
||||
import org.eclipse.xtext.testing.IRegistryConfigurator;
|
||||
import xtext.GameRuntimeModule;
|
||||
import xtext.GameStandaloneSetup;
|
||||
|
||||
public class GameInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
|
||||
public class GAMEInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
|
||||
|
||||
protected GlobalStateMemento stateBeforeInjectorCreation;
|
||||
protected GlobalStateMemento stateAfterInjectorCreation;
|
||||
|
@ -32,7 +32,7 @@ public class GameInjectorProvider implements IInjectorProvider, IRegistryConfigu
|
|||
}
|
||||
|
||||
protected Injector internalCreateInjector() {
|
||||
return new GameStandaloneSetup() {
|
||||
return new GAMEStandaloneSetup() {
|
||||
@Override
|
||||
public Injector createInjector() {
|
||||
return Guice.createInjector(createRuntimeModule());
|
||||
|
@ -40,13 +40,13 @@ public class GameInjectorProvider implements IInjectorProvider, IRegistryConfigu
|
|||
}.createInjectorAndDoEMFRegistration();
|
||||
}
|
||||
|
||||
protected GameRuntimeModule createRuntimeModule() {
|
||||
protected GAMERuntimeModule createRuntimeModule() {
|
||||
// make it work also with Maven/Tycho and OSGI
|
||||
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=493672
|
||||
return new GameRuntimeModule() {
|
||||
return new GAMERuntimeModule() {
|
||||
@Override
|
||||
public ClassLoader bindClassLoaderToInstance() {
|
||||
return GameInjectorProvider.class
|
||||
return GAMEInjectorProvider.class
|
||||
.getClassLoader();
|
||||
}
|
||||
};
|
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.tests
|
||||
|
||||
import com.google.inject.Inject
|
||||
import fr.n7.game.Jeu
|
||||
import org.eclipse.xtext.testing.InjectWith
|
||||
import org.eclipse.xtext.testing.extensions.InjectionExtension
|
||||
import org.eclipse.xtext.testing.util.ParseHelper
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.^extension.ExtendWith
|
||||
|
||||
@ExtendWith(InjectionExtension)
|
||||
@InjectWith(GAMEInjectorProvider)
|
||||
class GAMEParsingTest {
|
||||
@Inject
|
||||
ParseHelper<Jeu> parseHelper
|
||||
|
||||
@Test
|
||||
def void loadModel() {
|
||||
val result = parseHelper.parse('''
|
||||
Hello Xtext!
|
||||
''')
|
||||
Assertions.assertNotNull(result)
|
||||
val errors = result.eResource.errors
|
||||
Assertions.assertTrue(errors.isEmpty, '''Unexpected errors: «errors.join(", ")»''')
|
||||
}
|
||||
}
|
Binary file not shown.
1
workspace/fr.n7.game.tests/xtend-gen/fr/n7/tests/.gitignore
vendored
Normal file
1
workspace/fr.n7.game.tests/xtend-gen/fr/n7/tests/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/.GAMEParsingTest.java._trace
|
|
@ -0,0 +1,47 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.tests;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import fr.n7.game.Jeu;
|
||||
import fr.n7.tests.GAMEInjectorProvider;
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.resource.Resource;
|
||||
import org.eclipse.xtend2.lib.StringConcatenation;
|
||||
import org.eclipse.xtext.testing.InjectWith;
|
||||
import org.eclipse.xtext.testing.extensions.InjectionExtension;
|
||||
import org.eclipse.xtext.testing.util.ParseHelper;
|
||||
import org.eclipse.xtext.xbase.lib.Exceptions;
|
||||
import org.eclipse.xtext.xbase.lib.IterableExtensions;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
@ExtendWith(InjectionExtension.class)
|
||||
@InjectWith(GAMEInjectorProvider.class)
|
||||
@SuppressWarnings("all")
|
||||
public class GAMEParsingTest {
|
||||
@Inject
|
||||
private ParseHelper<Jeu> parseHelper;
|
||||
|
||||
@Test
|
||||
public void loadModel() {
|
||||
try {
|
||||
StringConcatenation _builder = new StringConcatenation();
|
||||
_builder.append("Hello Xtext!");
|
||||
_builder.newLine();
|
||||
final Jeu result = this.parseHelper.parse(_builder);
|
||||
Assertions.assertNotNull(result);
|
||||
final EList<Resource.Diagnostic> errors = result.eResource().getErrors();
|
||||
boolean _isEmpty = errors.isEmpty();
|
||||
StringConcatenation _builder_1 = new StringConcatenation();
|
||||
_builder_1.append("Unexpected errors: ");
|
||||
String _join = IterableExtensions.join(errors, ", ");
|
||||
_builder_1.append(_join);
|
||||
Assertions.assertTrue(_isEmpty, _builder_1.toString());
|
||||
} catch (Throwable _e) {
|
||||
throw Exceptions.sneakyThrow(_e);
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -4,44 +4,26 @@
|
|||
package xtext.tests;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.resource.Resource;
|
||||
import org.eclipse.xtend2.lib.StringConcatenation;
|
||||
import org.eclipse.xtext.testing.InjectWith;
|
||||
import org.eclipse.xtext.testing.extensions.InjectionExtension;
|
||||
import org.eclipse.xtext.testing.util.ParseHelper;
|
||||
import org.eclipse.xtext.xbase.lib.Exceptions;
|
||||
import org.eclipse.xtext.xbase.lib.IterableExtensions;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import xtext.game.Jeu;
|
||||
import xtext.tests.GameInjectorProvider;
|
||||
|
||||
@ExtendWith(InjectionExtension.class)
|
||||
@InjectWith(GameInjectorProvider.class)
|
||||
@ExtendWith(InjectionExtension.class)/*
|
||||
@InjectWith(/* name is null */) */
|
||||
@SuppressWarnings("all")
|
||||
public class GameParsingTest {
|
||||
@Inject
|
||||
private ParseHelper<Jeu> parseHelper;
|
||||
private /* ParseHelper<Jeu> */Object parseHelper;
|
||||
|
||||
@Test
|
||||
public void loadModel() {
|
||||
try {
|
||||
StringConcatenation _builder = new StringConcatenation();
|
||||
_builder.append("Hello Xtext!");
|
||||
_builder.newLine();
|
||||
final Jeu result = this.parseHelper.parse(_builder);
|
||||
Assertions.assertNotNull(result);
|
||||
final EList<Resource.Diagnostic> errors = result.eResource().getErrors();
|
||||
boolean _isEmpty = errors.isEmpty();
|
||||
StringConcatenation _builder_1 = new StringConcatenation();
|
||||
_builder_1.append("Unexpected errors: ");
|
||||
String _join = IterableExtensions.join(errors, ", ");
|
||||
_builder_1.append(_join);
|
||||
Assertions.assertTrue(_isEmpty, _builder_1.toString());
|
||||
} catch (Throwable _e) {
|
||||
throw Exceptions.sneakyThrow(_e);
|
||||
}
|
||||
throw new Error("Unresolved compilation problems:"
|
||||
+ "\nThe field GameParsingTest.parseHelper refers to the missing type Jeu"
|
||||
+ "\neResource cannot be resolved"
|
||||
+ "\nerrors cannot be resolved"
|
||||
+ "\nisEmpty cannot be resolved"
|
||||
+ "\njoin cannot be resolved");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,5 @@ Require-Bundle: fr.n7.game.ui,
|
|||
org.eclipse.xtext.ui.testing,
|
||||
org.eclipse.ui.workbench;resolution:=optional
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Export-Package: xtext.ui.tests;x-internal=true
|
||||
Export-Package: xtext.ui.tests;x-internal=true,
|
||||
fr.n7.ui.tests;x-internal=true
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ui.tests;
|
||||
package fr.n7.ui.tests;
|
||||
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.game.ui.internal.GameActivator;
|
||||
import org.eclipse.xtext.testing.IInjectorProvider;
|
||||
|
||||
public class GameUiInjectorProvider implements IInjectorProvider {
|
||||
public class GAMEUiInjectorProvider implements IInjectorProvider {
|
||||
|
||||
@Override
|
||||
public Injector getInjector() {
|
||||
return GameActivator.getInstance().getInjector("xtext.Game");
|
||||
return GameActivator.getInstance().getInjector("fr.n7.GAME");
|
||||
}
|
||||
|
||||
}
|
|
@ -20,5 +20,7 @@ Import-Package: org.apache.log4j
|
|||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Export-Package: fr.n7.game.ui.internal,
|
||||
xtext.ui.quickfix,
|
||||
xtext.ui.contentassist
|
||||
xtext.ui.contentassist,
|
||||
fr.n7.ui.contentassist,
|
||||
fr.n7.ui.quickfix
|
||||
Bundle-Activator: fr.n7.game.ui.internal.GameActivator
|
||||
|
|
434
workspace/fr.n7.game.ui/plugin.xml_gen
Normal file
434
workspace/fr.n7.game.ui/plugin.xml_gen
Normal file
|
@ -0,0 +1,434 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.0"?>
|
||||
<plugin>
|
||||
<extension
|
||||
point="org.eclipse.ui.editors">
|
||||
<editor
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
|
||||
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
|
||||
default="true"
|
||||
extensions="game"
|
||||
id="fr.n7.GAME"
|
||||
name="GAME Editor">
|
||||
</editor>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.handlers">
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
|
||||
commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
|
||||
<activeWhen>
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
|
||||
commandId="fr.n7.GAME.validate">
|
||||
<activeWhen>
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
<!-- copy qualified name -->
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
|
||||
commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
|
||||
<activeWhen>
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened" />
|
||||
</activeWhen>
|
||||
</handler>
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
|
||||
commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
|
||||
<activeWhen>
|
||||
<and>
|
||||
<reference definitionId="fr.n7.GAME.XtextEditor.opened" />
|
||||
<iterate>
|
||||
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
|
||||
</iterate>
|
||||
</and>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
<extension point="org.eclipse.core.expressions.definitions">
|
||||
<definition id="fr.n7.GAME.Editor.opened">
|
||||
<and>
|
||||
<reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
|
||||
<with variable="activeEditor">
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="fr.n7.GAME"
|
||||
forcePluginActivation="true"/>
|
||||
</with>
|
||||
</and>
|
||||
</definition>
|
||||
<definition id="fr.n7.GAME.XtextEditor.opened">
|
||||
<and>
|
||||
<reference definitionId="isXtextEditorActive"/>
|
||||
<with variable="activeEditor">
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="fr.n7.GAME"
|
||||
forcePluginActivation="true"/>
|
||||
</with>
|
||||
</and>
|
||||
</definition>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
|
||||
id="fr.n7.GAME"
|
||||
name="GAME">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
|
||||
id="fr.n7.GAME.coloring"
|
||||
name="Syntax Coloring">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
|
||||
id="fr.n7.GAME.templates"
|
||||
name="Templates">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
|
||||
id="fr.n7.GAME"
|
||||
name="GAME">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
<enabledWhen>
|
||||
<adapt type="org.eclipse.core.resources.IProject"/>
|
||||
</enabledWhen>
|
||||
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.keywords">
|
||||
<keyword
|
||||
id="fr.n7.ui.keyword_GAME"
|
||||
label="GAME"/>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.commands">
|
||||
<command
|
||||
description="Trigger expensive validation"
|
||||
id="fr.n7.GAME.validate"
|
||||
name="Validate">
|
||||
</command>
|
||||
<!-- copy qualified name -->
|
||||
<command
|
||||
id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
|
||||
categoryId="org.eclipse.ui.category.edit"
|
||||
description="Copy the qualified name for the selected element"
|
||||
name="Copy Qualified Name">
|
||||
</command>
|
||||
<command
|
||||
id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
|
||||
categoryId="org.eclipse.ui.category.edit"
|
||||
description="Copy the qualified name for the selected element"
|
||||
name="Copy Qualified Name">
|
||||
</command>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution
|
||||
locationURI="popup:#TextEditorContext?after=group.edit">
|
||||
<command
|
||||
commandId="fr.n7.GAME.validate"
|
||||
style="push"
|
||||
tooltip="Trigger expensive validation">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
<!-- copy qualified name -->
|
||||
<menuContribution locationURI="popup:#TextEditorContext?after=copy">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
|
||||
style="push" tooltip="Copy Qualified Name">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened" />
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
<menuContribution locationURI="menu:edit?after=copy">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
|
||||
style="push" tooltip="Copy Qualified Name">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened" />
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
<menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
|
||||
style="push" tooltip="Copy Qualified Name">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<and>
|
||||
<reference definitionId="fr.n7.GAME.XtextEditor.opened" />
|
||||
<iterate>
|
||||
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
|
||||
</iterate>
|
||||
</and>
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.FindReferences">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.handlers">
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
|
||||
commandId="org.eclipse.xtext.ui.editor.FindReferences">
|
||||
<activeWhen>
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
<extension point="org.eclipse.core.contenttype.contentTypes">
|
||||
<content-type
|
||||
base-type="org.eclipse.core.runtime.text"
|
||||
file-extensions="game"
|
||||
id="fr.n7.GAME.contenttype"
|
||||
name="GAME File"
|
||||
priority="normal">
|
||||
</content-type>
|
||||
</extension>
|
||||
<!-- adding resource factories -->
|
||||
<extension
|
||||
point="org.eclipse.emf.ecore.extension_parser">
|
||||
<parser
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
|
||||
type="game">
|
||||
</parser>
|
||||
</extension>
|
||||
<extension point="org.eclipse.xtext.extension_resourceServiceProvider">
|
||||
<resourceServiceProvider
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
|
||||
uriExtension="game">
|
||||
</resourceServiceProvider>
|
||||
</extension>
|
||||
<!-- marker definitions for fr.n7.GAME -->
|
||||
<extension
|
||||
id="game.check.fast"
|
||||
name="GAME Problem"
|
||||
point="org.eclipse.core.resources.markers">
|
||||
<super type="org.eclipse.xtext.ui.check.fast"/>
|
||||
<persistent value="true"/>
|
||||
</extension>
|
||||
<extension
|
||||
id="game.check.normal"
|
||||
name="GAME Problem"
|
||||
point="org.eclipse.core.resources.markers">
|
||||
<super type="org.eclipse.xtext.ui.check.normal"/>
|
||||
<persistent value="true"/>
|
||||
</extension>
|
||||
<extension
|
||||
id="game.check.expensive"
|
||||
name="GAME Problem"
|
||||
point="org.eclipse.core.resources.markers">
|
||||
<super type="org.eclipse.xtext.ui.check.expensive"/>
|
||||
<persistent value="true"/>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.validation.ValidatorPreferencePage"
|
||||
id="fr.n7.GAME.validator.preferencePage"
|
||||
name="Errors/Warnings">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension point="org.eclipse.xtext.builder.participant">
|
||||
<participant
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
|
||||
fileExtensions="game"/>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
|
||||
id="fr.n7.GAME.compiler.preferencePage"
|
||||
name="Compiler">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
|
||||
id="fr.n7.GAME.compiler.propertyPage"
|
||||
name="Compiler">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
<enabledWhen>
|
||||
<adapt type="org.eclipse.core.resources.IProject"/>
|
||||
</enabledWhen>
|
||||
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
|
||||
<command
|
||||
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
|
||||
id="fr.n7.GAME.OpenGeneratedCode"
|
||||
style="push">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened" />
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.handlers">
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
|
||||
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
|
||||
<activeWhen>
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened" />
|
||||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
<!-- Quick Outline -->
|
||||
<extension
|
||||
point="org.eclipse.ui.handlers">
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
|
||||
commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
|
||||
<activeWhen>
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.commands">
|
||||
<command
|
||||
description="Open the quick outline."
|
||||
id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
|
||||
name="Quick Outline">
|
||||
</command>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution
|
||||
locationURI="popup:#TextEditorContext?after=group.open">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
|
||||
style="push"
|
||||
tooltip="Open Quick Outline">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="fr.n7.GAME.Editor.opened"/>
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
<!-- quickfix marker resolution generator for fr.n7.GAME -->
|
||||
<extension
|
||||
point="org.eclipse.ui.ide.markerResolution">
|
||||
<markerResolutionGenerator
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
|
||||
markerType="fr.n7.game.ui.game.check.fast">
|
||||
<attribute
|
||||
name="FIXABLE_KEY"
|
||||
value="true">
|
||||
</attribute>
|
||||
</markerResolutionGenerator>
|
||||
<markerResolutionGenerator
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
|
||||
markerType="fr.n7.game.ui.game.check.normal">
|
||||
<attribute
|
||||
name="FIXABLE_KEY"
|
||||
value="true">
|
||||
</attribute>
|
||||
</markerResolutionGenerator>
|
||||
<markerResolutionGenerator
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
|
||||
markerType="fr.n7.game.ui.game.check.expensive">
|
||||
<attribute
|
||||
name="FIXABLE_KEY"
|
||||
value="true">
|
||||
</attribute>
|
||||
</markerResolutionGenerator>
|
||||
</extension>
|
||||
<!-- Rename Refactoring -->
|
||||
<extension point="org.eclipse.ui.handlers">
|
||||
<handler
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
|
||||
commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
|
||||
<activeWhen>
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution
|
||||
locationURI="popup:#TextEditorContext?after=group.edit">
|
||||
<command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
|
||||
style="push">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference
|
||||
definitionId="fr.n7.GAME.Editor.opened">
|
||||
</reference>
|
||||
</visibleWhen>
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
category="fr.n7.GAME"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
|
||||
id="fr.n7.GAME.refactoring"
|
||||
name="Refactoring">
|
||||
<keywordReference id="fr.n7.ui.keyword_GAME"/>
|
||||
</page>
|
||||
</extension>
|
||||
<extension point="org.eclipse.compare.contentViewers">
|
||||
<viewer id="fr.n7.GAME.compare.contentViewers"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
|
||||
extensions="game">
|
||||
</viewer>
|
||||
<contentTypeBinding
|
||||
contentTypeId="fr.n7.GAME.contenttype"
|
||||
contentViewerId="fr.n7.GAME.compare.contentViewers" />
|
||||
</extension>
|
||||
<extension point="org.eclipse.compare.contentMergeViewers">
|
||||
<viewer id="fr.n7.GAME.compare.contentMergeViewers"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
|
||||
extensions="game" label="GAME Compare">
|
||||
</viewer>
|
||||
<contentTypeBinding
|
||||
contentTypeId="fr.n7.GAME.contenttype"
|
||||
contentMergeViewerId="fr.n7.GAME.compare.contentMergeViewers" />
|
||||
</extension>
|
||||
<extension point="org.eclipse.ui.editors.documentProviders">
|
||||
<provider id="fr.n7.GAME.editors.documentProviders"
|
||||
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
|
||||
extensions="game">
|
||||
</provider>
|
||||
</extension>
|
||||
<extension point="org.eclipse.team.core.fileTypes">
|
||||
<fileTypes
|
||||
extension="game"
|
||||
type="text">
|
||||
</fileTypes>
|
||||
</extension>
|
||||
</plugin>
|
|
@ -6,6 +6,8 @@ package fr.n7.game.ui.internal;
|
|||
import com.google.common.collect.Maps;
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.GAMERuntimeModule;
|
||||
import fr.n7.ui.GAMEUiModule;
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
import org.apache.log4j.Logger;
|
||||
|
@ -13,8 +15,6 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|||
import org.eclipse.xtext.ui.shared.SharedStateModule;
|
||||
import org.eclipse.xtext.util.Modules2;
|
||||
import org.osgi.framework.BundleContext;
|
||||
import xtext.GameRuntimeModule;
|
||||
import xtext.ui.GameUiModule;
|
||||
|
||||
/**
|
||||
* This class was generated. Customizations should only happen in a newly
|
||||
|
@ -23,7 +23,7 @@ import xtext.ui.GameUiModule;
|
|||
public class GameActivator extends AbstractUIPlugin {
|
||||
|
||||
public static final String PLUGIN_ID = "fr.n7.game.ui";
|
||||
public static final String XTEXT_GAME = "xtext.Game";
|
||||
public static final String FR_N7_GAME = "fr.n7.GAME";
|
||||
|
||||
private static final Logger logger = Logger.getLogger(GameActivator.class);
|
||||
|
||||
|
@ -73,15 +73,15 @@ public class GameActivator extends AbstractUIPlugin {
|
|||
}
|
||||
|
||||
protected com.google.inject.Module getRuntimeModule(String grammar) {
|
||||
if (XTEXT_GAME.equals(grammar)) {
|
||||
return new GameRuntimeModule();
|
||||
if (FR_N7_GAME.equals(grammar)) {
|
||||
return new GAMERuntimeModule();
|
||||
}
|
||||
throw new IllegalArgumentException(grammar);
|
||||
}
|
||||
|
||||
protected com.google.inject.Module getUiModule(String grammar) {
|
||||
if (XTEXT_GAME.equals(grammar)) {
|
||||
return new GameUiModule(this);
|
||||
if (FR_N7_GAME.equals(grammar)) {
|
||||
return new GAMEUiModule(this);
|
||||
}
|
||||
throw new IllegalArgumentException(grammar);
|
||||
}
|
||||
|
|
|
@ -1,11 +1,20 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ui;
|
||||
package fr.n7.ui;
|
||||
|
||||
import com.google.inject.Binder;
|
||||
import com.google.inject.Provider;
|
||||
import com.google.inject.name.Names;
|
||||
import fr.n7.ide.contentassist.antlr.GAMEParser;
|
||||
import fr.n7.ide.contentassist.antlr.PartialGAMEContentAssistParser;
|
||||
import fr.n7.ide.contentassist.antlr.internal.InternalGAMELexer;
|
||||
import fr.n7.ui.contentassist.GAMEProposalProvider;
|
||||
import fr.n7.ui.labeling.GAMEDescriptionLabelProvider;
|
||||
import fr.n7.ui.labeling.GAMELabelProvider;
|
||||
import fr.n7.ui.outline.GAMEOutlineTreeProvider;
|
||||
import fr.n7.ui.quickfix.GAMEQuickfixProvider;
|
||||
import fr.n7.validation.GAMEValidatorConfigurationBlock;
|
||||
import org.eclipse.compare.IViewerCreator;
|
||||
import org.eclipse.core.resources.IWorkspaceRoot;
|
||||
import org.eclipse.core.resources.ResourcesPlugin;
|
||||
|
@ -69,23 +78,14 @@ import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences;
|
|||
import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider;
|
||||
import org.eclipse.xtext.ui.shared.Access;
|
||||
import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
|
||||
import xtext.ide.contentassist.antlr.GameParser;
|
||||
import xtext.ide.contentassist.antlr.PartialGameContentAssistParser;
|
||||
import xtext.ide.contentassist.antlr.internal.InternalGameLexer;
|
||||
import xtext.ui.contentassist.GameProposalProvider;
|
||||
import xtext.ui.labeling.GameDescriptionLabelProvider;
|
||||
import xtext.ui.labeling.GameLabelProvider;
|
||||
import xtext.ui.outline.GameOutlineTreeProvider;
|
||||
import xtext.ui.quickfix.GameQuickfixProvider;
|
||||
import xtext.validation.GameValidatorConfigurationBlock;
|
||||
|
||||
/**
|
||||
* Manual modifications go to {@link GameUiModule}.
|
||||
* Manual modifications go to {@link GAMEUiModule}.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public abstract class AbstractGameUiModule extends DefaultUiModule {
|
||||
public abstract class AbstractGAMEUiModule extends DefaultUiModule {
|
||||
|
||||
public AbstractGameUiModule(AbstractUIPlugin plugin) {
|
||||
public AbstractGAMEUiModule(AbstractUIPlugin plugin) {
|
||||
super(plugin);
|
||||
}
|
||||
|
||||
|
@ -103,14 +103,14 @@ public abstract class AbstractGameUiModule extends DefaultUiModule {
|
|||
public void configureContentAssistLexer(Binder binder) {
|
||||
binder.bind(Lexer.class)
|
||||
.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
|
||||
.to(InternalGameLexer.class);
|
||||
.to(InternalGAMELexer.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public void configureHighlightingLexer(Binder binder) {
|
||||
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class)
|
||||
.annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
|
||||
.to(xtext.parser.antlr.internal.InternalGameLexer.class);
|
||||
.to(fr.n7.parser.antlr.internal.InternalGAMELexer.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
|
@ -127,17 +127,17 @@ public abstract class AbstractGameUiModule extends DefaultUiModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
|
||||
return GameParser.class;
|
||||
return GAMEParser.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public void configureContentAssistLexerProvider(Binder binder) {
|
||||
binder.bind(InternalGameLexer.class).toProvider(LexerProvider.create(InternalGameLexer.class));
|
||||
binder.bind(InternalGAMELexer.class).toProvider(LexerProvider.create(InternalGAMELexer.class));
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
|
||||
public Class<? extends AbstractValidatorConfigurationBlock> bindAbstractValidatorConfigurationBlock() {
|
||||
return GameValidatorConfigurationBlock.class;
|
||||
return GAMEValidatorConfigurationBlock.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
|
||||
|
@ -194,32 +194,32 @@ public abstract class AbstractGameUiModule extends DefaultUiModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
|
||||
public Class<? extends ILabelProvider> bindILabelProvider() {
|
||||
return GameLabelProvider.class;
|
||||
return GAMELabelProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
|
||||
public void configureResourceUIServiceLabelProvider(Binder binder) {
|
||||
binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(GameDescriptionLabelProvider.class);
|
||||
binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(GAMEDescriptionLabelProvider.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
|
||||
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
|
||||
return GameOutlineTreeProvider.class;
|
||||
return GAMEOutlineTreeProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
|
||||
public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
|
||||
return GameOutlineTreeProvider.class;
|
||||
return GAMEOutlineTreeProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2
|
||||
public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() {
|
||||
return GameQuickfixProvider.class;
|
||||
return GAMEQuickfixProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2
|
||||
public Class<? extends IContentProposalProvider> bindIContentProposalProvider() {
|
||||
return GameProposalProvider.class;
|
||||
return GAMEProposalProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
|
||||
|
@ -272,7 +272,7 @@ public abstract class AbstractGameUiModule extends DefaultUiModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
|
||||
public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() {
|
||||
return PartialGameContentAssistParser.class;
|
||||
return PartialGAMEContentAssistParser.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
|
||||
|
@ -287,7 +287,7 @@ public abstract class AbstractGameUiModule extends DefaultUiModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2
|
||||
public void configureCompareViewerTitle(Binder binder) {
|
||||
binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("Game Compare");
|
||||
binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("GAME Compare");
|
||||
}
|
||||
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ui;
|
||||
package fr.n7.ui;
|
||||
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.game.ui.internal.GameActivator;
|
||||
|
@ -13,7 +13,7 @@ import org.osgi.framework.Bundle;
|
|||
* This class was generated. Customizations should only happen in a newly
|
||||
* introduced subclass.
|
||||
*/
|
||||
public class GameExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
|
||||
public class GAMEExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
|
||||
|
||||
@Override
|
||||
protected Bundle getBundle() {
|
||||
|
@ -23,7 +23,7 @@ public class GameExecutableExtensionFactory extends AbstractGuiceAwareExecutable
|
|||
@Override
|
||||
protected Injector getInjector() {
|
||||
GameActivator activator = GameActivator.getInstance();
|
||||
return activator != null ? activator.getInjector(GameActivator.XTEXT_GAME) : null;
|
||||
return activator != null ? activator.getInjector(GameActivator.FR_N7_GAME) : null;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.ui.contentassist;
|
||||
package fr.n7.ui.contentassist;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.xtext.Assignment;
|
||||
|
@ -15,7 +15,7 @@ import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
|
|||
* Methods are dynamically dispatched on the first parameter, i.e., you can override them
|
||||
* with a more concrete subtype.
|
||||
*/
|
||||
public abstract class AbstractGameProposalProvider extends TerminalsProposalProvider {
|
||||
public abstract class AbstractGAMEProposalProvider extends TerminalsProposalProvider {
|
||||
|
||||
public void completeJeu_Explorateur(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
||||
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
|
|
@ -1,20 +1,20 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.validation;
|
||||
package fr.n7.validation;
|
||||
|
||||
import org.eclipse.jface.dialogs.IDialogSettings;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
|
||||
|
||||
@SuppressWarnings("restriction")
|
||||
public class GameValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock {
|
||||
public class GAMEValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock {
|
||||
|
||||
protected static final String SETTINGS_SECTION_NAME = "Game";
|
||||
protected static final String SETTINGS_SECTION_NAME = "GAME";
|
||||
|
||||
@Override
|
||||
protected void fillSettingsPage(Composite composite, int nColumns, int defaultIndent) {
|
||||
addComboBox(GameConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent);
|
||||
addComboBox(GAMEConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent);
|
||||
}
|
||||
|
||||
@Override
|
16
workspace/fr.n7.game.ui/src/fr/n7/ui/GAMEUiModule.java
Normal file
16
workspace/fr.n7.game.ui/src/fr/n7/ui/GAMEUiModule.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui;
|
||||
|
||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||
|
||||
/**
|
||||
* Use this class to register components to be used within the Eclipse IDE.
|
||||
*/
|
||||
public class GAMEUiModule extends AbstractGAMEUiModule {
|
||||
|
||||
public GAMEUiModule(AbstractUIPlugin plugin) {
|
||||
super(plugin);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui.contentassist;
|
||||
|
||||
|
||||
/**
|
||||
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#content-assist
|
||||
* on how to customize the content assistant.
|
||||
*/
|
||||
public class GAMEProposalProvider extends AbstractGAMEProposalProvider {
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui.labeling;
|
||||
|
||||
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
|
||||
|
||||
/**
|
||||
* Provides labels for IEObjectDescriptions and IResourceDescriptions.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#label-provider
|
||||
*/
|
||||
public class GAMEDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
|
||||
|
||||
// Labels and icons can be computed like this:
|
||||
// @Override
|
||||
// public String text(IEObjectDescription ele) {
|
||||
// return ele.getName().toString();
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String image(IEObjectDescription ele) {
|
||||
// return ele.getEClass().getName() + ".gif";
|
||||
// }
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui.labeling;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
|
||||
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
|
||||
|
||||
/**
|
||||
* Provides labels for EObjects.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#label-provider
|
||||
*/
|
||||
public class GAMELabelProvider extends DefaultEObjectLabelProvider {
|
||||
|
||||
@Inject
|
||||
public GAMELabelProvider(AdapterFactoryLabelProvider delegate) {
|
||||
super(delegate);
|
||||
}
|
||||
|
||||
// Labels and icons can be computed like this:
|
||||
|
||||
// String text(Greeting ele) {
|
||||
// return "A greeting to " + ele.getName();
|
||||
// }
|
||||
//
|
||||
// String image(Greeting ele) {
|
||||
// return "Greeting.gif";
|
||||
// }
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui.outline;
|
||||
|
||||
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
|
||||
|
||||
/**
|
||||
* Customization of the default outline structure.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline
|
||||
*/
|
||||
public class GAMEOutlineTreeProvider extends DefaultOutlineTreeProvider {
|
||||
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.ui.quickfix;
|
||||
|
||||
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
|
||||
|
||||
/**
|
||||
* Custom quickfixes.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes
|
||||
*/
|
||||
public class GAMEQuickfixProvider extends DefaultQuickfixProvider {
|
||||
|
||||
// @Fix(GAMEValidator.INVALID_NAME)
|
||||
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) {
|
||||
// acceptor.accept(issue, "Capitalize name", "Capitalize the name.", "upcase.png", new IModification() {
|
||||
// public void apply(IModificationContext context) throws BadLocationException {
|
||||
// IXtextDocument xtextDocument = context.getXtextDocument();
|
||||
// String firstLetter = xtextDocument.get(issue.getOffset(), 1);
|
||||
// xtextDocument.replace(issue.getOffset(), 1, firstLetter.toUpperCase());
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
}
|
|
@ -25,5 +25,16 @@ Export-Package: xtext.services,
|
|||
xtext.game,
|
||||
xtext.game.impl,
|
||||
xtext.game.util,
|
||||
xtext.scoping
|
||||
xtext.scoping,
|
||||
fr.n7.services,
|
||||
fr.n7.game.impl,
|
||||
fr.n7.parser.antlr.internal,
|
||||
fr.n7.scoping,
|
||||
fr.n7.game.util,
|
||||
fr.n7.game,
|
||||
fr.n7.validation,
|
||||
fr.n7,
|
||||
fr.n7.serializer,
|
||||
fr.n7.parser.antlr,
|
||||
fr.n7.generator
|
||||
Import-Package: org.apache.log4j
|
||||
|
|
|
@ -1,107 +1,107 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
|
||||
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext 2.23.0" modelDirectory="/fr.n7.game/src-gen"
|
||||
modelPluginID="fr.n7.game" forceOverwrite="true" modelName="Game" updateClasspath="false"
|
||||
modelPluginID="fr.n7.game" forceOverwrite="true" modelName="GAME" updateClasspath="false"
|
||||
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="8.0"
|
||||
copyrightFields="false" runtimeVersion="2.20">
|
||||
<genPackages prefix="Game" basePackage="xtext" disposableProviderFactory="true"
|
||||
fileExtensions="game" ecorePackage="Game.ecore#/">
|
||||
<genClasses ecoreClass="Game.ecore#//Jeu">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/explorateur"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/territoire"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/objets"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/connaissances"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/personnes"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/transformations"/>
|
||||
<genPackages prefix="Game" basePackage="fr.n7" disposableProviderFactory="true"
|
||||
fileExtensions="game" ecorePackage="GAME.ecore#/">
|
||||
<genClasses ecoreClass="GAME.ecore#//Jeu">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/explorateur"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/territoire"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/objets"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/connaissances"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/personnes"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Jeu/transformations"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Explorateur">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Explorateur/tailleInventaire"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Explorateur/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Explorateur/objets"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Explorateur">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Explorateur/tailleInventaire"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Explorateur/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Explorateur/objets"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Territoire">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Territoire/lieux"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Territoire/chemins"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Territoire">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Territoire/lieux"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Territoire/chemins"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Lieu">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Lieu/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/deposable"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/depart"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/fin"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Lieu/personnes"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/descriptions"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Lieu/objets"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Lieu/connaissances"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Lieu">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Lieu/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Lieu/deposable"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Lieu/depart"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Lieu/fin"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Lieu/personnes"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Lieu/descriptions"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Lieu/objets"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Lieu/connaissances"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Chemin">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Chemin/lieuIn"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Chemin/lieuOut"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/ouvert"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/obligatoire"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Chemin/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Chemin/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Chemin/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/descriptions"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Chemin">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Chemin/lieuIn"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Chemin/lieuOut"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Chemin/ouvert"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Chemin/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Chemin/obligatoire"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Chemin/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Chemin/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Chemin/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Chemin/descriptions"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Objet">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Objet/nom"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Objet/taille"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Objet/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Objet/descriptions"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Objet">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Objet/nom"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Objet/taille"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Objet/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Objet/descriptions"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Transformation">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Transformation/condition"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Transformation/objetsIn"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Transformation/objetsOut"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Transformation">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Transformation/condition"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Transformation/objetsIn"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Transformation/objetsOut"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Connaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Connaissance/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Connaissance/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Connaissance/descriptions"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Connaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Connaissance/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Connaissance/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Connaissance/descriptions"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Personne">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Personne/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/obligatoire"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/interactions"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Personne">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Personne/nom"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Personne/visible"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Personne/obligatoire"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Personne/interactions"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Interaction">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/visible"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Interaction/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Interaction/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Interaction/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/actions"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Interaction">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Interaction/visible"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Interaction/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Interaction/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Interaction/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Interaction/actions"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Action">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/descriptions"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/visible"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Action/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Action/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Action/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/finInteraction"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Action">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Action/descriptions"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Action/visible"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Action/connaissances"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Action/objetsRecus"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Action/objetsConso"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Action/finInteraction"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Description">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Description/texte"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Description/condition"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Description">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//Description/texte"/>
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Description/condition"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//Condition">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Condition/condition"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//Condition">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//Condition/condition"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//ConditionEt">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//ConditionEt/conditionTest"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//ConditionEt">
|
||||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference GAME.ecore#//ConditionEt/conditionTest"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//ConditionTest"/>
|
||||
<genClasses ecoreClass="Game.ecore#//ConditionConnaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionConnaissance/connaissance"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//ConditionTest"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//ConditionConnaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//ConditionConnaissance/connaissance"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//NOTConditionConnaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//NOTConditionConnaissance/connaissance"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//NOTConditionConnaissance">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//NOTConditionConnaissance/connaissance"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="Game.ecore#//ConditionObjet">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionObjet/objet"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionObjet/comparateur"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionObjet/nombre"/>
|
||||
<genClasses ecoreClass="GAME.ecore#//ConditionObjet">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//ConditionObjet/objet"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//ConditionObjet/comparateur"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute GAME.ecore#//ConditionObjet/nombre"/>
|
||||
</genClasses>
|
||||
</genPackages>
|
||||
</genmodel:GenModel>
|
10
workspace/fr.n7.game/plugin.xml_gen
Normal file
10
workspace/fr.n7.game/plugin.xml_gen
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.0"?>
|
||||
<plugin>
|
||||
<extension point="org.eclipse.emf.ecore.generated_package">
|
||||
<package
|
||||
uri = "http://game"
|
||||
class = "fr.n7.game.GamePackage"
|
||||
genModel = "model/generated/GAME.genmodel" />
|
||||
</extension>
|
||||
</plugin>
|
|
@ -1,11 +1,21 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext;
|
||||
package fr.n7;
|
||||
|
||||
import com.google.inject.Binder;
|
||||
import com.google.inject.Provider;
|
||||
import com.google.inject.name.Names;
|
||||
import fr.n7.generator.GAMEGenerator;
|
||||
import fr.n7.parser.antlr.GAMEAntlrTokenFileProvider;
|
||||
import fr.n7.parser.antlr.GAMEParser;
|
||||
import fr.n7.parser.antlr.internal.InternalGAMELexer;
|
||||
import fr.n7.scoping.GAMEScopeProvider;
|
||||
import fr.n7.serializer.GAMESemanticSequencer;
|
||||
import fr.n7.serializer.GAMESyntacticSequencer;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
import fr.n7.validation.GAMEConfigurableIssueCodesProvider;
|
||||
import fr.n7.validation.GAMEValidator;
|
||||
import java.util.Properties;
|
||||
import org.eclipse.xtext.Constants;
|
||||
import org.eclipse.xtext.IGrammarAccess;
|
||||
|
@ -41,33 +51,23 @@ import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
|
|||
import org.eclipse.xtext.service.DefaultRuntimeModule;
|
||||
import org.eclipse.xtext.service.SingletonBinding;
|
||||
import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
|
||||
import xtext.generator.GameGenerator;
|
||||
import xtext.parser.antlr.GameAntlrTokenFileProvider;
|
||||
import xtext.parser.antlr.GameParser;
|
||||
import xtext.parser.antlr.internal.InternalGameLexer;
|
||||
import xtext.scoping.GameScopeProvider;
|
||||
import xtext.serializer.GameSemanticSequencer;
|
||||
import xtext.serializer.GameSyntacticSequencer;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
import xtext.validation.GameConfigurableIssueCodesProvider;
|
||||
import xtext.validation.GameValidator;
|
||||
|
||||
/**
|
||||
* Manual modifications go to {@link GameRuntimeModule}.
|
||||
* Manual modifications go to {@link GAMERuntimeModule}.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
||||
public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
|
||||
|
||||
protected Properties properties = null;
|
||||
|
||||
@Override
|
||||
public void configure(Binder binder) {
|
||||
properties = tryBindProperties(binder, "xtext/Game.properties");
|
||||
properties = tryBindProperties(binder, "fr/n7/GAME.properties");
|
||||
super.configure(binder);
|
||||
}
|
||||
|
||||
public void configureLanguageName(Binder binder) {
|
||||
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("xtext.Game");
|
||||
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("fr.n7.GAME");
|
||||
}
|
||||
|
||||
public void configureFileExtensions(Binder binder) {
|
||||
|
@ -82,17 +82,17 @@ public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
|
||||
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
|
||||
return GameGrammarAccess.class;
|
||||
return GAMEGrammarAccess.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
|
||||
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
|
||||
return GameSemanticSequencer.class;
|
||||
return GAMESemanticSequencer.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
|
||||
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
|
||||
return GameSyntacticSequencer.class;
|
||||
return GAMESyntacticSequencer.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
|
||||
|
@ -102,7 +102,7 @@ public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Class<? extends IParser> bindIParser() {
|
||||
return GameParser.class;
|
||||
return GAMEParser.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
|
@ -112,12 +112,12 @@ public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
|
||||
return GameAntlrTokenFileProvider.class;
|
||||
return GAMEAntlrTokenFileProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Class<? extends Lexer> bindLexer() {
|
||||
return InternalGameLexer.class;
|
||||
return InternalGAMELexer.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
|
@ -126,31 +126,31 @@ public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
|||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public Provider<? extends InternalGameLexer> provideInternalGameLexer() {
|
||||
return LexerProvider.create(InternalGameLexer.class);
|
||||
public Provider<? extends InternalGAMELexer> provideInternalGAMELexer() {
|
||||
return LexerProvider.create(InternalGAMELexer.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
||||
public void configureRuntimeLexer(Binder binder) {
|
||||
binder.bind(Lexer.class)
|
||||
.annotatedWith(Names.named(LexerBindings.RUNTIME))
|
||||
.to(InternalGameLexer.class);
|
||||
.to(InternalGAMELexer.class);
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
|
||||
@SingletonBinding(eager=true)
|
||||
public Class<? extends GameValidator> bindGameValidator() {
|
||||
return GameValidator.class;
|
||||
public Class<? extends GAMEValidator> bindGAMEValidator() {
|
||||
return GAMEValidator.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
|
||||
public Class<? extends ConfigurableIssueCodesProvider> bindConfigurableIssueCodesProvider() {
|
||||
return GameConfigurableIssueCodesProvider.class;
|
||||
return GAMEConfigurableIssueCodesProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
|
||||
public Class<? extends IScopeProvider> bindIScopeProvider() {
|
||||
return GameScopeProvider.class;
|
||||
return GAMEScopeProvider.class;
|
||||
}
|
||||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
|
||||
|
@ -195,7 +195,7 @@ public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
|
|||
|
||||
// contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
|
||||
public Class<? extends IGenerator2> bindIGenerator2() {
|
||||
return GameGenerator.class;
|
||||
return GAMEGenerator.class;
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
|
@ -1,20 +1,20 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext;
|
||||
package fr.n7;
|
||||
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Injector;
|
||||
import fr.n7.game.GamePackage;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
import org.eclipse.emf.ecore.resource.Resource;
|
||||
import org.eclipse.xtext.ISetup;
|
||||
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
|
||||
import org.eclipse.xtext.resource.IResourceFactory;
|
||||
import org.eclipse.xtext.resource.IResourceServiceProvider;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class GameStandaloneSetupGenerated implements ISetup {
|
||||
public class GAMEStandaloneSetupGenerated implements ISetup {
|
||||
|
||||
@Override
|
||||
public Injector createInjectorAndDoEMFRegistration() {
|
||||
|
@ -26,7 +26,7 @@ public class GameStandaloneSetupGenerated implements ISetup {
|
|||
}
|
||||
|
||||
public Injector createInjector() {
|
||||
return Guice.createInjector(new GameRuntimeModule());
|
||||
return Guice.createInjector(new GAMERuntimeModule());
|
||||
}
|
||||
|
||||
public void register(Injector injector) {
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,15 +16,15 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Action#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link xtext.game.Action#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Action#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.Action#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.Action#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.Action#getFinInteraction <em>Fin Interaction</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.Action#getFinInteraction <em>Fin Interaction</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getAction()
|
||||
* @see fr.n7.game.GamePackage#getAction()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -32,11 +32,11 @@ public interface Action extends EObject
|
|||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Description}.
|
||||
* The list contents are of type {@link fr.n7.game.Description}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Descriptions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getAction_Descriptions()
|
||||
* @see fr.n7.game.GamePackage#getAction_Descriptions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -48,14 +48,14 @@ public interface Action extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getAction_Visible()
|
||||
* @see fr.n7.game.GamePackage#getAction_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Action#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Action#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -70,7 +70,7 @@ public interface Action extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getAction_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getAction_Connaissances()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -82,7 +82,7 @@ public interface Action extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Recus</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getAction_ObjetsRecus()
|
||||
* @see fr.n7.game.GamePackage#getAction_ObjetsRecus()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -94,7 +94,7 @@ public interface Action extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Conso</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getAction_ObjetsConso()
|
||||
* @see fr.n7.game.GamePackage#getAction_ObjetsConso()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -106,14 +106,14 @@ public interface Action extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Fin Interaction</em>' containment reference.
|
||||
* @see #setFinInteraction(Condition)
|
||||
* @see xtext.game.GamePackage#getAction_FinInteraction()
|
||||
* @see fr.n7.game.GamePackage#getAction_FinInteraction()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getFinInteraction();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Action#getFinInteraction <em>Fin Interaction</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Action#getFinInteraction <em>Fin Interaction</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Fin Interaction</em>' containment reference.
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,18 +16,18 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Chemin#getLieuIn <em>Lieu In</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getLieuOut <em>Lieu Out</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getOuvert <em>Ouvert</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.Chemin#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getLieuIn <em>Lieu In</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getLieuOut <em>Lieu Out</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getOuvert <em>Ouvert</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.Chemin#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getChemin()
|
||||
* @see fr.n7.game.GamePackage#getChemin()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -39,14 +39,14 @@ public interface Chemin extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lieu In</em>' attribute.
|
||||
* @see #setLieuIn(String)
|
||||
* @see xtext.game.GamePackage#getChemin_LieuIn()
|
||||
* @see fr.n7.game.GamePackage#getChemin_LieuIn()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getLieuIn();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Chemin#getLieuIn <em>Lieu In</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Chemin#getLieuIn <em>Lieu In</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Lieu In</em>' attribute.
|
||||
|
@ -61,14 +61,14 @@ public interface Chemin extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lieu Out</em>' attribute.
|
||||
* @see #setLieuOut(String)
|
||||
* @see xtext.game.GamePackage#getChemin_LieuOut()
|
||||
* @see fr.n7.game.GamePackage#getChemin_LieuOut()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getLieuOut();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Chemin#getLieuOut <em>Lieu Out</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Chemin#getLieuOut <em>Lieu Out</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Lieu Out</em>' attribute.
|
||||
|
@ -83,14 +83,14 @@ public interface Chemin extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Ouvert</em>' containment reference.
|
||||
* @see #setOuvert(Condition)
|
||||
* @see xtext.game.GamePackage#getChemin_Ouvert()
|
||||
* @see fr.n7.game.GamePackage#getChemin_Ouvert()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getOuvert();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Chemin#getOuvert <em>Ouvert</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Chemin#getOuvert <em>Ouvert</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Ouvert</em>' containment reference.
|
||||
|
@ -105,14 +105,14 @@ public interface Chemin extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getChemin_Visible()
|
||||
* @see fr.n7.game.GamePackage#getChemin_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Chemin#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Chemin#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -127,14 +127,14 @@ public interface Chemin extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Obligatoire</em>' containment reference.
|
||||
* @see #setObligatoire(Condition)
|
||||
* @see xtext.game.GamePackage#getChemin_Obligatoire()
|
||||
* @see fr.n7.game.GamePackage#getChemin_Obligatoire()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getObligatoire();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Chemin#getObligatoire <em>Obligatoire</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Chemin#getObligatoire <em>Obligatoire</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Obligatoire</em>' containment reference.
|
||||
|
@ -149,7 +149,7 @@ public interface Chemin extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getChemin_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getChemin_Connaissances()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -161,7 +161,7 @@ public interface Chemin extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Recus</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getChemin_ObjetsRecus()
|
||||
* @see fr.n7.game.GamePackage#getChemin_ObjetsRecus()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -173,7 +173,7 @@ public interface Chemin extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Conso</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getChemin_ObjetsConso()
|
||||
* @see fr.n7.game.GamePackage#getChemin_ObjetsConso()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -181,11 +181,11 @@ public interface Chemin extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Description}.
|
||||
* The list contents are of type {@link fr.n7.game.Description}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Descriptions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getChemin_Descriptions()
|
||||
* @see fr.n7.game.GamePackage#getChemin_Descriptions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,10 +16,10 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Condition#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.Condition#getCondition <em>Condition</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getCondition()
|
||||
* @see fr.n7.game.GamePackage#getCondition()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -27,11 +27,11 @@ public interface Condition extends EObject
|
|||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Condition</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.ConditionEt}.
|
||||
* The list contents are of type {@link fr.n7.game.ConditionEt}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Condition</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getCondition_Condition()
|
||||
* @see fr.n7.game.GamePackage#getCondition_Condition()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,10 +13,10 @@ package xtext.game;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.ConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
|
||||
* <li>{@link fr.n7.game.ConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getConditionConnaissance()
|
||||
* @see fr.n7.game.GamePackage#getConditionConnaissance()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -28,14 +28,14 @@ public interface ConditionConnaissance extends ConditionTest
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissance</em>' attribute.
|
||||
* @see #setConnaissance(String)
|
||||
* @see xtext.game.GamePackage#getConditionConnaissance_Connaissance()
|
||||
* @see fr.n7.game.GamePackage#getConditionConnaissance_Connaissance()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getConnaissance();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.ConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.ConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Connaissance</em>' attribute.
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,10 +16,10 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.ConditionEt#getConditionTest <em>Condition Test</em>}</li>
|
||||
* <li>{@link fr.n7.game.ConditionEt#getConditionTest <em>Condition Test</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getConditionEt()
|
||||
* @see fr.n7.game.GamePackage#getConditionEt()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -27,11 +27,11 @@ public interface ConditionEt extends EObject
|
|||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Condition Test</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.ConditionTest}.
|
||||
* The list contents are of type {@link fr.n7.game.ConditionTest}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Condition Test</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getConditionEt_ConditionTest()
|
||||
* @see fr.n7.game.GamePackage#getConditionEt_ConditionTest()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,12 +13,12 @@ package xtext.game;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.ConditionObjet#getObjet <em>Objet</em>}</li>
|
||||
* <li>{@link xtext.game.ConditionObjet#getComparateur <em>Comparateur</em>}</li>
|
||||
* <li>{@link xtext.game.ConditionObjet#getNombre <em>Nombre</em>}</li>
|
||||
* <li>{@link fr.n7.game.ConditionObjet#getObjet <em>Objet</em>}</li>
|
||||
* <li>{@link fr.n7.game.ConditionObjet#getComparateur <em>Comparateur</em>}</li>
|
||||
* <li>{@link fr.n7.game.ConditionObjet#getNombre <em>Nombre</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getConditionObjet()
|
||||
* @see fr.n7.game.GamePackage#getConditionObjet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -30,14 +30,14 @@ public interface ConditionObjet extends ConditionTest
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objet</em>' attribute.
|
||||
* @see #setObjet(String)
|
||||
* @see xtext.game.GamePackage#getConditionObjet_Objet()
|
||||
* @see fr.n7.game.GamePackage#getConditionObjet_Objet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getObjet();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.ConditionObjet#getObjet <em>Objet</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.ConditionObjet#getObjet <em>Objet</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Objet</em>' attribute.
|
||||
|
@ -52,14 +52,14 @@ public interface ConditionObjet extends ConditionTest
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Comparateur</em>' attribute.
|
||||
* @see #setComparateur(String)
|
||||
* @see xtext.game.GamePackage#getConditionObjet_Comparateur()
|
||||
* @see fr.n7.game.GamePackage#getConditionObjet_Comparateur()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getComparateur();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.ConditionObjet#getComparateur <em>Comparateur</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.ConditionObjet#getComparateur <em>Comparateur</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Comparateur</em>' attribute.
|
||||
|
@ -74,14 +74,14 @@ public interface ConditionObjet extends ConditionTest
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nombre</em>' attribute.
|
||||
* @see #setNombre(int)
|
||||
* @see xtext.game.GamePackage#getConditionObjet_Nombre()
|
||||
* @see fr.n7.game.GamePackage#getConditionObjet_Nombre()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
int getNombre();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.ConditionObjet#getNombre <em>Nombre</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.ConditionObjet#getNombre <em>Nombre</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Nombre</em>' attribute.
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* <!-- end-user-doc -->
|
||||
*
|
||||
*
|
||||
* @see xtext.game.GamePackage#getConditionTest()
|
||||
* @see fr.n7.game.GamePackage#getConditionTest()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,12 +16,12 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Connaissance#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.Connaissance#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Connaissance#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Connaissance#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.Connaissance#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Connaissance#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getConnaissance()
|
||||
* @see fr.n7.game.GamePackage#getConnaissance()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -33,14 +33,14 @@ public interface Connaissance extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nom</em>' attribute.
|
||||
* @see #setNom(String)
|
||||
* @see xtext.game.GamePackage#getConnaissance_Nom()
|
||||
* @see fr.n7.game.GamePackage#getConnaissance_Nom()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getNom();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Connaissance#getNom <em>Nom</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Connaissance#getNom <em>Nom</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Nom</em>' attribute.
|
||||
|
@ -55,14 +55,14 @@ public interface Connaissance extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getConnaissance_Visible()
|
||||
* @see fr.n7.game.GamePackage#getConnaissance_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Connaissance#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Connaissance#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -73,11 +73,11 @@ public interface Connaissance extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Description}.
|
||||
* The list contents are of type {@link fr.n7.game.Description}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Descriptions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getConnaissance_Descriptions()
|
||||
* @see fr.n7.game.GamePackage#getConnaissance_Descriptions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
|
@ -14,11 +14,11 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Description#getTexte <em>Texte</em>}</li>
|
||||
* <li>{@link xtext.game.Description#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.Description#getTexte <em>Texte</em>}</li>
|
||||
* <li>{@link fr.n7.game.Description#getCondition <em>Condition</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getDescription()
|
||||
* @see fr.n7.game.GamePackage#getDescription()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -30,14 +30,14 @@ public interface Description extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Texte</em>' attribute.
|
||||
* @see #setTexte(String)
|
||||
* @see xtext.game.GamePackage#getDescription_Texte()
|
||||
* @see fr.n7.game.GamePackage#getDescription_Texte()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getTexte();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Description#getTexte <em>Texte</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Description#getTexte <em>Texte</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Texte</em>' attribute.
|
||||
|
@ -52,14 +52,14 @@ public interface Description extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Condition</em>' containment reference.
|
||||
* @see #setCondition(Condition)
|
||||
* @see xtext.game.GamePackage#getDescription_Condition()
|
||||
* @see fr.n7.game.GamePackage#getDescription_Condition()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getCondition();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Description#getCondition <em>Condition</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Description#getCondition <em>Condition</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Condition</em>' containment reference.
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,12 +16,12 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}</li>
|
||||
* <li>{@link xtext.game.Explorateur#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.Explorateur#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}</li>
|
||||
* <li>{@link fr.n7.game.Explorateur#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Explorateur#getObjets <em>Objets</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getExplorateur()
|
||||
* @see fr.n7.game.GamePackage#getExplorateur()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -33,14 +33,14 @@ public interface Explorateur extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Taille Inventaire</em>' attribute.
|
||||
* @see #setTailleInventaire(int)
|
||||
* @see xtext.game.GamePackage#getExplorateur_TailleInventaire()
|
||||
* @see fr.n7.game.GamePackage#getExplorateur_TailleInventaire()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
int getTailleInventaire();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Taille Inventaire</em>' attribute.
|
||||
|
@ -55,7 +55,7 @@ public interface Explorateur extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getExplorateur_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getExplorateur_Connaissances()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -67,7 +67,7 @@ public interface Explorateur extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getExplorateur_Objets()
|
||||
* @see fr.n7.game.GamePackage#getExplorateur_Objets()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.ecore.EFactory;
|
||||
|
||||
|
@ -10,7 +10,7 @@ import org.eclipse.emf.ecore.EFactory;
|
|||
* The <b>Factory</b> for the model.
|
||||
* It provides a create method for each non-abstract class of the model.
|
||||
* <!-- end-user-doc -->
|
||||
* @see xtext.game.GamePackage
|
||||
* @see fr.n7.game.GamePackage
|
||||
* @generated
|
||||
*/
|
||||
public interface GameFactory extends EFactory
|
||||
|
@ -21,7 +21,7 @@ public interface GameFactory extends EFactory
|
|||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
GameFactory eINSTANCE = xtext.game.impl.GameFactoryImpl.init();
|
||||
GameFactory eINSTANCE = fr.n7.game.impl.GameFactoryImpl.init();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Jeu</em>'.
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,14 +16,14 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Interaction#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Interaction#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.Interaction#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.Interaction#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.Interaction#getActions <em>Actions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Interaction#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Interaction#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Interaction#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.Interaction#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.Interaction#getActions <em>Actions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getInteraction()
|
||||
* @see fr.n7.game.GamePackage#getInteraction()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -35,14 +35,14 @@ public interface Interaction extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getInteraction_Visible()
|
||||
* @see fr.n7.game.GamePackage#getInteraction_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Interaction#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Interaction#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -57,7 +57,7 @@ public interface Interaction extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getInteraction_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getInteraction_Connaissances()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -69,7 +69,7 @@ public interface Interaction extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Recus</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getInteraction_ObjetsRecus()
|
||||
* @see fr.n7.game.GamePackage#getInteraction_ObjetsRecus()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -81,7 +81,7 @@ public interface Interaction extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Conso</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getInteraction_ObjetsConso()
|
||||
* @see fr.n7.game.GamePackage#getInteraction_ObjetsConso()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -89,11 +89,11 @@ public interface Interaction extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Actions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Action}.
|
||||
* The list contents are of type {@link fr.n7.game.Action}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Actions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getInteraction_Actions()
|
||||
* @see fr.n7.game.GamePackage#getInteraction_Actions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,15 +16,15 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Jeu#getExplorateur <em>Explorateur</em>}</li>
|
||||
* <li>{@link xtext.game.Jeu#getTerritoire <em>Territoire</em>}</li>
|
||||
* <li>{@link xtext.game.Jeu#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link xtext.game.Jeu#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.Jeu#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link xtext.game.Jeu#getTransformations <em>Transformations</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getExplorateur <em>Explorateur</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getTerritoire <em>Territoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link fr.n7.game.Jeu#getTransformations <em>Transformations</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getJeu()
|
||||
* @see fr.n7.game.GamePackage#getJeu()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -36,14 +36,14 @@ public interface Jeu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Explorateur</em>' containment reference.
|
||||
* @see #setExplorateur(Explorateur)
|
||||
* @see xtext.game.GamePackage#getJeu_Explorateur()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Explorateur()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Explorateur getExplorateur();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Jeu#getExplorateur <em>Explorateur</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Jeu#getExplorateur <em>Explorateur</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Explorateur</em>' containment reference.
|
||||
|
@ -58,14 +58,14 @@ public interface Jeu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Territoire</em>' containment reference.
|
||||
* @see #setTerritoire(Territoire)
|
||||
* @see xtext.game.GamePackage#getJeu_Territoire()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Territoire()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Territoire getTerritoire();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Jeu#getTerritoire <em>Territoire</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Jeu#getTerritoire <em>Territoire</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Territoire</em>' containment reference.
|
||||
|
@ -76,11 +76,11 @@ public interface Jeu extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Objets</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Objet}.
|
||||
* The list contents are of type {@link fr.n7.game.Objet}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getJeu_Objets()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Objets()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -88,11 +88,11 @@ public interface Jeu extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Connaissances</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Connaissance}.
|
||||
* The list contents are of type {@link fr.n7.game.Connaissance}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getJeu_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Connaissances()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -100,11 +100,11 @@ public interface Jeu extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Personnes</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Personne}.
|
||||
* The list contents are of type {@link fr.n7.game.Personne}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Personnes</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getJeu_Personnes()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Personnes()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -112,11 +112,11 @@ public interface Jeu extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Transformations</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Transformation}.
|
||||
* The list contents are of type {@link fr.n7.game.Transformation}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Transformations</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getJeu_Transformations()
|
||||
* @see fr.n7.game.GamePackage#getJeu_Transformations()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,17 +16,17 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Lieu#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getDeposable <em>Deposable</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getDepart <em>Depart</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getFin <em>Fin</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link xtext.game.Lieu#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getDeposable <em>Deposable</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getDepart <em>Depart</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getFin <em>Fin</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.Lieu#getConnaissances <em>Connaissances</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getLieu()
|
||||
* @see fr.n7.game.GamePackage#getLieu()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -38,14 +38,14 @@ public interface Lieu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nom</em>' attribute.
|
||||
* @see #setNom(String)
|
||||
* @see xtext.game.GamePackage#getLieu_Nom()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Nom()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getNom();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Lieu#getNom <em>Nom</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Lieu#getNom <em>Nom</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Nom</em>' attribute.
|
||||
|
@ -60,14 +60,14 @@ public interface Lieu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deposable</em>' containment reference.
|
||||
* @see #setDeposable(Condition)
|
||||
* @see xtext.game.GamePackage#getLieu_Deposable()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Deposable()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getDeposable();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Lieu#getDeposable <em>Deposable</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Lieu#getDeposable <em>Deposable</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Deposable</em>' containment reference.
|
||||
|
@ -82,14 +82,14 @@ public interface Lieu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Depart</em>' containment reference.
|
||||
* @see #setDepart(Condition)
|
||||
* @see xtext.game.GamePackage#getLieu_Depart()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Depart()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getDepart();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Lieu#getDepart <em>Depart</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Lieu#getDepart <em>Depart</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Depart</em>' containment reference.
|
||||
|
@ -104,14 +104,14 @@ public interface Lieu extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Fin</em>' containment reference.
|
||||
* @see #setFin(Condition)
|
||||
* @see xtext.game.GamePackage#getLieu_Fin()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Fin()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getFin();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Lieu#getFin <em>Fin</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Lieu#getFin <em>Fin</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Fin</em>' containment reference.
|
||||
|
@ -126,7 +126,7 @@ public interface Lieu extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Personnes</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getLieu_Personnes()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Personnes()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -134,11 +134,11 @@ public interface Lieu extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Description}.
|
||||
* The list contents are of type {@link fr.n7.game.Description}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Descriptions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getLieu_Descriptions()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Descriptions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -150,7 +150,7 @@ public interface Lieu extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getLieu_Objets()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Objets()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -162,7 +162,7 @@ public interface Lieu extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissances</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getLieu_Connaissances()
|
||||
* @see fr.n7.game.GamePackage#getLieu_Connaissances()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,10 +13,10 @@ package xtext.game;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
|
||||
* <li>{@link fr.n7.game.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getNOTConditionConnaissance()
|
||||
* @see fr.n7.game.GamePackage#getNOTConditionConnaissance()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -28,14 +28,14 @@ public interface NOTConditionConnaissance extends ConditionTest
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Connaissance</em>' attribute.
|
||||
* @see #setConnaissance(String)
|
||||
* @see xtext.game.GamePackage#getNOTConditionConnaissance_Connaissance()
|
||||
* @see fr.n7.game.GamePackage#getNOTConditionConnaissance_Connaissance()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getConnaissance();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Connaissance</em>' attribute.
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,13 +16,13 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Objet#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.Objet#getTaille <em>Taille</em>}</li>
|
||||
* <li>{@link xtext.game.Objet#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Objet#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Objet#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.Objet#getTaille <em>Taille</em>}</li>
|
||||
* <li>{@link fr.n7.game.Objet#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Objet#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getObjet()
|
||||
* @see fr.n7.game.GamePackage#getObjet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -34,14 +34,14 @@ public interface Objet extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nom</em>' attribute.
|
||||
* @see #setNom(String)
|
||||
* @see xtext.game.GamePackage#getObjet_Nom()
|
||||
* @see fr.n7.game.GamePackage#getObjet_Nom()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getNom();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Objet#getNom <em>Nom</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Objet#getNom <em>Nom</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Nom</em>' attribute.
|
||||
|
@ -56,14 +56,14 @@ public interface Objet extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Taille</em>' attribute.
|
||||
* @see #setTaille(int)
|
||||
* @see xtext.game.GamePackage#getObjet_Taille()
|
||||
* @see fr.n7.game.GamePackage#getObjet_Taille()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
int getTaille();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Objet#getTaille <em>Taille</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Objet#getTaille <em>Taille</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Taille</em>' attribute.
|
||||
|
@ -78,14 +78,14 @@ public interface Objet extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getObjet_Visible()
|
||||
* @see fr.n7.game.GamePackage#getObjet_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Objet#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Objet#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -96,11 +96,11 @@ public interface Objet extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Description}.
|
||||
* The list contents are of type {@link fr.n7.game.Description}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Descriptions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getObjet_Descriptions()
|
||||
* @see fr.n7.game.GamePackage#getObjet_Descriptions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,13 +16,13 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Personne#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.Personne#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.Personne#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link xtext.game.Personne#getInteractions <em>Interactions</em>}</li>
|
||||
* <li>{@link fr.n7.game.Personne#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.Personne#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.Personne#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.Personne#getInteractions <em>Interactions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getPersonne()
|
||||
* @see fr.n7.game.GamePackage#getPersonne()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -34,14 +34,14 @@ public interface Personne extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nom</em>' attribute.
|
||||
* @see #setNom(String)
|
||||
* @see xtext.game.GamePackage#getPersonne_Nom()
|
||||
* @see fr.n7.game.GamePackage#getPersonne_Nom()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getNom();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Personne#getNom <em>Nom</em>}' attribute.
|
||||
* Sets the value of the '{@link fr.n7.game.Personne#getNom <em>Nom</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Nom</em>' attribute.
|
||||
|
@ -56,14 +56,14 @@ public interface Personne extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Visible</em>' containment reference.
|
||||
* @see #setVisible(Condition)
|
||||
* @see xtext.game.GamePackage#getPersonne_Visible()
|
||||
* @see fr.n7.game.GamePackage#getPersonne_Visible()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getVisible();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Personne#getVisible <em>Visible</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Personne#getVisible <em>Visible</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Visible</em>' containment reference.
|
||||
|
@ -78,14 +78,14 @@ public interface Personne extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Obligatoire</em>' containment reference.
|
||||
* @see #setObligatoire(Condition)
|
||||
* @see xtext.game.GamePackage#getPersonne_Obligatoire()
|
||||
* @see fr.n7.game.GamePackage#getPersonne_Obligatoire()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getObligatoire();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Personne#getObligatoire <em>Obligatoire</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Personne#getObligatoire <em>Obligatoire</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Obligatoire</em>' containment reference.
|
||||
|
@ -96,11 +96,11 @@ public interface Personne extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Interactions</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Interaction}.
|
||||
* The list contents are of type {@link fr.n7.game.Interaction}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Interactions</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getPersonne_Interactions()
|
||||
* @see fr.n7.game.GamePackage#getPersonne_Interactions()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,11 +16,11 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Territoire#getLieux <em>Lieux</em>}</li>
|
||||
* <li>{@link xtext.game.Territoire#getChemins <em>Chemins</em>}</li>
|
||||
* <li>{@link fr.n7.game.Territoire#getLieux <em>Lieux</em>}</li>
|
||||
* <li>{@link fr.n7.game.Territoire#getChemins <em>Chemins</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getTerritoire()
|
||||
* @see fr.n7.game.GamePackage#getTerritoire()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -28,11 +28,11 @@ public interface Territoire extends EObject
|
|||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Lieux</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Lieu}.
|
||||
* The list contents are of type {@link fr.n7.game.Lieu}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lieux</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getTerritoire_Lieux()
|
||||
* @see fr.n7.game.GamePackage#getTerritoire_Lieux()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -40,11 +40,11 @@ public interface Territoire extends EObject
|
|||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Chemins</b></em>' containment reference list.
|
||||
* The list contents are of type {@link xtext.game.Chemin}.
|
||||
* The list contents are of type {@link fr.n7.game.Chemin}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Chemins</em>' containment reference list.
|
||||
* @see xtext.game.GamePackage#getTerritoire_Chemins()
|
||||
* @see fr.n7.game.GamePackage#getTerritoire_Chemins()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game;
|
||||
package fr.n7.game;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
|
@ -16,12 +16,12 @@ import org.eclipse.emf.ecore.EObject;
|
|||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.Transformation#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link xtext.game.Transformation#getObjetsIn <em>Objets In</em>}</li>
|
||||
* <li>{@link xtext.game.Transformation#getObjetsOut <em>Objets Out</em>}</li>
|
||||
* <li>{@link fr.n7.game.Transformation#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.Transformation#getObjetsIn <em>Objets In</em>}</li>
|
||||
* <li>{@link fr.n7.game.Transformation#getObjetsOut <em>Objets Out</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see xtext.game.GamePackage#getTransformation()
|
||||
* @see fr.n7.game.GamePackage#getTransformation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
|
@ -33,14 +33,14 @@ public interface Transformation extends EObject
|
|||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Condition</em>' containment reference.
|
||||
* @see #setCondition(Condition)
|
||||
* @see xtext.game.GamePackage#getTransformation_Condition()
|
||||
* @see fr.n7.game.GamePackage#getTransformation_Condition()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Condition getCondition();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link xtext.game.Transformation#getCondition <em>Condition</em>}' containment reference.
|
||||
* Sets the value of the '{@link fr.n7.game.Transformation#getCondition <em>Condition</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Condition</em>' containment reference.
|
||||
|
@ -55,7 +55,7 @@ public interface Transformation extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets In</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getTransformation_ObjetsIn()
|
||||
* @see fr.n7.game.GamePackage#getTransformation_ObjetsIn()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
|
@ -67,7 +67,7 @@ public interface Transformation extends EObject
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Objets Out</em>' attribute list.
|
||||
* @see xtext.game.GamePackage#getTransformation_ObjetsOut()
|
||||
* @see fr.n7.game.GamePackage#getTransformation_ObjetsOut()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Action;
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -20,11 +25,6 @@ import org.eclipse.emf.ecore.util.EDataTypeEList;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Action;
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Action</b></em>'.
|
||||
|
@ -33,12 +33,12 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ActionImpl#getFinInteraction <em>Fin Interaction</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ActionImpl#getFinInteraction <em>Fin Interaction</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Chemin;
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -20,11 +25,6 @@ import org.eclipse.emf.ecore.util.EDataTypeEList;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Chemin;
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Chemin</b></em>'.
|
||||
|
@ -33,15 +33,15 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getLieuIn <em>Lieu In</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getLieuOut <em>Lieu Out</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getOuvert <em>Ouvert</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.impl.CheminImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getLieuIn <em>Lieu In</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getLieuOut <em>Lieu Out</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getOuvert <em>Ouvert</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.CheminImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,10 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.ConditionConnaissance;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
|
@ -9,9 +12,6 @@ import org.eclipse.emf.ecore.EClass;
|
|||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
|
||||
import xtext.game.ConditionConnaissance;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Condition Connaissance</b></em>'.
|
||||
|
@ -20,7 +20,7 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,11 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.ConditionEt;
|
||||
import fr.n7.game.ConditionTest;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -17,10 +21,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.ConditionEt;
|
||||
import xtext.game.ConditionTest;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Condition Et</b></em>'.
|
||||
|
@ -29,7 +29,7 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ConditionEtImpl#getConditionTest <em>Condition Test</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionEtImpl#getConditionTest <em>Condition Test</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,11 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.ConditionEt;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -17,10 +21,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.ConditionEt;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Condition</b></em>'.
|
||||
|
@ -29,7 +29,7 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ConditionImpl#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionImpl#getCondition <em>Condition</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,10 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.ConditionObjet;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
|
@ -9,9 +12,6 @@ import org.eclipse.emf.ecore.EClass;
|
|||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
|
||||
import xtext.game.ConditionObjet;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Condition Objet</b></em>'.
|
||||
|
@ -20,9 +20,9 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ConditionObjetImpl#getObjet <em>Objet</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ConditionObjetImpl#getComparateur <em>Comparateur</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ConditionObjetImpl#getNombre <em>Nombre</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionObjetImpl#getObjet <em>Objet</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionObjetImpl#getComparateur <em>Comparateur</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConditionObjetImpl#getNombre <em>Nombre</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,15 +1,15 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.ConditionTest;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import xtext.game.ConditionTest;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Condition Test</b></em>'.
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Connaissance;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -19,11 +24,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Connaissance;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Connaissance</b></em>'.
|
||||
|
@ -32,9 +32,9 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ConnaissanceImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ConnaissanceImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ConnaissanceImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConnaissanceImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConnaissanceImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ConnaissanceImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,11 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
@ -12,10 +16,6 @@ import org.eclipse.emf.ecore.InternalEObject;
|
|||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Description</b></em>'.
|
||||
|
@ -24,8 +24,8 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.DescriptionImpl#getTexte <em>Texte</em>}</li>
|
||||
* <li>{@link xtext.game.impl.DescriptionImpl#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.DescriptionImpl#getTexte <em>Texte</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.DescriptionImpl#getCondition <em>Condition</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,10 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Explorateur;
|
||||
import fr.n7.game.GamePackage;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -16,9 +19,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
|
||||
import org.eclipse.emf.ecore.util.EDataTypeEList;
|
||||
|
||||
import xtext.game.Explorateur;
|
||||
import xtext.game.GamePackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Explorateur</b></em>'.
|
||||
|
@ -27,9 +27,9 @@ import xtext.game.GamePackage;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ExplorateurImpl#getTailleInventaire <em>Taille Inventaire</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ExplorateurImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ExplorateurImpl#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ExplorateurImpl#getTailleInventaire <em>Taille Inventaire</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ExplorateurImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ExplorateurImpl#getObjets <em>Objets</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,9 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.*;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
@ -11,8 +13,6 @@ import org.eclipse.emf.ecore.impl.EFactoryImpl;
|
|||
|
||||
import org.eclipse.emf.ecore.plugin.EcorePlugin;
|
||||
|
||||
import xtext.game.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model <b>Factory</b>.
|
|
@ -1,7 +1,28 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Action;
|
||||
import fr.n7.game.Chemin;
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.ConditionConnaissance;
|
||||
import fr.n7.game.ConditionEt;
|
||||
import fr.n7.game.ConditionObjet;
|
||||
import fr.n7.game.ConditionTest;
|
||||
import fr.n7.game.Connaissance;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.Explorateur;
|
||||
import fr.n7.game.GameFactory;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Interaction;
|
||||
import fr.n7.game.Jeu;
|
||||
import fr.n7.game.Lieu;
|
||||
import fr.n7.game.NOTConditionConnaissance;
|
||||
import fr.n7.game.Objet;
|
||||
import fr.n7.game.Personne;
|
||||
import fr.n7.game.Territoire;
|
||||
import fr.n7.game.Transformation;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
@ -10,27 +31,6 @@ import org.eclipse.emf.ecore.EReference;
|
|||
|
||||
import org.eclipse.emf.ecore.impl.EPackageImpl;
|
||||
|
||||
import xtext.game.Action;
|
||||
import xtext.game.Chemin;
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.ConditionConnaissance;
|
||||
import xtext.game.ConditionEt;
|
||||
import xtext.game.ConditionObjet;
|
||||
import xtext.game.ConditionTest;
|
||||
import xtext.game.Connaissance;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.Explorateur;
|
||||
import xtext.game.GameFactory;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Interaction;
|
||||
import xtext.game.Jeu;
|
||||
import xtext.game.Lieu;
|
||||
import xtext.game.NOTConditionConnaissance;
|
||||
import xtext.game.Objet;
|
||||
import xtext.game.Personne;
|
||||
import xtext.game.Territoire;
|
||||
import xtext.game.Transformation;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model <b>Package</b>.
|
||||
|
@ -176,7 +176,7 @@ public class GamePackageImpl extends EPackageImpl implements GamePackage
|
|||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.eclipse.emf.ecore.EPackage.Registry
|
||||
* @see xtext.game.GamePackage#eNS_URI
|
||||
* @see fr.n7.game.GamePackage#eNS_URI
|
||||
* @see #init()
|
||||
* @generated
|
||||
*/
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Action;
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Interaction;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -20,11 +25,6 @@ import org.eclipse.emf.ecore.util.EDataTypeEList;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Action;
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Interaction;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Interaction</b></em>'.
|
||||
|
@ -33,11 +33,11 @@ import xtext.game.Interaction;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.InteractionImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.InteractionImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.impl.InteractionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link xtext.game.impl.InteractionImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link xtext.game.impl.InteractionImpl#getActions <em>Actions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.InteractionImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.InteractionImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.InteractionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.InteractionImpl#getObjetsConso <em>Objets Conso</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.InteractionImpl#getActions <em>Actions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,16 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Connaissance;
|
||||
import fr.n7.game.Explorateur;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Jeu;
|
||||
import fr.n7.game.Objet;
|
||||
import fr.n7.game.Personne;
|
||||
import fr.n7.game.Territoire;
|
||||
import fr.n7.game.Transformation;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -19,15 +28,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Connaissance;
|
||||
import xtext.game.Explorateur;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Jeu;
|
||||
import xtext.game.Objet;
|
||||
import xtext.game.Personne;
|
||||
import xtext.game.Territoire;
|
||||
import xtext.game.Transformation;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Jeu</b></em>'.
|
||||
|
@ -36,12 +36,12 @@ import xtext.game.Transformation;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getExplorateur <em>Explorateur</em>}</li>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getTerritoire <em>Territoire</em>}</li>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link xtext.game.impl.JeuImpl#getTransformations <em>Transformations</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getExplorateur <em>Explorateur</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getTerritoire <em>Territoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.JeuImpl#getTransformations <em>Transformations</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Lieu;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -20,11 +25,6 @@ import org.eclipse.emf.ecore.util.EDataTypeEList;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Lieu;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Lieu</b></em>'.
|
||||
|
@ -33,14 +33,14 @@ import xtext.game.Lieu;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getDeposable <em>Deposable</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getDepart <em>Depart</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getFin <em>Fin</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link xtext.game.impl.LieuImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getDeposable <em>Deposable</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getDepart <em>Depart</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getFin <em>Fin</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getPersonnes <em>Personnes</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getObjets <em>Objets</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.LieuImpl#getConnaissances <em>Connaissances</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,10 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.NOTConditionConnaissance;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
|
@ -9,9 +12,6 @@ import org.eclipse.emf.ecore.EClass;
|
|||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.NOTConditionConnaissance;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>NOT Condition Connaissance</b></em>'.
|
||||
|
@ -20,7 +20,7 @@ import xtext.game.NOTConditionConnaissance;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.NOTConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.NOTConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Objet;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -19,11 +24,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Objet;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Objet</b></em>'.
|
||||
|
@ -32,10 +32,10 @@ import xtext.game.Objet;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.ObjetImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ObjetImpl#getTaille <em>Taille</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ObjetImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.ObjetImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ObjetImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ObjetImpl#getTaille <em>Taille</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ObjetImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.ObjetImpl#getDescriptions <em>Descriptions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Interaction;
|
||||
import fr.n7.game.Personne;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -19,11 +24,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Interaction;
|
||||
import xtext.game.Personne;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Personne</b></em>'.
|
||||
|
@ -32,10 +32,10 @@ import xtext.game.Personne;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.PersonneImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link xtext.game.impl.PersonneImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link xtext.game.impl.PersonneImpl#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link xtext.game.impl.PersonneImpl#getInteractions <em>Interactions</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.PersonneImpl#getNom <em>Nom</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.PersonneImpl#getVisible <em>Visible</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.PersonneImpl#getObligatoire <em>Obligatoire</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.PersonneImpl#getInteractions <em>Interactions</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,12 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Chemin;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Lieu;
|
||||
import fr.n7.game.Territoire;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -17,11 +22,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import xtext.game.Chemin;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Lieu;
|
||||
import xtext.game.Territoire;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Territoire</b></em>'.
|
||||
|
@ -30,8 +30,8 @@ import xtext.game.Territoire;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.TerritoireImpl#getLieux <em>Lieux</em>}</li>
|
||||
* <li>{@link xtext.game.impl.TerritoireImpl#getChemins <em>Chemins</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.TerritoireImpl#getLieux <em>Lieux</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.TerritoireImpl#getChemins <em>Chemins</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,11 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.impl;
|
||||
package fr.n7.game.impl;
|
||||
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Transformation;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -18,10 +22,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
|||
|
||||
import org.eclipse.emf.ecore.util.EDataTypeEList;
|
||||
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Transformation;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Transformation</b></em>'.
|
||||
|
@ -30,9 +30,9 @@ import xtext.game.Transformation;
|
|||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link xtext.game.impl.TransformationImpl#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link xtext.game.impl.TransformationImpl#getObjetsIn <em>Objets In</em>}</li>
|
||||
* <li>{@link xtext.game.impl.TransformationImpl#getObjetsOut <em>Objets Out</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.TransformationImpl#getCondition <em>Condition</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.TransformationImpl#getObjetsIn <em>Objets In</em>}</li>
|
||||
* <li>{@link fr.n7.game.impl.TransformationImpl#getObjetsOut <em>Objets Out</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
|
@ -1,7 +1,9 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.util;
|
||||
package fr.n7.game.util;
|
||||
|
||||
import fr.n7.game.*;
|
||||
|
||||
import org.eclipse.emf.common.notify.Adapter;
|
||||
import org.eclipse.emf.common.notify.Notifier;
|
||||
|
@ -10,14 +12,12 @@ import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
|
|||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
import xtext.game.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* The <b>Adapter Factory</b> for the model.
|
||||
* It provides an adapter <code>createXXX</code> method for each class of the model.
|
||||
* <!-- end-user-doc -->
|
||||
* @see xtext.game.GamePackage
|
||||
* @see fr.n7.game.GamePackage
|
||||
* @generated
|
||||
*/
|
||||
public class GameAdapterFactory extends AdapterFactoryImpl
|
||||
|
@ -188,13 +188,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Jeu <em>Jeu</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Jeu <em>Jeu</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Jeu
|
||||
* @see fr.n7.game.Jeu
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createJeuAdapter()
|
||||
|
@ -203,13 +203,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Explorateur <em>Explorateur</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Explorateur <em>Explorateur</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Explorateur
|
||||
* @see fr.n7.game.Explorateur
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createExplorateurAdapter()
|
||||
|
@ -218,13 +218,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Territoire <em>Territoire</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Territoire <em>Territoire</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Territoire
|
||||
* @see fr.n7.game.Territoire
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createTerritoireAdapter()
|
||||
|
@ -233,13 +233,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Lieu <em>Lieu</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Lieu <em>Lieu</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Lieu
|
||||
* @see fr.n7.game.Lieu
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createLieuAdapter()
|
||||
|
@ -248,13 +248,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Chemin <em>Chemin</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Chemin <em>Chemin</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Chemin
|
||||
* @see fr.n7.game.Chemin
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createCheminAdapter()
|
||||
|
@ -263,13 +263,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Objet <em>Objet</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Objet <em>Objet</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Objet
|
||||
* @see fr.n7.game.Objet
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createObjetAdapter()
|
||||
|
@ -278,13 +278,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Transformation <em>Transformation</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Transformation <em>Transformation</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Transformation
|
||||
* @see fr.n7.game.Transformation
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createTransformationAdapter()
|
||||
|
@ -293,13 +293,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Connaissance <em>Connaissance</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Connaissance <em>Connaissance</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Connaissance
|
||||
* @see fr.n7.game.Connaissance
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConnaissanceAdapter()
|
||||
|
@ -308,13 +308,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Personne <em>Personne</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Personne <em>Personne</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Personne
|
||||
* @see fr.n7.game.Personne
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createPersonneAdapter()
|
||||
|
@ -323,13 +323,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Interaction <em>Interaction</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Interaction <em>Interaction</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Interaction
|
||||
* @see fr.n7.game.Interaction
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createInteractionAdapter()
|
||||
|
@ -338,13 +338,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Action <em>Action</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Action <em>Action</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Action
|
||||
* @see fr.n7.game.Action
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createActionAdapter()
|
||||
|
@ -353,13 +353,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Description <em>Description</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Description <em>Description</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Description
|
||||
* @see fr.n7.game.Description
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createDescriptionAdapter()
|
||||
|
@ -368,13 +368,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.Condition <em>Condition</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.Condition <em>Condition</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.Condition
|
||||
* @see fr.n7.game.Condition
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConditionAdapter()
|
||||
|
@ -383,13 +383,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.ConditionEt <em>Condition Et</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.ConditionEt <em>Condition Et</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.ConditionEt
|
||||
* @see fr.n7.game.ConditionEt
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConditionEtAdapter()
|
||||
|
@ -398,13 +398,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.ConditionTest <em>Condition Test</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.ConditionTest <em>Condition Test</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.ConditionTest
|
||||
* @see fr.n7.game.ConditionTest
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConditionTestAdapter()
|
||||
|
@ -413,13 +413,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.ConditionConnaissance <em>Condition Connaissance</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.ConditionConnaissance <em>Condition Connaissance</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.ConditionConnaissance
|
||||
* @see fr.n7.game.ConditionConnaissance
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConditionConnaissanceAdapter()
|
||||
|
@ -428,13 +428,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.NOTConditionConnaissance <em>NOT Condition Connaissance</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.NOTConditionConnaissance <em>NOT Condition Connaissance</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.NOTConditionConnaissance
|
||||
* @see fr.n7.game.NOTConditionConnaissance
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createNOTConditionConnaissanceAdapter()
|
||||
|
@ -443,13 +443,13 @@ public class GameAdapterFactory extends AdapterFactoryImpl
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link xtext.game.ConditionObjet <em>Condition Objet</em>}'.
|
||||
* Creates a new adapter for an object of class '{@link fr.n7.game.ConditionObjet <em>Condition Objet</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see xtext.game.ConditionObjet
|
||||
* @see fr.n7.game.ConditionObjet
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createConditionObjetAdapter()
|
|
@ -1,15 +1,15 @@
|
|||
/**
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.game.util;
|
||||
package fr.n7.game.util;
|
||||
|
||||
import fr.n7.game.*;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
|
||||
import org.eclipse.emf.ecore.util.Switch;
|
||||
|
||||
import xtext.game.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* The <b>Switch</b> for the model's inheritance hierarchy.
|
||||
|
@ -20,7 +20,7 @@ import xtext.game.*;
|
|||
* until a non-null result is returned,
|
||||
* which is the result of the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @see xtext.game.GamePackage
|
||||
* @see fr.n7.game.GamePackage
|
||||
* @generated
|
||||
*/
|
||||
public class GameSwitch<T> extends Switch<T>
|
|
@ -1,16 +1,16 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.parser.antlr;
|
||||
package fr.n7.parser.antlr;
|
||||
|
||||
import java.io.InputStream;
|
||||
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
|
||||
|
||||
public class GameAntlrTokenFileProvider implements IAntlrTokenFileProvider {
|
||||
public class GAMEAntlrTokenFileProvider implements IAntlrTokenFileProvider {
|
||||
|
||||
@Override
|
||||
public InputStream getAntlrTokenFile() {
|
||||
ClassLoader classLoader = getClass().getClassLoader();
|
||||
return classLoader.getResourceAsStream("xtext/parser/antlr/internal/InternalGame.tokens");
|
||||
return classLoader.getResourceAsStream("fr/n7/parser/antlr/internal/InternalGAME.tokens");
|
||||
}
|
||||
}
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.parser.antlr;
|
||||
package fr.n7.parser.antlr;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import fr.n7.parser.antlr.internal.InternalGAMEParser;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
|
||||
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
|
||||
import xtext.parser.antlr.internal.InternalGameParser;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
|
||||
public class GameParser extends AbstractAntlrParser {
|
||||
public class GAMEParser extends AbstractAntlrParser {
|
||||
|
||||
@Inject
|
||||
private GameGrammarAccess grammarAccess;
|
||||
private GAMEGrammarAccess grammarAccess;
|
||||
|
||||
@Override
|
||||
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
|
||||
|
@ -21,8 +21,8 @@ public class GameParser extends AbstractAntlrParser {
|
|||
|
||||
|
||||
@Override
|
||||
protected InternalGameParser createParser(XtextTokenStream stream) {
|
||||
return new InternalGameParser(stream, getGrammarAccess());
|
||||
protected InternalGAMEParser createParser(XtextTokenStream stream) {
|
||||
return new InternalGAMEParser(stream, getGrammarAccess());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -30,11 +30,11 @@ public class GameParser extends AbstractAntlrParser {
|
|||
return "Jeu";
|
||||
}
|
||||
|
||||
public GameGrammarAccess getGrammarAccess() {
|
||||
public GAMEGrammarAccess getGrammarAccess() {
|
||||
return this.grammarAccess;
|
||||
}
|
||||
|
||||
public void setGrammarAccess(GameGrammarAccess grammarAccess) {
|
||||
public void setGrammarAccess(GAMEGrammarAccess grammarAccess) {
|
||||
this.grammarAccess = grammarAccess;
|
||||
}
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
grammar InternalGame;
|
||||
grammar InternalGAME;
|
||||
|
||||
options {
|
||||
superClass=AbstractInternalAntlrParser;
|
||||
}
|
||||
|
||||
@lexer::header {
|
||||
package xtext.parser.antlr.internal;
|
||||
package fr.n7.parser.antlr.internal;
|
||||
|
||||
// Hack: Use our own Lexer superclass by means of import.
|
||||
// Currently there is no other way to specify the superclass for the lexer.
|
||||
|
@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
|
|||
}
|
||||
|
||||
@parser::header {
|
||||
package xtext.parser.antlr.internal;
|
||||
package fr.n7.parser.antlr.internal;
|
||||
|
||||
import org.eclipse.xtext.*;
|
||||
import org.eclipse.xtext.parser.*;
|
||||
|
@ -27,15 +27,15 @@ import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
|
|||
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
|
||||
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
|
||||
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
|
||||
}
|
||||
|
||||
@parser::members {
|
||||
|
||||
private GameGrammarAccess grammarAccess;
|
||||
private GAMEGrammarAccess grammarAccess;
|
||||
|
||||
public InternalGameParser(TokenStream input, GameGrammarAccess grammarAccess) {
|
||||
public InternalGAMEParser(TokenStream input, GAMEGrammarAccess grammarAccess) {
|
||||
this(input);
|
||||
this.grammarAccess = grammarAccess;
|
||||
registerRules(grammarAccess.getGrammar());
|
||||
|
@ -47,7 +47,7 @@ import xtext.services.GameGrammarAccess;
|
|||
}
|
||||
|
||||
@Override
|
||||
protected GameGrammarAccess getGrammarAccess() {
|
||||
protected GAMEGrammarAccess getGrammarAccess() {
|
||||
return grammarAccess;
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"explorateur",
|
||||
lv_explorateur_3_0,
|
||||
"xtext.Game.Explorateur");
|
||||
"fr.n7.GAME.Explorateur");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -133,7 +133,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"territoire",
|
||||
lv_territoire_7_0,
|
||||
"xtext.Game.Territoire");
|
||||
"fr.n7.GAME.Territoire");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -168,7 +168,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"objets",
|
||||
lv_objets_12_0,
|
||||
"xtext.Game.Objet");
|
||||
"fr.n7.GAME.Objet");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -207,7 +207,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_18_0,
|
||||
"xtext.Game.Connaissance");
|
||||
"fr.n7.GAME.Connaissance");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -246,7 +246,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"personnes",
|
||||
lv_personnes_24_0,
|
||||
"xtext.Game.Personne");
|
||||
"fr.n7.GAME.Personne");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -285,7 +285,7 @@ ruleJeu returns [EObject current=null]
|
|||
$current,
|
||||
"transformations",
|
||||
lv_transformations_30_0,
|
||||
"xtext.Game.Transformation");
|
||||
"fr.n7.GAME.Transformation");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -378,7 +378,7 @@ ruleExplorateur returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_8_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -402,7 +402,7 @@ ruleExplorateur returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_10_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -444,7 +444,7 @@ ruleExplorateur returns [EObject current=null]
|
|||
$current,
|
||||
"objets",
|
||||
lv_objets_16_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -468,7 +468,7 @@ ruleExplorateur returns [EObject current=null]
|
|||
$current,
|
||||
"objets",
|
||||
lv_objets_18_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -533,7 +533,7 @@ ruleTerritoire returns [EObject current=null]
|
|||
$current,
|
||||
"lieux",
|
||||
lv_lieux_4_0,
|
||||
"xtext.Game.Lieu");
|
||||
"fr.n7.GAME.Lieu");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -552,7 +552,7 @@ ruleTerritoire returns [EObject current=null]
|
|||
$current,
|
||||
"lieux",
|
||||
lv_lieux_5_0,
|
||||
"xtext.Game.Lieu");
|
||||
"fr.n7.GAME.Lieu");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -593,7 +593,7 @@ ruleTerritoire returns [EObject current=null]
|
|||
$current,
|
||||
"chemins",
|
||||
lv_chemins_11_0,
|
||||
"xtext.Game.Chemin");
|
||||
"fr.n7.GAME.Chemin");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -612,7 +612,7 @@ ruleTerritoire returns [EObject current=null]
|
|||
$current,
|
||||
"chemins",
|
||||
lv_chemins_12_0,
|
||||
"xtext.Game.Chemin");
|
||||
"fr.n7.GAME.Chemin");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -671,7 +671,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"nom",
|
||||
lv_nom_3_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -702,7 +702,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"deposable",
|
||||
lv_deposable_7_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -733,7 +733,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"depart",
|
||||
lv_depart_11_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -764,7 +764,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"fin",
|
||||
lv_fin_15_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -800,7 +800,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"personnes",
|
||||
lv_personnes_20_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -819,7 +819,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"personnes",
|
||||
lv_personnes_21_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -859,7 +859,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_27_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -899,7 +899,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"objets",
|
||||
lv_objets_33_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -918,7 +918,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"objets",
|
||||
lv_objets_34_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -959,7 +959,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_40_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -978,7 +978,7 @@ ruleLieu returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_41_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1037,7 +1037,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"lieuIn",
|
||||
lv_lieuIn_3_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1068,7 +1068,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"lieuOut",
|
||||
lv_lieuOut_7_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1099,7 +1099,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"ouvert",
|
||||
lv_ouvert_11_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1130,7 +1130,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_15_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1161,7 +1161,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"obligatoire",
|
||||
lv_obligatoire_19_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1197,7 +1197,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_24_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1216,7 +1216,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_25_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1257,7 +1257,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_31_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1276,7 +1276,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_32_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1317,7 +1317,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"objetsConso",
|
||||
lv_objetsConso_38_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1336,7 +1336,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"objetsConso",
|
||||
lv_objetsConso_39_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1376,7 +1376,7 @@ ruleChemin returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_45_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1434,7 +1434,7 @@ ruleObjet returns [EObject current=null]
|
|||
$current,
|
||||
"nom",
|
||||
lv_nom_3_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1495,7 +1495,7 @@ ruleObjet returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_11_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1530,7 +1530,7 @@ ruleObjet returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_16_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1588,7 +1588,7 @@ ruleTransformation returns [EObject current=null]
|
|||
$current,
|
||||
"condition",
|
||||
lv_condition_3_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1624,7 +1624,7 @@ ruleTransformation returns [EObject current=null]
|
|||
$current,
|
||||
"objetsIn",
|
||||
lv_objetsIn_8_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1643,7 +1643,7 @@ ruleTransformation returns [EObject current=null]
|
|||
$current,
|
||||
"objetsIn",
|
||||
lv_objetsIn_9_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1684,7 +1684,7 @@ ruleTransformation returns [EObject current=null]
|
|||
$current,
|
||||
"objetsOut",
|
||||
lv_objetsOut_15_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1703,7 +1703,7 @@ ruleTransformation returns [EObject current=null]
|
|||
$current,
|
||||
"objetsOut",
|
||||
lv_objetsOut_16_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1766,7 +1766,7 @@ ruleConnaissance returns [EObject current=null]
|
|||
$current,
|
||||
"nom",
|
||||
lv_nom_3_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1797,7 +1797,7 @@ ruleConnaissance returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_7_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1832,7 +1832,7 @@ ruleConnaissance returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_12_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1890,7 +1890,7 @@ rulePersonne returns [EObject current=null]
|
|||
$current,
|
||||
"nom",
|
||||
lv_nom_3_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1921,7 +1921,7 @@ rulePersonne returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_7_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1952,7 +1952,7 @@ rulePersonne returns [EObject current=null]
|
|||
$current,
|
||||
"obligatoire",
|
||||
lv_obligatoire_11_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -1988,7 +1988,7 @@ rulePersonne returns [EObject current=null]
|
|||
$current,
|
||||
"interactions",
|
||||
lv_interactions_16_0,
|
||||
"xtext.Game.Interaction");
|
||||
"fr.n7.GAME.Interaction");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2007,7 +2007,7 @@ rulePersonne returns [EObject current=null]
|
|||
$current,
|
||||
"interactions",
|
||||
lv_interactions_17_0,
|
||||
"xtext.Game.Interaction");
|
||||
"fr.n7.GAME.Interaction");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2066,7 +2066,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_3_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2102,7 +2102,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_8_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2121,7 +2121,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_9_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2162,7 +2162,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_15_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2181,7 +2181,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_16_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2222,7 +2222,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsConso",
|
||||
lv_objetsConso_22_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2241,7 +2241,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_23_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2281,7 +2281,7 @@ ruleInteraction returns [EObject current=null]
|
|||
$current,
|
||||
"actions",
|
||||
lv_actions_29_0,
|
||||
"xtext.Game.Action");
|
||||
"fr.n7.GAME.Action");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2347,7 +2347,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_4_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2366,7 +2366,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"descriptions",
|
||||
lv_descriptions_5_0,
|
||||
"xtext.Game.Description");
|
||||
"fr.n7.GAME.Description");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2401,7 +2401,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"visible",
|
||||
lv_visible_10_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2437,7 +2437,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_15_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2456,7 +2456,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"connaissances",
|
||||
lv_connaissances_16_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2497,7 +2497,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_22_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2516,7 +2516,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsRecus",
|
||||
lv_objetsRecus_23_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2557,7 +2557,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsConso",
|
||||
lv_objetsConso_29_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2576,7 +2576,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"objetsConso",
|
||||
lv_objetsConso_30_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2612,7 +2612,7 @@ ruleAction returns [EObject current=null]
|
|||
$current,
|
||||
"finInteraction",
|
||||
lv_finInteraction_35_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2696,7 +2696,7 @@ ruleDescription returns [EObject current=null]
|
|||
$current,
|
||||
"condition",
|
||||
lv_condition_7_0,
|
||||
"xtext.Game.Condition");
|
||||
"fr.n7.GAME.Condition");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2742,7 +2742,7 @@ ruleCondition returns [EObject current=null]
|
|||
$current,
|
||||
"condition",
|
||||
lv_condition_1_0,
|
||||
"xtext.Game.ConditionEt");
|
||||
"fr.n7.GAME.ConditionEt");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2766,7 +2766,7 @@ ruleCondition returns [EObject current=null]
|
|||
$current,
|
||||
"condition",
|
||||
lv_condition_3_0,
|
||||
"xtext.Game.ConditionEt");
|
||||
"fr.n7.GAME.ConditionEt");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2813,7 +2813,7 @@ ruleConditionEt returns [EObject current=null]
|
|||
$current,
|
||||
"conditionTest",
|
||||
lv_conditionTest_1_0,
|
||||
"xtext.Game.ConditionTest");
|
||||
"fr.n7.GAME.ConditionTest");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2837,7 +2837,7 @@ ruleConditionEt returns [EObject current=null]
|
|||
$current,
|
||||
"conditionTest",
|
||||
lv_conditionTest_3_0,
|
||||
"xtext.Game.ConditionTest");
|
||||
"fr.n7.GAME.ConditionTest");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2934,7 +2934,7 @@ ruleConditionConnaissance returns [EObject current=null]
|
|||
$current,
|
||||
"connaissance",
|
||||
lv_connaissance_0_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -2975,7 +2975,7 @@ ruleNOTConditionConnaissance returns [EObject current=null]
|
|||
$current,
|
||||
"connaissance",
|
||||
lv_connaissance_1_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -3013,7 +3013,7 @@ ruleConditionObjet returns [EObject current=null]
|
|||
$current,
|
||||
"objet",
|
||||
lv_objet_0_0,
|
||||
"xtext.Game.Nom");
|
||||
"fr.n7.GAME.Nom");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
||||
|
@ -3032,7 +3032,7 @@ ruleConditionObjet returns [EObject current=null]
|
|||
$current,
|
||||
"comparateur",
|
||||
lv_comparateur_1_0,
|
||||
"xtext.Game.Comparateur");
|
||||
"fr.n7.GAME.Comparateur");
|
||||
afterParserOrEnumRuleCall();
|
||||
}
|
||||
)
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.scoping;
|
||||
package fr.n7.scoping;
|
||||
|
||||
import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider;
|
||||
|
||||
public abstract class AbstractGameScopeProvider extends DelegatingScopeProvider {
|
||||
public abstract class AbstractGAMEScopeProvider extends DelegatingScopeProvider {
|
||||
}
|
|
@ -1,9 +1,27 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.serializer;
|
||||
package fr.n7.serializer;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import fr.n7.game.Chemin;
|
||||
import fr.n7.game.Condition;
|
||||
import fr.n7.game.ConditionConnaissance;
|
||||
import fr.n7.game.ConditionEt;
|
||||
import fr.n7.game.ConditionObjet;
|
||||
import fr.n7.game.Connaissance;
|
||||
import fr.n7.game.Description;
|
||||
import fr.n7.game.Explorateur;
|
||||
import fr.n7.game.GamePackage;
|
||||
import fr.n7.game.Interaction;
|
||||
import fr.n7.game.Jeu;
|
||||
import fr.n7.game.Lieu;
|
||||
import fr.n7.game.NOTConditionConnaissance;
|
||||
import fr.n7.game.Objet;
|
||||
import fr.n7.game.Personne;
|
||||
import fr.n7.game.Territoire;
|
||||
import fr.n7.game.Transformation;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
import java.util.Set;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
|
@ -14,30 +32,12 @@ import org.eclipse.xtext.serializer.ISerializationContext;
|
|||
import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
|
||||
import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
|
||||
import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
|
||||
import xtext.game.Chemin;
|
||||
import xtext.game.Condition;
|
||||
import xtext.game.ConditionConnaissance;
|
||||
import xtext.game.ConditionEt;
|
||||
import xtext.game.ConditionObjet;
|
||||
import xtext.game.Connaissance;
|
||||
import xtext.game.Description;
|
||||
import xtext.game.Explorateur;
|
||||
import xtext.game.GamePackage;
|
||||
import xtext.game.Interaction;
|
||||
import xtext.game.Jeu;
|
||||
import xtext.game.Lieu;
|
||||
import xtext.game.NOTConditionConnaissance;
|
||||
import xtext.game.Objet;
|
||||
import xtext.game.Personne;
|
||||
import xtext.game.Territoire;
|
||||
import xtext.game.Transformation;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class GameSemanticSequencer extends AbstractDelegatingSemanticSequencer {
|
||||
public class GAMESemanticSequencer extends AbstractDelegatingSemanticSequencer {
|
||||
|
||||
@Inject
|
||||
private GameGrammarAccess grammarAccess;
|
||||
private GAMEGrammarAccess grammarAccess;
|
||||
|
||||
@Override
|
||||
public void sequence(ISerializationContext context, EObject semanticObject) {
|
||||
|
@ -48,7 +48,7 @@ public class GameSemanticSequencer extends AbstractDelegatingSemanticSequencer {
|
|||
if (epackage == GamePackage.eINSTANCE)
|
||||
switch (semanticObject.eClass().getClassifierID()) {
|
||||
case GamePackage.ACTION:
|
||||
sequence_Action(context, (xtext.game.Action) semanticObject);
|
||||
sequence_Action(context, (fr.n7.game.Action) semanticObject);
|
||||
return;
|
||||
case GamePackage.CHEMIN:
|
||||
sequence_Chemin(context, (Chemin) semanticObject);
|
||||
|
@ -118,7 +118,7 @@ public class GameSemanticSequencer extends AbstractDelegatingSemanticSequencer {
|
|||
* finInteraction=Condition
|
||||
* )
|
||||
*/
|
||||
protected void sequence_Action(ISerializationContext context, xtext.game.Action semanticObject) {
|
||||
protected void sequence_Action(ISerializationContext context, fr.n7.game.Action semanticObject) {
|
||||
genericSequencer.createSequence(context, semanticObject);
|
||||
}
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.serializer;
|
||||
package fr.n7.serializer;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import fr.n7.services.GAMEGrammarAccess;
|
||||
import java.util.List;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.xtext.IGrammarAccess;
|
||||
|
@ -15,17 +16,16 @@ import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias;
|
|||
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable;
|
||||
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
|
||||
import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
|
||||
import xtext.services.GameGrammarAccess;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class GameSyntacticSequencer extends AbstractSyntacticSequencer {
|
||||
public class GAMESyntacticSequencer extends AbstractSyntacticSequencer {
|
||||
|
||||
protected GameGrammarAccess grammarAccess;
|
||||
protected GAMEGrammarAccess grammarAccess;
|
||||
protected AbstractElementAlias match_ConditionTest_FalseKeyword_4_or_TrueKeyword_3;
|
||||
|
||||
@Inject
|
||||
protected void init(IGrammarAccess access) {
|
||||
grammarAccess = (GameGrammarAccess) access;
|
||||
grammarAccess = (GAMEGrammarAccess) access;
|
||||
match_ConditionTest_FalseKeyword_4_or_TrueKeyword_3 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getConditionTestAccess().getFalseKeyword_4()), new TokenAlias(false, false, grammarAccess.getConditionTestAccess().getTrueKeyword_3()));
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.services;
|
||||
package fr.n7.services;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
@ -20,10 +20,10 @@ import org.eclipse.xtext.service.AbstractElementFinder;
|
|||
import org.eclipse.xtext.service.GrammarProvider;
|
||||
|
||||
@Singleton
|
||||
public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElementFinder {
|
||||
public class GAMEGrammarAccess extends AbstractElementFinder.AbstractGrammarElementFinder {
|
||||
|
||||
public class JeuElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Jeu");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Jeu");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cExplorateurKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -200,7 +200,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_32() { return cRightCurlyBracketKeyword_32; }
|
||||
}
|
||||
public class ExplorateurElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Explorateur");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Explorateur");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cTailleKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -336,7 +336,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_16() { return cRightCurlyBracketKeyword_16; }
|
||||
}
|
||||
public class TerritoireElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Territoire");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Territoire");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cLieuxKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -435,7 +435,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_12() { return cRightCurlyBracketKeyword_12; }
|
||||
}
|
||||
public class LieuElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Lieu");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Lieu");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cNomKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -690,7 +690,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_40() { return cRightCurlyBracketKeyword_40; }
|
||||
}
|
||||
public class CheminElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Chemin");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Chemin");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cLieu_inKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -966,7 +966,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_44() { return cRightCurlyBracketKeyword_44; }
|
||||
}
|
||||
public class ObjetElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Objet");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Objet");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cNomKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1075,7 +1075,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; }
|
||||
}
|
||||
public class TransformationElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Transformation");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Transformation");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cConditionKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1199,7 +1199,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_17() { return cRightCurlyBracketKeyword_17; }
|
||||
}
|
||||
public class ConnaissanceElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Connaissance");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Connaissance");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cNomKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1287,7 +1287,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_14() { return cRightCurlyBracketKeyword_14; }
|
||||
}
|
||||
public class PersonneElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Personne");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Personne");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cNomKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1408,7 +1408,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; }
|
||||
}
|
||||
public class InteractionElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Interaction");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Interaction");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cVisibleKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1603,7 +1603,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_29() { return cRightCurlyBracketKeyword_29; }
|
||||
}
|
||||
public class ActionElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Action");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Action");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cDescriptionKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1824,7 +1824,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_33() { return cRightCurlyBracketKeyword_33; }
|
||||
}
|
||||
public class DescriptionElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Description");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Description");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Keyword cTexteKeyword_1 = (Keyword)cGroup.eContents().get(1);
|
||||
|
@ -1882,7 +1882,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; }
|
||||
}
|
||||
public class ConditionElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Condition");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Condition");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftParenthesisKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Assignment cConditionAssignment_1 = (Assignment)cGroup.eContents().get(1);
|
||||
|
@ -1925,7 +1925,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; }
|
||||
}
|
||||
public class ConditionEtElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.ConditionEt");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.ConditionEt");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cLeftParenthesisKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Assignment cConditionTestAssignment_1 = (Assignment)cGroup.eContents().get(1);
|
||||
|
@ -1968,7 +1968,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; }
|
||||
}
|
||||
public class ConditionTestElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.ConditionTest");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.ConditionTest");
|
||||
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
|
||||
private final RuleCall cConditionConnaissanceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
|
||||
private final RuleCall cNOTConditionConnaissanceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
|
||||
|
@ -1999,7 +1999,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getFalseKeyword_4() { return cFalseKeyword_4; }
|
||||
}
|
||||
public class ConditionConnaissanceElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.ConditionConnaissance");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.ConditionConnaissance");
|
||||
private final Assignment cConnaissanceAssignment = (Assignment)rule.eContents().get(1);
|
||||
private final RuleCall cConnaissanceNomParserRuleCall_0 = (RuleCall)cConnaissanceAssignment.eContents().get(0);
|
||||
|
||||
|
@ -2014,7 +2014,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public RuleCall getConnaissanceNomParserRuleCall_0() { return cConnaissanceNomParserRuleCall_0; }
|
||||
}
|
||||
public class NOTConditionConnaissanceElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.NOTConditionConnaissance");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.NOTConditionConnaissance");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cExclamationMarkKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final Assignment cConnaissanceAssignment_1 = (Assignment)cGroup.eContents().get(1);
|
||||
|
@ -2037,7 +2037,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public RuleCall getConnaissanceNomParserRuleCall_1_0() { return cConnaissanceNomParserRuleCall_1_0; }
|
||||
}
|
||||
public class ConditionObjetElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.ConditionObjet");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.ConditionObjet");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Assignment cObjetAssignment_0 = (Assignment)cGroup.eContents().get(0);
|
||||
private final RuleCall cObjetNomParserRuleCall_0_0 = (RuleCall)cObjetAssignment_0.eContents().get(0);
|
||||
|
@ -2072,7 +2072,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public RuleCall getNombreINTTerminalRuleCall_2_0() { return cNombreINTTerminalRuleCall_2_0; }
|
||||
}
|
||||
public class ComparateurElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Comparateur");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Comparateur");
|
||||
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
|
||||
private final Keyword cLessThanSignKeyword_0 = (Keyword)cAlternatives.eContents().get(0);
|
||||
private final Keyword cGreaterThanSignKeyword_1 = (Keyword)cAlternatives.eContents().get(1);
|
||||
|
@ -2107,7 +2107,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
public Keyword getExclamationMarkEqualsSignKeyword_5() { return cExclamationMarkEqualsSignKeyword_5; }
|
||||
}
|
||||
public class NomElements extends AbstractParserRuleElementFinder {
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "xtext.Game.Nom");
|
||||
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "fr.n7.GAME.Nom");
|
||||
private final Group cGroup = (Group)rule.eContents().get(1);
|
||||
private final Keyword cQuotationMarkKeyword_0 = (Keyword)cGroup.eContents().get(0);
|
||||
private final RuleCall cSTRINGTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
|
||||
|
@ -2157,7 +2157,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
private final TerminalsGrammarAccess gaTerminals;
|
||||
|
||||
@Inject
|
||||
public GameGrammarAccess(GrammarProvider grammarProvider,
|
||||
public GAMEGrammarAccess(GrammarProvider grammarProvider,
|
||||
TerminalsGrammarAccess gaTerminals) {
|
||||
this.grammar = internalFindGrammar(grammarProvider);
|
||||
this.gaTerminals = gaTerminals;
|
||||
|
@ -2186,7 +2186,7 @@ public class GameGrammarAccess extends AbstractElementFinder.AbstractGrammarElem
|
|||
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
|
||||
Grammar grammar = grammarProvider.getGrammar(this);
|
||||
while (grammar != null) {
|
||||
if ("xtext.Game".equals(grammar.getName())) {
|
||||
if ("fr.n7.GAME".equals(grammar.getName())) {
|
||||
return grammar;
|
||||
}
|
||||
List<Grammar> grammars = grammar.getUsedGrammars();
|
|
@ -1,19 +1,19 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.validation;
|
||||
package fr.n7.validation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
|
||||
|
||||
public abstract class AbstractGameValidator extends AbstractDeclarativeValidator {
|
||||
public abstract class AbstractGAMEValidator extends AbstractDeclarativeValidator {
|
||||
|
||||
@Override
|
||||
protected List<EPackage> getEPackages() {
|
||||
List<EPackage> result = new ArrayList<EPackage>();
|
||||
result.add(xtext.game.GamePackage.eINSTANCE);
|
||||
result.add(fr.n7.game.GamePackage.eINSTANCE);
|
||||
return result;
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package xtext.validation;
|
||||
package fr.n7.validation;
|
||||
|
||||
import org.eclipse.xtext.preferences.PreferenceKey;
|
||||
import org.eclipse.xtext.util.IAcceptor;
|
||||
|
@ -9,8 +9,8 @@ import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
|
|||
import org.eclipse.xtext.validation.SeverityConverter;
|
||||
|
||||
@SuppressWarnings("restriction")
|
||||
public class GameConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
|
||||
protected static final String ISSUE_CODE_PREFIX = "xtext.";
|
||||
public class GAMEConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
|
||||
protected static final String ISSUE_CODE_PREFIX = "fr.n7.";
|
||||
|
||||
public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart";
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
grammar xtext.Game with org.eclipse.xtext.common.Terminals
|
||||
grammar fr.n7.GAME with org.eclipse.xtext.common.Terminals
|
||||
|
||||
generate game "http://game"
|
||||
|
||||
|
|
11
workspace/fr.n7.game/src/fr/n7/GAMERuntimeModule.java
Normal file
11
workspace/fr.n7.game/src/fr/n7/GAMERuntimeModule.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7;
|
||||
|
||||
|
||||
/**
|
||||
* Use this class to register components to be used at runtime / without the Equinox extension registry.
|
||||
*/
|
||||
public class GAMERuntimeModule extends AbstractGAMERuntimeModule {
|
||||
}
|
15
workspace/fr.n7.game/src/fr/n7/GAMEStandaloneSetup.java
Normal file
15
workspace/fr.n7.game/src/fr/n7/GAMEStandaloneSetup.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7;
|
||||
|
||||
|
||||
/**
|
||||
* Initialization support for running Xtext languages without Equinox extension registry.
|
||||
*/
|
||||
public class GAMEStandaloneSetup extends GAMEStandaloneSetupGenerated {
|
||||
|
||||
public static void doSetup() {
|
||||
new GAMEStandaloneSetup().createInjectorAndDoEMFRegistration();
|
||||
}
|
||||
}
|
25
workspace/fr.n7.game/src/fr/n7/generator/GAMEGenerator.xtend
Normal file
25
workspace/fr.n7.game/src/fr/n7/generator/GAMEGenerator.xtend
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.generator
|
||||
|
||||
import org.eclipse.emf.ecore.resource.Resource
|
||||
import org.eclipse.xtext.generator.AbstractGenerator
|
||||
import org.eclipse.xtext.generator.IFileSystemAccess2
|
||||
import org.eclipse.xtext.generator.IGeneratorContext
|
||||
|
||||
/**
|
||||
* Generates code from your model files on save.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
|
||||
*/
|
||||
class GAMEGenerator extends AbstractGenerator {
|
||||
|
||||
override void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) {
|
||||
// fsa.generateFile('greetings.txt', 'People to greet: ' +
|
||||
// resource.allContents
|
||||
// .filter(Greeting)
|
||||
// .map[name]
|
||||
// .join(', '))
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* generated by Xtext 2.23.0
|
||||
*/
|
||||
package fr.n7.scoping;
|
||||
|
||||
|
||||
/**
|
||||
* This class contains custom scoping description.
|
||||
*
|
||||
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping
|
||||
* on how and when to use it.
|
||||
*/
|
||||
public class GAMEScopeProvider extends AbstractGAMEScopeProvider {
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue