💩 ooga booga

This commit is contained in:
Laurent Fainsin 2021-12-03 11:28:42 +01:00
parent f5b839d192
commit 5aac55353c
145 changed files with 1106 additions and 1253 deletions

147
test.game
View file

@ -1,147 +0,0 @@
{
"Explorateur": {
"taille": 3,
"connaissances": [],
"objets": [
{
"nom": "tentative",
"qty": 3
}
]
},
"Territoires": {
"Lieux": [
{
"nom": "Énigme",
"description": "lieu de départ",
"deposable": "(false)",
"depart": "(true)",
"fin": "(false)",
"connaissances": [],
"personnes": [
"Sphinx"
],
"objets": []
},
{
"nom": "Succès",
"description": "lieu succès",
"deposable": "(false)",
"depart": "(false)",
"fin": "(true)",
"connaissances": [],
"personnes": [],
"objets": []
},
{
"nom": "Échec",
"description": "lieu échec",
"deposable": "(false)",
"depart": "(false)",
"fin": "(true)",
"connaissances": [],
"personnes": [],
"objets": []
}
],
"Chemins": [
{
"lieu_in": "Énigme",
"lieu_out": "Succès",
"ouvert": "(true)",
"visible": "(connaissance_Réussite==1)",
"obligatoire": "(false)",
"connaissances_gift": [],
"objets_gift": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la victoire !",
"condition": "(true)"
}
]
},
{
"lieu_in": "Énigme",
"lieu_out": "Échec",
"ouvert": "(true)",
"visible": "(objet_tentatives==0)",
"obligatoire": "(false)",
"connaissances": [],
"objets": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la loose !",
"condition": "(true)"
}
]
}
]
},
"Objets": [
{
"nom": "tentative",
"taille": 1,
"visible": "(true)",
"descriptions": [
{
"texte": "permet répondre une question du sphinx",
"condition": "(true)"
}
]
}
],
"Connaissances": [
{
"nom": "Réussite",
"descriptions": [
{
"nom": "Permet de se casser de là",
"condition": "(true)"
}
]
}
],
"Personnes": [
{
"nom": "Sphinx",
"visible": "(true)",
"obligatoire": "(true)",
"interactions": [
{
"connaissances_gift": [],
"objets_gift": [],
"visible": "(true)",
"actions": [
{
"connaissances_gift": [
"Réussite"
],
"objets_gift": [],
"objets_conso": [
{
"nom": "tentative",
"qty": 1
}
],
"visible": "(true)"
},
{
"connaissances_gift": [],
"objets_gift": [],
"objets_conso": [
{
"nom": "tentative",
"qty": 1
}
],
"visible": "(true)"
}
]
}
]
}
],
"Transformations": []
}

View file

@ -1 +0,0 @@
fr.n7.ide.GAMEIdeSetup

View file

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.ui.tests</name>
<name>fr.n7.xtext.game.ide</name>
<comment></comment>
<projects>
</projects>

View file

@ -1,15 +1,15 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.ide
Automatic-Module-Name: fr.n7.xtext.game.ide
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.ide
Bundle-Name: fr.n7.xtext.game.ide
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.ide; singleton:=true
Bundle-SymbolicName: fr.n7.xtext.game.ide; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game,
Require-Bundle: fr.n7.xtext.game,
org.eclipse.xtext.ide,
org.eclipse.xtext.xbase.ide,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.ide.contentassist.antlr.internal,
fr.n7.ide.contentassist.antlr
Export-Package: fr.n7.xtext.ide.contentassist.antlr,
fr.n7.xtext.ide.contentassist.antlr.internal

View file

@ -0,0 +1 @@
fr.n7.xtext.ide.GAMEIdeSetup

View file

@ -1,12 +1,12 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ide;
package fr.n7.xtext.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 fr.n7.xtext.ide.contentassist.antlr.GAMEParser;
import fr.n7.xtext.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;

View file

@ -1,13 +1,13 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ide.contentassist.antlr;
package fr.n7.xtext.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 fr.n7.xtext.ide.contentassist.antlr.internal.InternalGAMEParser;
import fr.n7.xtext.services.GAMEGrammarAccess;
import java.util.Map;
import org.eclipse.xtext.AbstractElement;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ide.contentassist.antlr;
package fr.n7.xtext.ide.contentassist.antlr;
import java.util.Collection;
import java.util.Collections;

View file

@ -8,7 +8,7 @@ options {
}
@lexer::header {
package fr.n7.ide.contentassist.antlr.internal;
package fr.n7.xtext.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 fr.n7.ide.contentassist.antlr.internal;
package fr.n7.xtext.ide.contentassist.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@ -28,7 +28,7 @@ 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 fr.n7.services.GAMEGrammarAccess;
import fr.n7.xtext.services.GAMEGrammarAccess;
}
@parser::members {

View file

@ -1,4 +1,4 @@
package fr.n7.ide.contentassist.antlr.internal;
package fr.n7.xtext.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.

View file

@ -1,4 +1,4 @@
package fr.n7.ide.contentassist.antlr.internal;
package fr.n7.xtext.ide.contentassist.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@ -10,7 +10,7 @@ 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 fr.n7.services.GAMEGrammarAccess;
import fr.n7.xtext.services.GAMEGrammarAccess;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ide;
package fr.n7.xtext.ide;
/**

View file

@ -1,12 +1,12 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ide;
package fr.n7.xtext.ide;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.GAMERuntimeModule;
import fr.n7.GAMEStandaloneSetup;
import fr.n7.xtext.GAMERuntimeModule;
import fr.n7.xtext.GAMEStandaloneSetup;
import org.eclipse.xtext.util.Modules2;
/**

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.ui</name>
<name>fr.n7.xtext.game.tests</name>
<comment></comment>
<projects>
</projects>

View file

@ -1,15 +1,15 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.tests
Automatic-Module-Name: fr.n7.xtext.game.tests
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.tests
Bundle-Name: fr.n7.xtext.game.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.tests; singleton:=true
Bundle-SymbolicName: fr.n7.xtext.game.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game,
Require-Bundle: fr.n7.xtext.game,
org.junit.jupiter.api;bundle-version="[5.0.0,6.0.0)",
org.eclipse.xtext.testing,
org.eclipse.xtext.xbase.testing,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.tests;x-internal=true
Export-Package: fr.n7.xtext.tests;x-internal=true

View file

@ -1,12 +1,12 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.tests;
package fr.n7.xtext.tests;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.GAMERuntimeModule;
import fr.n7.GAMEStandaloneSetup;
import fr.n7.xtext.GAMERuntimeModule;
import fr.n7.xtext.GAMEStandaloneSetup;
import org.eclipse.xtext.testing.GlobalRegistries;
import org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento;
import org.eclipse.xtext.testing.IInjectorProvider;

View file

@ -1,10 +1,10 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.tests
package fr.n7.xtext.tests
import com.google.inject.Inject
import fr.n7.gAME.Jeu
import fr.n7.xtext.gAME.Jeu
import org.eclipse.xtext.testing.InjectWith
import org.eclipse.xtext.testing.extensions.InjectionExtension
import org.eclipse.xtext.testing.util.ParseHelper

View file

@ -1,11 +1,11 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.tests;
package fr.n7.xtext.tests;
import com.google.inject.Inject;
import fr.n7.gAME.Jeu;
import fr.n7.tests.GAMEInjectorProvider;
import fr.n7.xtext.gAME.Jeu;
import fr.n7.xtext.tests.GAMEInjectorProvider;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtend2.lib.StringConcatenation;

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.xtext.game.ui.tests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>

View file

@ -1,12 +1,12 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.ui.tests
Automatic-Module-Name: fr.n7.xtext.game.ui.tests
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.ui.tests
Bundle-Name: fr.n7.xtext.game.ui.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.ui.tests; singleton:=true
Bundle-SymbolicName: fr.n7.xtext.game.ui.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game.ui,
Require-Bundle: fr.n7.xtext.game.ui,
org.junit.jupiter.api;bundle-version="[5.0.0,6.0.0)",
org.eclipse.xtext.testing,
org.eclipse.xtext.xbase.testing,
@ -15,4 +15,4 @@ Require-Bundle: fr.n7.game.ui,
org.eclipse.xtext.ui.testing,
org.eclipse.ui.workbench;resolution:=optional
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.ui.tests;x-internal=true
Export-Package: fr.n7.xtext.ui.tests;x-internal=true

View file

@ -1,17 +1,17 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.tests;
package fr.n7.xtext.ui.tests;
import com.google.inject.Injector;
import fr.n7.game.ui.internal.GameActivator;
import fr.n7.xtext.game.ui.internal.GameActivator;
import org.eclipse.xtext.testing.IInjectorProvider;
public class GAMEUiInjectorProvider implements IInjectorProvider {
@Override
public Injector getInjector() {
return GameActivator.getInstance().getInjector("fr.n7.GAME");
return GameActivator.getInstance().getInjector("fr.n7.xtext.GAME");
}
}

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.ide</name>
<name>fr.n7.xtext.game.ui</name>
<comment></comment>
<projects>
</projects>

View file

@ -1,13 +1,13 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.ui
Automatic-Module-Name: fr.n7.xtext.game.ui
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.ui
Bundle-Name: fr.n7.xtext.game.ui
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.ui; singleton:=true
Bundle-SymbolicName: fr.n7.xtext.game.ui; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game,
fr.n7.game.ide,
Require-Bundle: fr.n7.xtext.game,
fr.n7.xtext.game.ide,
org.eclipse.xtext.ui,
org.eclipse.xtext.ui.shared,
org.eclipse.xtext.ui.codetemplates.ui,
@ -18,7 +18,7 @@ Require-Bundle: fr.n7.game,
org.eclipse.xtext.builder
Import-Package: org.apache.log4j
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.game.ui.internal,
fr.n7.ui.contentassist,
fr.n7.ui.quickfix
Bundle-Activator: fr.n7.game.ui.internal.GameActivator
Export-Package: fr.n7.xtext.game.ui.internal,
fr.n7.xtext.ui.quickfix,
fr.n7.xtext.ui.contentassist
Bundle-Activator: fr.n7.xtext.game.ui.internal.GameActivator

View file

@ -4,48 +4,48 @@
<extension
point="org.eclipse.ui.editors">
<editor
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
default="true"
extensions="game"
id="fr.n7.GAME"
id="fr.n7.xtext.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"
class="fr.n7.xtext.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">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</activeWhen>
</handler>
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
commandId="fr.n7.GAME.validate">
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
commandId="fr.n7.xtext.GAME.validate">
<activeWhen>
<reference
definitionId="fr.n7.GAME.Editor.opened">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</activeWhen>
</handler>
<!-- copy qualified name -->
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
class="fr.n7.xtext.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" />
<reference definitionId="fr.n7.xtext.GAME.Editor.opened" />
</activeWhen>
</handler>
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
class="fr.n7.xtext.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" />
<reference definitionId="fr.n7.xtext.GAME.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
@ -54,22 +54,22 @@
</handler>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
<definition id="fr.n7.GAME.Editor.opened">
<definition id="fr.n7.xtext.GAME.Editor.opened">
<and>
<reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="fr.n7.GAME"
value="fr.n7.xtext.GAME"
forcePluginActivation="true"/>
</with>
</and>
</definition>
<definition id="fr.n7.GAME.XtextEditor.opened">
<definition id="fr.n7.xtext.GAME.XtextEditor.opened">
<and>
<reference definitionId="isXtextEditorActive"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="fr.n7.GAME"
value="fr.n7.xtext.GAME"
forcePluginActivation="true"/>
</with>
</and>
@ -78,33 +78,33 @@
<extension
point="org.eclipse.ui.preferencePages">
<page
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="fr.n7.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="fr.n7.xtext.GAME"
name="GAME">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
id="fr.n7.xtext.GAME.coloring"
name="Syntax Coloring">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
id="fr.n7.xtext.GAME.templates"
name="Templates">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.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"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="fr.n7.xtext.GAME"
name="GAME">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.ui.keyword_GAME"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
@ -114,14 +114,14 @@
<extension
point="org.eclipse.ui.keywords">
<keyword
id="fr.n7.ui.keyword_GAME"
id="fr.n7.xtext.ui.keyword_GAME"
label="GAME"/>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Trigger expensive validation"
id="fr.n7.GAME.validate"
id="fr.n7.xtext.GAME.validate"
name="Validate">
</command>
<!-- copy qualified name -->
@ -142,12 +142,12 @@
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
<command
commandId="fr.n7.GAME.validate"
commandId="fr.n7.xtext.GAME.validate"
style="push"
tooltip="Trigger expensive validation">
<visibleWhen checkEnabled="false">
<reference
definitionId="fr.n7.GAME.Editor.opened">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</visibleWhen>
</command>
@ -157,7 +157,7 @@
<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" />
<reference definitionId="fr.n7.xtext.GAME.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
@ -165,7 +165,7 @@
<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" />
<reference definitionId="fr.n7.xtext.GAME.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
@ -174,7 +174,7 @@
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<and>
<reference definitionId="fr.n7.GAME.XtextEditor.opened" />
<reference definitionId="fr.n7.xtext.GAME.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
@ -187,7 +187,7 @@
<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 definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</visibleWhen>
</command>
@ -195,11 +195,11 @@
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
commandId="org.eclipse.xtext.ui.editor.FindReferences">
<activeWhen>
<reference
definitionId="fr.n7.GAME.Editor.opened">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</activeWhen>
</handler>
@ -208,7 +208,7 @@
<content-type
base-type="org.eclipse.core.runtime.text"
file-extensions="game"
id="fr.n7.GAME.contenttype"
id="fr.n7.xtext.GAME.contenttype"
name="GAME File"
priority="normal">
</content-type>
@ -217,17 +217,17 @@
<extension
point="org.eclipse.emf.ecore.extension_parser">
<parser
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
class="fr.n7.xtext.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"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
uriExtension="game">
</resourceServiceProvider>
</extension>
<!-- marker definitions for fr.n7.GAME -->
<!-- marker definitions for fr.n7.xtext.GAME -->
<extension
id="game.check.fast"
name="GAME Problem"
@ -251,34 +251,34 @@
</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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.validation.ValidatorPreferencePage"
id="fr.n7.xtext.GAME.validator.preferencePage"
name="Errors/Warnings">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.ui.keyword_GAME"/>
</page>
</extension>
<extension point="org.eclipse.xtext.builder.participant">
<participant
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
class="fr.n7.xtext.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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="fr.n7.xtext.GAME.compiler.preferencePage"
name="Compiler">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="fr.n7.xtext.GAME.compiler.propertyPage"
name="Compiler">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.ui.keyword_GAME"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
@ -289,20 +289,20 @@
<menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
<command
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
id="fr.n7.GAME.OpenGeneratedCode"
id="fr.n7.xtext.GAME.OpenGeneratedCode"
style="push">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.GAME.Editor.opened" />
<reference definitionId="fr.n7.xtext.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"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
<activeWhen>
<reference definitionId="fr.n7.GAME.Editor.opened" />
<reference definitionId="fr.n7.xtext.GAME.Editor.opened" />
</activeWhen>
</handler>
</extension>
@ -310,11 +310,11 @@
<extension
point="org.eclipse.ui.handlers">
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
class="fr.n7.xtext.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">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</activeWhen>
</handler>
@ -334,33 +334,33 @@
style="push"
tooltip="Open Quick Outline">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.GAME.Editor.opened"/>
<reference definitionId="fr.n7.xtext.GAME.Editor.opened"/>
</visibleWhen>
</command>
</menuContribution>
</extension>
<!-- quickfix marker resolution generator for fr.n7.GAME -->
<!-- quickfix marker resolution generator for fr.n7.xtext.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">
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.xtext.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">
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.xtext.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">
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.xtext.game.ui.game.check.expensive">
<attribute
name="FIXABLE_KEY"
value="true">
@ -370,11 +370,11 @@
<!-- Rename Refactoring -->
<extension point="org.eclipse.ui.handlers">
<handler
class="fr.n7.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
<activeWhen>
<reference
definitionId="fr.n7.GAME.Editor.opened">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</activeWhen>
</handler>
@ -386,7 +386,7 @@
style="push">
<visibleWhen checkEnabled="false">
<reference
definitionId="fr.n7.GAME.Editor.opened">
definitionId="fr.n7.xtext.GAME.Editor.opened">
</reference>
</visibleWhen>
</command>
@ -394,34 +394,34 @@
</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"
category="fr.n7.xtext.GAME"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
id="fr.n7.xtext.GAME.refactoring"
name="Refactoring">
<keywordReference id="fr.n7.ui.keyword_GAME"/>
<keywordReference id="fr.n7.xtext.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"
<viewer id="fr.n7.xtext.GAME.compare.contentViewers"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
extensions="game">
</viewer>
<contentTypeBinding
contentTypeId="fr.n7.GAME.contenttype"
contentViewerId="fr.n7.GAME.compare.contentViewers" />
contentTypeId="fr.n7.xtext.GAME.contenttype"
contentViewerId="fr.n7.xtext.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"
<viewer id="fr.n7.xtext.GAME.compare.contentMergeViewers"
class="fr.n7.xtext.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" />
contentTypeId="fr.n7.xtext.GAME.contenttype"
contentMergeViewerId="fr.n7.xtext.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"
<provider id="fr.n7.xtext.GAME.editors.documentProviders"
class="fr.n7.xtext.ui.GAMEExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
extensions="game">
</provider>
</extension>

View file

@ -1,13 +1,13 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.ui.internal;
package fr.n7.xtext.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 fr.n7.xtext.GAMERuntimeModule;
import fr.n7.xtext.ui.GAMEUiModule;
import java.util.Collections;
import java.util.Map;
import org.apache.log4j.Logger;
@ -22,8 +22,8 @@ import org.osgi.framework.BundleContext;
*/
public class GameActivator extends AbstractUIPlugin {
public static final String PLUGIN_ID = "fr.n7.game.ui";
public static final String FR_N7_GAME = "fr.n7.GAME";
public static final String PLUGIN_ID = "fr.n7.xtext.game.ui";
public static final String FR_N7_XTEXT_GAME = "fr.n7.xtext.GAME";
private static final Logger logger = Logger.getLogger(GameActivator.class);
@ -73,14 +73,14 @@ public class GameActivator extends AbstractUIPlugin {
}
protected com.google.inject.Module getRuntimeModule(String grammar) {
if (FR_N7_GAME.equals(grammar)) {
if (FR_N7_XTEXT_GAME.equals(grammar)) {
return new GAMERuntimeModule();
}
throw new IllegalArgumentException(grammar);
}
protected com.google.inject.Module getUiModule(String grammar) {
if (FR_N7_GAME.equals(grammar)) {
if (FR_N7_XTEXT_GAME.equals(grammar)) {
return new GAMEUiModule(this);
}
throw new IllegalArgumentException(grammar);

View file

@ -1,20 +1,20 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui;
package fr.n7.xtext.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 fr.n7.xtext.ide.contentassist.antlr.GAMEParser;
import fr.n7.xtext.ide.contentassist.antlr.PartialGAMEContentAssistParser;
import fr.n7.xtext.ide.contentassist.antlr.internal.InternalGAMELexer;
import fr.n7.xtext.ui.contentassist.GAMEProposalProvider;
import fr.n7.xtext.ui.labeling.GAMEDescriptionLabelProvider;
import fr.n7.xtext.ui.labeling.GAMELabelProvider;
import fr.n7.xtext.ui.outline.GAMEOutlineTreeProvider;
import fr.n7.xtext.ui.quickfix.GAMEQuickfixProvider;
import fr.n7.xtext.validation.GAMEValidatorConfigurationBlock;
import org.eclipse.compare.IViewerCreator;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
@ -110,7 +110,7 @@ public abstract class AbstractGAMEUiModule extends DefaultUiModule {
public void configureHighlightingLexer(Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
.to(fr.n7.parser.antlr.internal.InternalGAMELexer.class);
.to(fr.n7.xtext.parser.antlr.internal.InternalGAMELexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2

View file

@ -1,10 +1,10 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui;
package fr.n7.xtext.ui;
import com.google.inject.Injector;
import fr.n7.game.ui.internal.GameActivator;
import fr.n7.xtext.game.ui.internal.GameActivator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
import org.osgi.framework.Bundle;
@ -23,7 +23,7 @@ public class GAMEExecutableExtensionFactory extends AbstractGuiceAwareExecutable
@Override
protected Injector getInjector() {
GameActivator activator = GameActivator.getInstance();
return activator != null ? activator.getInjector(GameActivator.FR_N7_GAME) : null;
return activator != null ? activator.getInjector(GameActivator.FR_N7_XTEXT_GAME) : null;
}
}

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.contentassist;
package fr.n7.xtext.ui.contentassist;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.Assignment;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.validation;
package fr.n7.xtext.validation;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.swt.widgets.Composite;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui;
package fr.n7.xtext.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.contentassist;
package fr.n7.xtext.ui.contentassist;
/**

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.labeling;
package fr.n7.xtext.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.labeling;
package fr.n7.xtext.ui.labeling;
import com.google.inject.Inject;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.outline;
package fr.n7.xtext.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;

View file

@ -1,7 +1,7 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.ui.quickfix;
package fr.n7.xtext.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.emf.mwe2.launch.Mwe2LaunchConfigurationType">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/fr.n7.game"/>
<listEntry value="/fr.n7.xtext.game"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
@ -10,9 +10,9 @@
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/fr.n7.game&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.ide&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.ui&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.ui.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.ui.tests&quot; type=&quot;4&quot;/&gt;&#10;;&lt;/resources&gt;}"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.ide&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.ui&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.ui.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.xtext.game.ui.tests&quot; type=&quot;4&quot;/&gt;&#10;;&lt;/resources&gt;}"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="fr.n7.GenerateGAME"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="fr.n7.game"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="fr.n7.xtext.GenerateGAME"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="fr.n7.xtext.game"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
</launchConfiguration>

View file

@ -4,7 +4,7 @@
<booleanAttribute key="askclear" value="true"/>
<booleanAttribute key="automaticAdd" value="true"/>
<booleanAttribute key="automaticValidate" value="false"/>
<stringAttribute key="bad_container_name" value="/fr.n7.game/.launch/"/>
<stringAttribute key="bad_container_name" value="/fr.n7.xtext.game/.launch/"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
<booleanAttribute key="clearConfig" value="true"/>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.tests</name>
<name>fr.n7.xtext.game</name>
<comment></comment>
<projects>
</projects>

View file

@ -1,10 +1,10 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game
Automatic-Module-Name: fr.n7.xtext.game
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game
Bundle-Name: fr.n7.xtext.game
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game; singleton:=true
Bundle-SymbolicName: fr.n7.xtext.game; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.xbase,
@ -15,15 +15,15 @@ Require-Bundle: org.eclipse.xtext,
org.eclipse.emf.common,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.services,
fr.n7.parser.antlr.internal,
fr.n7.scoping,
fr.n7.gAME,
fr.n7.gAME.impl,
fr.n7.validation,
fr.n7,
fr.n7.gAME.util,
fr.n7.serializer,
fr.n7.parser.antlr,
fr.n7.generator
Export-Package: fr.n7.xtext.services,
fr.n7.xtext.parser.antlr.internal,
fr.n7.xtext.scoping,
fr.n7.xtext,
fr.n7.xtext.gAME.impl,
fr.n7.xtext.generator,
fr.n7.xtext.validation,
fr.n7.xtext.gAME,
fr.n7.xtext.parser.antlr,
fr.n7.xtext.gAME.util,
fr.n7.xtext.serializer
Import-Package: org.apache.log4j

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="gAME" nsURI="http://www.n7.fr/GAME" nsPrefix="gAME">
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="gAME" nsURI="http://www.n7.fr/xtext/GAME" nsPrefix="gAME">
<eClassifiers xsi:type="ecore:EClass" name="Jeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
containment="true"/>

View file

@ -1,10 +1,10 @@
<?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"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext 2.23.0" modelDirectory="/fr.n7.xtext.game/src-gen"
modelPluginID="fr.n7.xtext.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="fr.n7" disposableProviderFactory="true"
<genPackages prefix="GAME" basePackage="fr.n7.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"/>

View file

@ -3,8 +3,8 @@
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http://www.n7.fr/GAME"
class = "fr.n7.gAME.GAMEPackage"
uri = "http://www.n7.fr/xtext/GAME"
class = "fr.n7.xtext.gAME.GAMEPackage"
genModel = "model/generated/GAME.genmodel" />
</extension>
</plugin>

View file

@ -1,21 +1,21 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7;
package fr.n7.xtext;
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 fr.n7.xtext.generator.GAMEGenerator;
import fr.n7.xtext.parser.antlr.GAMEAntlrTokenFileProvider;
import fr.n7.xtext.parser.antlr.GAMEParser;
import fr.n7.xtext.parser.antlr.internal.InternalGAMELexer;
import fr.n7.xtext.scoping.GAMEScopeProvider;
import fr.n7.xtext.serializer.GAMESemanticSequencer;
import fr.n7.xtext.serializer.GAMESyntacticSequencer;
import fr.n7.xtext.services.GAMEGrammarAccess;
import fr.n7.xtext.validation.GAMEConfigurableIssueCodesProvider;
import fr.n7.xtext.validation.GAMEValidator;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
@ -62,12 +62,12 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
@Override
public void configure(Binder binder) {
properties = tryBindProperties(binder, "fr/n7/GAME.properties");
properties = tryBindProperties(binder, "fr/n7/xtext/GAME.properties");
super.configure(binder);
}
public void configureLanguageName(Binder binder) {
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("fr.n7.GAME");
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("fr.n7.xtext.GAME");
}
public void configureFileExtensions(Binder binder) {

View file

@ -1,11 +1,11 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7;
package fr.n7.xtext;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.gAME.GAMEPackage;
import fr.n7.xtext.gAME.GAMEPackage;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
@ -30,8 +30,8 @@ public class GAMEStandaloneSetupGenerated implements ISetup {
}
public void register(Injector injector) {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.n7.fr/GAME")) {
EPackage.Registry.INSTANCE.put("http://www.n7.fr/GAME", GAMEPackage.eINSTANCE);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.n7.fr/xtext/GAME")) {
EPackage.Registry.INSTANCE.put("http://www.n7.fr/xtext/GAME", GAMEPackage.eINSTANCE);
}
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.Action#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.gAME.Action#getFinInteraction <em>Fin Interaction</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#getDescriptions <em>Descriptions</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getFinInteraction <em>Fin Interaction</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Action#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getAction()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction()
* @model
* @generated
*/
@ -36,14 +36,14 @@ public interface Action extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Visible</em>' containment reference.
* @see #setVisible(Condition)
* @see fr.n7.gAME.GAMEPackage#getAction_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Action#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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.
@ -58,14 +58,14 @@ public interface Action extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Fin Interaction</em>' containment reference.
* @see #setFinInteraction(Condition)
* @see fr.n7.gAME.GAMEPackage#getAction_FinInteraction()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_FinInteraction()
* @model containment="true"
* @generated
*/
Condition getFinInteraction();
/**
* Sets the value of the '{@link fr.n7.gAME.Action#getFinInteraction <em>Fin Interaction</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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.
@ -80,7 +80,7 @@ public interface Action extends EObject
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Connaissances</em>' attribute list.
* @see fr.n7.gAME.GAMEPackage#getAction_Connaissances()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_Connaissances()
* @model unique="false"
* @generated
*/
@ -92,7 +92,7 @@ public interface Action extends EObject
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets Recus</em>' attribute list.
* @see fr.n7.gAME.GAMEPackage#getAction_ObjetsRecus()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_ObjetsRecus()
* @model unique="false"
* @generated
*/
@ -104,7 +104,7 @@ public interface Action extends EObject
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets Conso</em>' attribute list.
* @see fr.n7.gAME.GAMEPackage#getAction_ObjetsConso()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_ObjetsConso()
* @model unique="false"
* @generated
*/
@ -112,11 +112,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 fr.n7.gAME.Description}.
* The list contents are of type {@link fr.n7.xtext.gAME.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getAction_Descriptions()
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_Descriptions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Chemin#getLieuIn <em>Lieu In</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getLieuOut <em>Lieu Out</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getOuvert <em>Ouvert</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getObligatoire <em>Obligatoire</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Chemin#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getChemin()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_LieuIn()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_LieuIn()
* @model
* @generated
*/
String getLieuIn();
/**
* Sets the value of the '{@link fr.n7.gAME.Chemin#getLieuIn <em>Lieu In</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_LieuOut()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_LieuOut()
* @model
* @generated
*/
String getLieuOut();
/**
* Sets the value of the '{@link fr.n7.gAME.Chemin#getLieuOut <em>Lieu Out</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_Ouvert()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_Ouvert()
* @model containment="true"
* @generated
*/
Condition getOuvert();
/**
* Sets the value of the '{@link fr.n7.gAME.Chemin#getOuvert <em>Ouvert</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Chemin#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_Obligatoire()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_Obligatoire()
* @model containment="true"
* @generated
*/
Condition getObligatoire();
/**
* Sets the value of the '{@link fr.n7.gAME.Chemin#getObligatoire <em>Obligatoire</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_Connaissances()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_ObjetsRecus()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getChemin_ObjetsConso()
* @see fr.n7.xtext.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 fr.n7.gAME.Description}.
* The list contents are of type {@link fr.n7.xtext.gAME.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getChemin_Descriptions()
* @see fr.n7.xtext.gAME.GAMEPackage#getChemin_Descriptions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.Condition#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Condition#getCondition <em>Condition</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getCondition()
* @see fr.n7.xtext.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 fr.n7.gAME.ConditionEt}.
* The list contents are of type {@link fr.n7.xtext.gAME.ConditionEt}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Condition</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getCondition_Condition()
* @see fr.n7.xtext.gAME.GAMEPackage#getCondition_Condition()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.gAME;
/**
@ -13,10 +13,10 @@ package fr.n7.gAME;
* The following features are supported:
* </p>
* <ul>
* <li>{@link fr.n7.gAME.ConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
* <li>{@link fr.n7.xtext.gAME.ConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getConditionConnaissance()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConditionConnaissance_Connaissance()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionConnaissance_Connaissance()
* @model
* @generated
*/
String getConnaissance();
/**
* Sets the value of the '{@link fr.n7.gAME.ConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.gAME.ConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Connaissance</em>' attribute.

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.ConditionEt#getConditionTest <em>Condition Test</em>}</li>
* <li>{@link fr.n7.xtext.gAME.ConditionEt#getConditionTest <em>Condition Test</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getConditionEt()
* @see fr.n7.xtext.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 fr.n7.gAME.ConditionTest}.
* The list contents are of type {@link fr.n7.xtext.gAME.ConditionTest}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Condition Test</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getConditionEt_ConditionTest()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionEt_ConditionTest()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.gAME;
/**
@ -13,12 +13,12 @@ package fr.n7.gAME;
* The following features are supported:
* </p>
* <ul>
* <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>
* <li>{@link fr.n7.xtext.gAME.ConditionObjet#getObjet <em>Objet</em>}</li>
* <li>{@link fr.n7.xtext.gAME.ConditionObjet#getComparateur <em>Comparateur</em>}</li>
* <li>{@link fr.n7.xtext.gAME.ConditionObjet#getNombre <em>Nombre</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getConditionObjet()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConditionObjet_Objet()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionObjet_Objet()
* @model
* @generated
*/
String getObjet();
/**
* Sets the value of the '{@link fr.n7.gAME.ConditionObjet#getObjet <em>Objet</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConditionObjet_Comparateur()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionObjet_Comparateur()
* @model
* @generated
*/
String getComparateur();
/**
* Sets the value of the '{@link fr.n7.gAME.ConditionObjet#getComparateur <em>Comparateur</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConditionObjet_Nombre()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionObjet_Nombre()
* @model
* @generated
*/
int getNombre();
/**
* Sets the value of the '{@link fr.n7.gAME.ConditionObjet#getNombre <em>Nombre</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.gAME.ConditionObjet#getNombre <em>Nombre</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Nombre</em>' attribute.

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.gAME;
import org.eclipse.emf.ecore.EObject;
@ -11,7 +11,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- end-user-doc -->
*
*
* @see fr.n7.gAME.GAMEPackage#getConditionTest()
* @see fr.n7.xtext.gAME.GAMEPackage#getConditionTest()
* @model
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Connaissance#getNom <em>Nom</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Connaissance#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Connaissance#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getConnaissance()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConnaissance_Nom()
* @see fr.n7.xtext.gAME.GAMEPackage#getConnaissance_Nom()
* @model
* @generated
*/
String getNom();
/**
* Sets the value of the '{@link fr.n7.gAME.Connaissance#getNom <em>Nom</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getConnaissance_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getConnaissance_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Connaissance#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.Description}.
* The list contents are of type {@link fr.n7.xtext.gAME.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getConnaissance_Descriptions()
* @see fr.n7.xtext.gAME.GAMEPackage#getConnaissance_Descriptions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.Description#getTexte <em>Texte</em>}</li>
* <li>{@link fr.n7.gAME.Description#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Description#getTexte <em>Texte</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Description#getCondition <em>Condition</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getDescription()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getDescription_Texte()
* @see fr.n7.xtext.gAME.GAMEPackage#getDescription_Texte()
* @model
* @generated
*/
String getTexte();
/**
* Sets the value of the '{@link fr.n7.gAME.Description#getTexte <em>Texte</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getDescription_Condition()
* @see fr.n7.xtext.gAME.GAMEPackage#getDescription_Condition()
* @model containment="true"
* @generated
*/
Condition getCondition();
/**
* Sets the value of the '{@link fr.n7.gAME.Description#getCondition <em>Condition</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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.

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Explorateur#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Explorateur#getObjets <em>Objets</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getExplorateur()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getExplorateur_TailleInventaire()
* @see fr.n7.xtext.gAME.GAMEPackage#getExplorateur_TailleInventaire()
* @model
* @generated
*/
int getTailleInventaire();
/**
* Sets the value of the '{@link fr.n7.gAME.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getExplorateur_Connaissances()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getExplorateur_Objets()
* @see fr.n7.xtext.gAME.GAMEPackage#getExplorateur_Objets()
* @model unique="false"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.GAMEPackage
* @see fr.n7.xtext.gAME.GAMEPackage
* @generated
*/
public interface GAMEFactory extends EFactory
@ -21,7 +21,7 @@ public interface GAMEFactory extends EFactory
* <!-- end-user-doc -->
* @generated
*/
GAMEFactory eINSTANCE = fr.n7.gAME.impl.GAMEFactoryImpl.init();
GAMEFactory eINSTANCE = fr.n7.xtext.gAME.impl.GAMEFactoryImpl.init();
/**
* Returns a new object of class '<em>Jeu</em>'.

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Interaction#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Interaction#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Interaction#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Interaction#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Interaction#getActions <em>Actions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getInteraction()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getInteraction_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getInteraction_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Interaction#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getInteraction_Connaissances()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getInteraction_ObjetsRecus()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getInteraction_ObjetsConso()
* @see fr.n7.xtext.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 fr.n7.gAME.Action}.
* The list contents are of type {@link fr.n7.xtext.gAME.Action}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Actions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getInteraction_Actions()
* @see fr.n7.xtext.gAME.GAMEPackage#getInteraction_Actions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Jeu#getExplorateur <em>Explorateur</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Jeu#getTerritoire <em>Territoire</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Jeu#getObjets <em>Objets</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Jeu#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Jeu#getPersonnes <em>Personnes</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Jeu#getTransformations <em>Transformations</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getJeu()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getJeu_Explorateur()
* @see fr.n7.xtext.gAME.GAMEPackage#getJeu_Explorateur()
* @model containment="true"
* @generated
*/
Explorateur getExplorateur();
/**
* Sets the value of the '{@link fr.n7.gAME.Jeu#getExplorateur <em>Explorateur</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getJeu_Territoire()
* @see fr.n7.xtext.gAME.GAMEPackage#getJeu_Territoire()
* @model containment="true"
* @generated
*/
Territoire getTerritoire();
/**
* Sets the value of the '{@link fr.n7.gAME.Jeu#getTerritoire <em>Territoire</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.Objet}.
* The list contents are of type {@link fr.n7.xtext.gAME.Objet}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getJeu_Objets()
* @see fr.n7.xtext.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 fr.n7.gAME.Connaissance}.
* The list contents are of type {@link fr.n7.xtext.gAME.Connaissance}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Connaissances</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getJeu_Connaissances()
* @see fr.n7.xtext.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 fr.n7.gAME.Personne}.
* The list contents are of type {@link fr.n7.xtext.gAME.Personne}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Personnes</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getJeu_Personnes()
* @see fr.n7.xtext.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 fr.n7.gAME.Transformation}.
* The list contents are of type {@link fr.n7.xtext.gAME.Transformation}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Transformations</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getJeu_Transformations()
* @see fr.n7.xtext.gAME.GAMEPackage#getJeu_Transformations()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Lieu#getNom <em>Nom</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getDeposable <em>Deposable</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getDepart <em>Depart</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getFin <em>Fin</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getPersonnes <em>Personnes</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getDescriptions <em>Descriptions</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getObjets <em>Objets</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Lieu#getConnaissances <em>Connaissances</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getLieu()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Nom()
* @see fr.n7.xtext.gAME.GAMEPackage#getLieu_Nom()
* @model
* @generated
*/
String getNom();
/**
* Sets the value of the '{@link fr.n7.gAME.Lieu#getNom <em>Nom</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Deposable()
* @see fr.n7.xtext.gAME.GAMEPackage#getLieu_Deposable()
* @model containment="true"
* @generated
*/
Condition getDeposable();
/**
* Sets the value of the '{@link fr.n7.gAME.Lieu#getDeposable <em>Deposable</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Depart()
* @see fr.n7.xtext.gAME.GAMEPackage#getLieu_Depart()
* @model containment="true"
* @generated
*/
Condition getDepart();
/**
* Sets the value of the '{@link fr.n7.gAME.Lieu#getDepart <em>Depart</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Fin()
* @see fr.n7.xtext.gAME.GAMEPackage#getLieu_Fin()
* @model containment="true"
* @generated
*/
Condition getFin();
/**
* Sets the value of the '{@link fr.n7.gAME.Lieu#getFin <em>Fin</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Personnes()
* @see fr.n7.xtext.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 fr.n7.gAME.Description}.
* The list contents are of type {@link fr.n7.xtext.gAME.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getLieu_Descriptions()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Objets()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getLieu_Connaissances()
* @see fr.n7.xtext.gAME.GAMEPackage#getLieu_Connaissances()
* @model unique="false"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.gAME;
/**
@ -13,10 +13,10 @@ package fr.n7.gAME;
* The following features are supported:
* </p>
* <ul>
* <li>{@link fr.n7.gAME.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
* <li>{@link fr.n7.xtext.gAME.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getNOTConditionConnaissance()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getNOTConditionConnaissance_Connaissance()
* @see fr.n7.xtext.gAME.GAMEPackage#getNOTConditionConnaissance_Connaissance()
* @model
* @generated
*/
String getConnaissance();
/**
* Sets the value of the '{@link fr.n7.gAME.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.gAME.NOTConditionConnaissance#getConnaissance <em>Connaissance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Connaissance</em>' attribute.

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Objet#getNom <em>Nom</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Objet#getTaille <em>Taille</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Objet#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Objet#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getObjet()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getObjet_Nom()
* @see fr.n7.xtext.gAME.GAMEPackage#getObjet_Nom()
* @model
* @generated
*/
String getNom();
/**
* Sets the value of the '{@link fr.n7.gAME.Objet#getNom <em>Nom</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getObjet_Taille()
* @see fr.n7.xtext.gAME.GAMEPackage#getObjet_Taille()
* @model
* @generated
*/
int getTaille();
/**
* Sets the value of the '{@link fr.n7.gAME.Objet#getTaille <em>Taille</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getObjet_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getObjet_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Objet#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.Description}.
* The list contents are of type {@link fr.n7.xtext.gAME.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getObjet_Descriptions()
* @see fr.n7.xtext.gAME.GAMEPackage#getObjet_Descriptions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 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>
* <li>{@link fr.n7.xtext.gAME.Personne#getNom <em>Nom</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Personne#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Personne#getObligatoire <em>Obligatoire</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Personne#getInteractions <em>Interactions</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getPersonne()
* @see fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getPersonne_Nom()
* @see fr.n7.xtext.gAME.GAMEPackage#getPersonne_Nom()
* @model
* @generated
*/
String getNom();
/**
* Sets the value of the '{@link fr.n7.gAME.Personne#getNom <em>Nom</em>}' attribute.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getPersonne_Visible()
* @see fr.n7.xtext.gAME.GAMEPackage#getPersonne_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.gAME.Personne#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.GAMEPackage#getPersonne_Obligatoire()
* @see fr.n7.xtext.gAME.GAMEPackage#getPersonne_Obligatoire()
* @model containment="true"
* @generated
*/
Condition getObligatoire();
/**
* Sets the value of the '{@link fr.n7.gAME.Personne#getObligatoire <em>Obligatoire</em>}' containment reference.
* Sets the value of the '{@link fr.n7.xtext.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 fr.n7.gAME.Interaction}.
* The list contents are of type {@link fr.n7.xtext.gAME.Interaction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Interactions</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getPersonne_Interactions()
* @see fr.n7.xtext.gAME.GAMEPackage#getPersonne_Interactions()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.gAME;
package fr.n7.xtext.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 fr.n7.gAME.Territoire#getLieux <em>Lieux</em>}</li>
* <li>{@link fr.n7.gAME.Territoire#getChemins <em>Chemins</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Territoire#getLieux <em>Lieux</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Territoire#getChemins <em>Chemins</em>}</li>
* </ul>
*
* @see fr.n7.gAME.GAMEPackage#getTerritoire()
* @see fr.n7.xtext.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 fr.n7.gAME.Lieu}.
* The list contents are of type {@link fr.n7.xtext.gAME.Lieu}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Lieux</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getTerritoire_Lieux()
* @see fr.n7.xtext.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 fr.n7.gAME.Chemin}.
* The list contents are of type {@link fr.n7.xtext.gAME.Chemin}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Chemins</em>' containment reference list.
* @see fr.n7.gAME.GAMEPackage#getTerritoire_Chemins()
* @see fr.n7.xtext.gAME.GAMEPackage#getTerritoire_Chemins()
* @model containment="true"
* @generated
*/

Some files were not shown because too many files have changed in this diff Show more