fix: reconstruction du xtext

This commit is contained in:
Laurent Fainsin 2021-12-04 12:05:25 +01:00
parent 8bd86e75a8
commit 196e62acf4
142 changed files with 61717 additions and 2670 deletions

View file

@ -1,31 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.xtext.game</name>
<name>fr.n7.game.xtext.ide</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ocl.pivot.ui.oclbuilder</name>
<arguments>
<dictionary>
<key>disabledExtensions</key>
<value>*,essentialocl</value>
</dictionary>
<dictionary>
<key>disabledPaths</key>
<value>bin/**,target/**</value>
</dictionary>
<dictionary>
<key>enabledExtensions</key>
<value>ecore,ocl,oclinecore,oclstdlib,uml</value>
</dictionary>
<dictionary>
<key>enabledPaths</key>
<value>**</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
@ -51,6 +30,5 @@
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.ocl.pivot.ui.oclnature</nature>
</natures>
</projectDescription>

View file

@ -0,0 +1,15 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.xtext.ide
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.xtext.ide
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.xtext.ide; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game.xtext,
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.game.xtext.ide.contentassist.antlr.internal,
fr.n7.game.xtext.ide.contentassist.antlr

View file

@ -0,0 +1,6 @@
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/
bin.excludes = **/*.xtend

View file

@ -0,0 +1 @@
fr.n7.game.xtext.ide.GameIdeSetup

View file

@ -0,0 +1,60 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ide;
import com.google.inject.Binder;
import com.google.inject.name.Names;
import fr.n7.game.xtext.ide.contentassist.antlr.GameParser;
import fr.n7.game.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;
import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
import org.eclipse.xtext.ide.refactoring.IRenameStrategy2;
import org.eclipse.xtext.ide.server.rename.IRenameService2;
import org.eclipse.xtext.ide.server.rename.RenameService2;
/**
* Manual modifications go to {@link GameIdeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractGameIdeModule extends DefaultIdeModule {
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureContentAssistLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
.to(InternalGameLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
return GameParser.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
return AntlrProposalConflictHelper.class;
}
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class<? extends IPrefixMatcher> bindIPrefixMatcher() {
return FQNPrefixMatcher.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameService2> bindIRenameService2() {
return RenameService2.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameStrategy2> bindIRenameStrategy2() {
return IRenameStrategy2.DefaultImpl.class;
}
}

View file

@ -0,0 +1,241 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ide.contentassist.antlr;
import com.google.common.collect.ImmutableMap;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import fr.n7.game.xtext.ide.contentassist.antlr.internal.InternalGameParser;
import fr.n7.game.xtext.services.GameGrammarAccess;
import java.util.Map;
import org.eclipse.xtext.AbstractElement;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser;
public class GameParser extends AbstractContentAssistParser {
@Singleton
public static final class NameMappings {
private final Map<AbstractElement, String> mappings;
@Inject
public NameMappings(GameGrammarAccess grammarAccess) {
ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
init(builder, grammarAccess);
this.mappings = builder.build();
}
public String getRuleName(AbstractElement element) {
return mappings.get(element);
}
private static void init(ImmutableMap.Builder<AbstractElement, String> builder, GameGrammarAccess grammarAccess) {
builder.put(grammarAccess.getConditionTestAccess().getAlternatives(), "rule__ConditionTest__Alternatives");
builder.put(grammarAccess.getComparateurAccess().getAlternatives(), "rule__Comparateur__Alternatives");
builder.put(grammarAccess.getJeuAccess().getGroup(), "rule__Jeu__Group__0");
builder.put(grammarAccess.getJeuAccess().getGroup_12(), "rule__Jeu__Group_12__0");
builder.put(grammarAccess.getJeuAccess().getGroup_12_1(), "rule__Jeu__Group_12_1__0");
builder.put(grammarAccess.getJeuAccess().getGroup_18(), "rule__Jeu__Group_18__0");
builder.put(grammarAccess.getJeuAccess().getGroup_18_1(), "rule__Jeu__Group_18_1__0");
builder.put(grammarAccess.getJeuAccess().getGroup_24(), "rule__Jeu__Group_24__0");
builder.put(grammarAccess.getJeuAccess().getGroup_24_1(), "rule__Jeu__Group_24_1__0");
builder.put(grammarAccess.getJeuAccess().getGroup_30(), "rule__Jeu__Group_30__0");
builder.put(grammarAccess.getJeuAccess().getGroup_30_1(), "rule__Jeu__Group_30_1__0");
builder.put(grammarAccess.getExplorateurAccess().getGroup(), "rule__Explorateur__Group__0");
builder.put(grammarAccess.getExplorateurAccess().getGroup_8(), "rule__Explorateur__Group_8__0");
builder.put(grammarAccess.getExplorateurAccess().getGroup_8_1(), "rule__Explorateur__Group_8_1__0");
builder.put(grammarAccess.getExplorateurAccess().getGroup_14(), "rule__Explorateur__Group_14__0");
builder.put(grammarAccess.getExplorateurAccess().getGroup_14_1(), "rule__Explorateur__Group_14_1__0");
builder.put(grammarAccess.getTerritoireAccess().getGroup(), "rule__Territoire__Group__0");
builder.put(grammarAccess.getTerritoireAccess().getGroup_4(), "rule__Territoire__Group_4__0");
builder.put(grammarAccess.getTerritoireAccess().getGroup_4_1(), "rule__Territoire__Group_4_1__0");
builder.put(grammarAccess.getTerritoireAccess().getGroup_10(), "rule__Territoire__Group_10__0");
builder.put(grammarAccess.getTerritoireAccess().getGroup_10_1(), "rule__Territoire__Group_10_1__0");
builder.put(grammarAccess.getLieuAccess().getGroup(), "rule__Lieu__Group__0");
builder.put(grammarAccess.getLieuAccess().getGroup_20(), "rule__Lieu__Group_20__0");
builder.put(grammarAccess.getLieuAccess().getGroup_20_1(), "rule__Lieu__Group_20_1__0");
builder.put(grammarAccess.getLieuAccess().getGroup_27(), "rule__Lieu__Group_27__0");
builder.put(grammarAccess.getLieuAccess().getGroup_33(), "rule__Lieu__Group_33__0");
builder.put(grammarAccess.getLieuAccess().getGroup_33_1(), "rule__Lieu__Group_33_1__0");
builder.put(grammarAccess.getLieuAccess().getGroup_39(), "rule__Lieu__Group_39__0");
builder.put(grammarAccess.getLieuAccess().getGroup_39_1(), "rule__Lieu__Group_39_1__0");
builder.put(grammarAccess.getCheminAccess().getGroup(), "rule__Chemin__Group__0");
builder.put(grammarAccess.getCheminAccess().getGroup_24(), "rule__Chemin__Group_24__0");
builder.put(grammarAccess.getCheminAccess().getGroup_24_1(), "rule__Chemin__Group_24_1__0");
builder.put(grammarAccess.getCheminAccess().getGroup_30(), "rule__Chemin__Group_30__0");
builder.put(grammarAccess.getCheminAccess().getGroup_30_1(), "rule__Chemin__Group_30_1__0");
builder.put(grammarAccess.getCheminAccess().getGroup_36(), "rule__Chemin__Group_36__0");
builder.put(grammarAccess.getCheminAccess().getGroup_36_1(), "rule__Chemin__Group_36_1__0");
builder.put(grammarAccess.getCheminAccess().getGroup_43(), "rule__Chemin__Group_43__0");
builder.put(grammarAccess.getObjetAccess().getGroup(), "rule__Objet__Group__0");
builder.put(grammarAccess.getObjetAccess().getGroup_17(), "rule__Objet__Group_17__0");
builder.put(grammarAccess.getTransformationAccess().getGroup(), "rule__Transformation__Group__0");
builder.put(grammarAccess.getTransformationAccess().getGroup_8(), "rule__Transformation__Group_8__0");
builder.put(grammarAccess.getTransformationAccess().getGroup_8_1(), "rule__Transformation__Group_8_1__0");
builder.put(grammarAccess.getTransformationAccess().getGroup_14(), "rule__Transformation__Group_14__0");
builder.put(grammarAccess.getTransformationAccess().getGroup_14_1(), "rule__Transformation__Group_14_1__0");
builder.put(grammarAccess.getConnaissanceAccess().getGroup(), "rule__Connaissance__Group__0");
builder.put(grammarAccess.getConnaissanceAccess().getGroup_13(), "rule__Connaissance__Group_13__0");
builder.put(grammarAccess.getPersonneAccess().getGroup(), "rule__Personne__Group__0");
builder.put(grammarAccess.getPersonneAccess().getGroup_16(), "rule__Personne__Group_16__0");
builder.put(grammarAccess.getPersonneAccess().getGroup_16_1(), "rule__Personne__Group_16_1__0");
builder.put(grammarAccess.getInteractionAccess().getGroup(), "rule__Interaction__Group__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_8(), "rule__Interaction__Group_8__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_8_1(), "rule__Interaction__Group_8_1__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_14(), "rule__Interaction__Group_14__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_14_1(), "rule__Interaction__Group_14_1__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_20(), "rule__Interaction__Group_20__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_20_1(), "rule__Interaction__Group_20_1__0");
builder.put(grammarAccess.getInteractionAccess().getGroup_27(), "rule__Interaction__Group_27__0");
builder.put(grammarAccess.getActionAccess().getGroup(), "rule__Action__Group__0");
builder.put(grammarAccess.getActionAccess().getGroup_12(), "rule__Action__Group_12__0");
builder.put(grammarAccess.getActionAccess().getGroup_12_1(), "rule__Action__Group_12_1__0");
builder.put(grammarAccess.getActionAccess().getGroup_18(), "rule__Action__Group_18__0");
builder.put(grammarAccess.getActionAccess().getGroup_18_1(), "rule__Action__Group_18_1__0");
builder.put(grammarAccess.getActionAccess().getGroup_24(), "rule__Action__Group_24__0");
builder.put(grammarAccess.getActionAccess().getGroup_24_1(), "rule__Action__Group_24_1__0");
builder.put(grammarAccess.getActionAccess().getGroup_31(), "rule__Action__Group_31__0");
builder.put(grammarAccess.getDescriptionAccess().getGroup(), "rule__Description__Group__0");
builder.put(grammarAccess.getConditionAccess().getGroup(), "rule__Condition__Group__0");
builder.put(grammarAccess.getConditionAccess().getGroup_1(), "rule__Condition__Group_1__0");
builder.put(grammarAccess.getConditionEtAccess().getGroup(), "rule__ConditionEt__Group__0");
builder.put(grammarAccess.getConditionEtAccess().getGroup_1(), "rule__ConditionEt__Group_1__0");
builder.put(grammarAccess.getNOTConditionConnaissanceAccess().getGroup(), "rule__NOTConditionConnaissance__Group__0");
builder.put(grammarAccess.getConditionObjetAccess().getGroup(), "rule__ConditionObjet__Group__0");
builder.put(grammarAccess.getJeuAccess().getExplorateurAssignment_3(), "rule__Jeu__ExplorateurAssignment_3");
builder.put(grammarAccess.getJeuAccess().getTerritoireAssignment_7(), "rule__Jeu__TerritoireAssignment_7");
builder.put(grammarAccess.getJeuAccess().getObjetsAssignment_12_0(), "rule__Jeu__ObjetsAssignment_12_0");
builder.put(grammarAccess.getJeuAccess().getObjetsAssignment_12_1_1(), "rule__Jeu__ObjetsAssignment_12_1_1");
builder.put(grammarAccess.getJeuAccess().getConnaissancesAssignment_18_0(), "rule__Jeu__ConnaissancesAssignment_18_0");
builder.put(grammarAccess.getJeuAccess().getConnaissancesAssignment_18_1_1(), "rule__Jeu__ConnaissancesAssignment_18_1_1");
builder.put(grammarAccess.getJeuAccess().getPersonnesAssignment_24_0(), "rule__Jeu__PersonnesAssignment_24_0");
builder.put(grammarAccess.getJeuAccess().getPersonnesAssignment_24_1_1(), "rule__Jeu__PersonnesAssignment_24_1_1");
builder.put(grammarAccess.getJeuAccess().getTransformationsAssignment_30_0(), "rule__Jeu__TransformationsAssignment_30_0");
builder.put(grammarAccess.getJeuAccess().getTransformationsAssignment_30_1_1(), "rule__Jeu__TransformationsAssignment_30_1_1");
builder.put(grammarAccess.getExplorateurAccess().getTailleInventaireAssignment_3(), "rule__Explorateur__TailleInventaireAssignment_3");
builder.put(grammarAccess.getExplorateurAccess().getConnaissancesAssignment_8_0(), "rule__Explorateur__ConnaissancesAssignment_8_0");
builder.put(grammarAccess.getExplorateurAccess().getConnaissancesAssignment_8_1_1(), "rule__Explorateur__ConnaissancesAssignment_8_1_1");
builder.put(grammarAccess.getExplorateurAccess().getObjetsAssignment_14_0(), "rule__Explorateur__ObjetsAssignment_14_0");
builder.put(grammarAccess.getExplorateurAccess().getObjetsAssignment_14_1_1(), "rule__Explorateur__ObjetsAssignment_14_1_1");
builder.put(grammarAccess.getTerritoireAccess().getLieuxAssignment_4_0(), "rule__Territoire__LieuxAssignment_4_0");
builder.put(grammarAccess.getTerritoireAccess().getLieuxAssignment_4_1_1(), "rule__Territoire__LieuxAssignment_4_1_1");
builder.put(grammarAccess.getTerritoireAccess().getCheminsAssignment_10_0(), "rule__Territoire__CheminsAssignment_10_0");
builder.put(grammarAccess.getTerritoireAccess().getCheminsAssignment_10_1_1(), "rule__Territoire__CheminsAssignment_10_1_1");
builder.put(grammarAccess.getLieuAccess().getNomAssignment_3(), "rule__Lieu__NomAssignment_3");
builder.put(grammarAccess.getLieuAccess().getDeposableAssignment_7(), "rule__Lieu__DeposableAssignment_7");
builder.put(grammarAccess.getLieuAccess().getDepartAssignment_11(), "rule__Lieu__DepartAssignment_11");
builder.put(grammarAccess.getLieuAccess().getFinAssignment_15(), "rule__Lieu__FinAssignment_15");
builder.put(grammarAccess.getLieuAccess().getPersonnesAssignment_20_0(), "rule__Lieu__PersonnesAssignment_20_0");
builder.put(grammarAccess.getLieuAccess().getPersonnesAssignment_20_1_1(), "rule__Lieu__PersonnesAssignment_20_1_1");
builder.put(grammarAccess.getLieuAccess().getDescriptionsAssignment_26(), "rule__Lieu__DescriptionsAssignment_26");
builder.put(grammarAccess.getLieuAccess().getDescriptionsAssignment_27_1(), "rule__Lieu__DescriptionsAssignment_27_1");
builder.put(grammarAccess.getLieuAccess().getObjetsAssignment_33_0(), "rule__Lieu__ObjetsAssignment_33_0");
builder.put(grammarAccess.getLieuAccess().getObjetsAssignment_33_1_1(), "rule__Lieu__ObjetsAssignment_33_1_1");
builder.put(grammarAccess.getLieuAccess().getConnaissancesAssignment_39_0(), "rule__Lieu__ConnaissancesAssignment_39_0");
builder.put(grammarAccess.getLieuAccess().getConnaissancesAssignment_39_1_1(), "rule__Lieu__ConnaissancesAssignment_39_1_1");
builder.put(grammarAccess.getCheminAccess().getLieuInAssignment_3(), "rule__Chemin__LieuInAssignment_3");
builder.put(grammarAccess.getCheminAccess().getLieuOutAssignment_7(), "rule__Chemin__LieuOutAssignment_7");
builder.put(grammarAccess.getCheminAccess().getOuvertAssignment_11(), "rule__Chemin__OuvertAssignment_11");
builder.put(grammarAccess.getCheminAccess().getVisibleAssignment_15(), "rule__Chemin__VisibleAssignment_15");
builder.put(grammarAccess.getCheminAccess().getObligatoireAssignment_19(), "rule__Chemin__ObligatoireAssignment_19");
builder.put(grammarAccess.getCheminAccess().getConnaissancesAssignment_24_0(), "rule__Chemin__ConnaissancesAssignment_24_0");
builder.put(grammarAccess.getCheminAccess().getConnaissancesAssignment_24_1_1(), "rule__Chemin__ConnaissancesAssignment_24_1_1");
builder.put(grammarAccess.getCheminAccess().getObjetsRecusAssignment_30_0(), "rule__Chemin__ObjetsRecusAssignment_30_0");
builder.put(grammarAccess.getCheminAccess().getObjetsRecusAssignment_30_1_1(), "rule__Chemin__ObjetsRecusAssignment_30_1_1");
builder.put(grammarAccess.getCheminAccess().getObjetsConsoAssignment_36_0(), "rule__Chemin__ObjetsConsoAssignment_36_0");
builder.put(grammarAccess.getCheminAccess().getObjetsConsoAssignment_36_1_1(), "rule__Chemin__ObjetsConsoAssignment_36_1_1");
builder.put(grammarAccess.getCheminAccess().getDescriptionsAssignment_42(), "rule__Chemin__DescriptionsAssignment_42");
builder.put(grammarAccess.getCheminAccess().getDescriptionsAssignment_43_1(), "rule__Chemin__DescriptionsAssignment_43_1");
builder.put(grammarAccess.getObjetAccess().getNomAssignment_3(), "rule__Objet__NomAssignment_3");
builder.put(grammarAccess.getObjetAccess().getTailleAssignment_7(), "rule__Objet__TailleAssignment_7");
builder.put(grammarAccess.getObjetAccess().getVisibleAssignment_11(), "rule__Objet__VisibleAssignment_11");
builder.put(grammarAccess.getObjetAccess().getDescriptionsAssignment_16(), "rule__Objet__DescriptionsAssignment_16");
builder.put(grammarAccess.getObjetAccess().getDescriptionsAssignment_17_1(), "rule__Objet__DescriptionsAssignment_17_1");
builder.put(grammarAccess.getTransformationAccess().getConditionAssignment_3(), "rule__Transformation__ConditionAssignment_3");
builder.put(grammarAccess.getTransformationAccess().getObjetsInAssignment_8_0(), "rule__Transformation__ObjetsInAssignment_8_0");
builder.put(grammarAccess.getTransformationAccess().getObjetsInAssignment_8_1_1(), "rule__Transformation__ObjetsInAssignment_8_1_1");
builder.put(grammarAccess.getTransformationAccess().getObjetsOutAssignment_14_0(), "rule__Transformation__ObjetsOutAssignment_14_0");
builder.put(grammarAccess.getTransformationAccess().getObjetsOutAssignment_14_1_1(), "rule__Transformation__ObjetsOutAssignment_14_1_1");
builder.put(grammarAccess.getConnaissanceAccess().getNomAssignment_3(), "rule__Connaissance__NomAssignment_3");
builder.put(grammarAccess.getConnaissanceAccess().getVisibleAssignment_7(), "rule__Connaissance__VisibleAssignment_7");
builder.put(grammarAccess.getConnaissanceAccess().getDescriptionsAssignment_12(), "rule__Connaissance__DescriptionsAssignment_12");
builder.put(grammarAccess.getConnaissanceAccess().getDescriptionsAssignment_13_1(), "rule__Connaissance__DescriptionsAssignment_13_1");
builder.put(grammarAccess.getPersonneAccess().getNomAssignment_3(), "rule__Personne__NomAssignment_3");
builder.put(grammarAccess.getPersonneAccess().getVisibleAssignment_7(), "rule__Personne__VisibleAssignment_7");
builder.put(grammarAccess.getPersonneAccess().getObligatoireAssignment_11(), "rule__Personne__ObligatoireAssignment_11");
builder.put(grammarAccess.getPersonneAccess().getInteractionsAssignment_16_0(), "rule__Personne__InteractionsAssignment_16_0");
builder.put(grammarAccess.getPersonneAccess().getInteractionsAssignment_16_1_1(), "rule__Personne__InteractionsAssignment_16_1_1");
builder.put(grammarAccess.getInteractionAccess().getVisibleAssignment_3(), "rule__Interaction__VisibleAssignment_3");
builder.put(grammarAccess.getInteractionAccess().getConnaissancesAssignment_8_0(), "rule__Interaction__ConnaissancesAssignment_8_0");
builder.put(grammarAccess.getInteractionAccess().getConnaissancesAssignment_8_1_1(), "rule__Interaction__ConnaissancesAssignment_8_1_1");
builder.put(grammarAccess.getInteractionAccess().getObjetsRecusAssignment_14_0(), "rule__Interaction__ObjetsRecusAssignment_14_0");
builder.put(grammarAccess.getInteractionAccess().getObjetsRecusAssignment_14_1_1(), "rule__Interaction__ObjetsRecusAssignment_14_1_1");
builder.put(grammarAccess.getInteractionAccess().getObjetsConsoAssignment_20_0(), "rule__Interaction__ObjetsConsoAssignment_20_0");
builder.put(grammarAccess.getInteractionAccess().getObjetsRecusAssignment_20_1_1(), "rule__Interaction__ObjetsRecusAssignment_20_1_1");
builder.put(grammarAccess.getInteractionAccess().getActionsAssignment_26(), "rule__Interaction__ActionsAssignment_26");
builder.put(grammarAccess.getInteractionAccess().getActionsAssignment_27_1(), "rule__Interaction__ActionsAssignment_27_1");
builder.put(grammarAccess.getActionAccess().getVisibleAssignment_3(), "rule__Action__VisibleAssignment_3");
builder.put(grammarAccess.getActionAccess().getFinInteractionAssignment_7(), "rule__Action__FinInteractionAssignment_7");
builder.put(grammarAccess.getActionAccess().getConnaissancesAssignment_12_0(), "rule__Action__ConnaissancesAssignment_12_0");
builder.put(grammarAccess.getActionAccess().getConnaissancesAssignment_12_1_1(), "rule__Action__ConnaissancesAssignment_12_1_1");
builder.put(grammarAccess.getActionAccess().getObjetsRecusAssignment_18_0(), "rule__Action__ObjetsRecusAssignment_18_0");
builder.put(grammarAccess.getActionAccess().getObjetsRecusAssignment_18_1_1(), "rule__Action__ObjetsRecusAssignment_18_1_1");
builder.put(grammarAccess.getActionAccess().getObjetsConsoAssignment_24_0(), "rule__Action__ObjetsConsoAssignment_24_0");
builder.put(grammarAccess.getActionAccess().getObjetsConsoAssignment_24_1_1(), "rule__Action__ObjetsConsoAssignment_24_1_1");
builder.put(grammarAccess.getActionAccess().getDescriptionsAssignment_30(), "rule__Action__DescriptionsAssignment_30");
builder.put(grammarAccess.getActionAccess().getDescriptionsAssignment_31_1(), "rule__Action__DescriptionsAssignment_31_1");
builder.put(grammarAccess.getDescriptionAccess().getTexteAssignment_3(), "rule__Description__TexteAssignment_3");
builder.put(grammarAccess.getDescriptionAccess().getConditionAssignment_7(), "rule__Description__ConditionAssignment_7");
builder.put(grammarAccess.getConditionAccess().getConditionAssignment_0(), "rule__Condition__ConditionAssignment_0");
builder.put(grammarAccess.getConditionAccess().getConditionAssignment_1_1(), "rule__Condition__ConditionAssignment_1_1");
builder.put(grammarAccess.getConditionEtAccess().getConditionTestAssignment_0(), "rule__ConditionEt__ConditionTestAssignment_0");
builder.put(grammarAccess.getConditionEtAccess().getConditionTestAssignment_1_1(), "rule__ConditionEt__ConditionTestAssignment_1_1");
builder.put(grammarAccess.getConditionConnaissanceAccess().getConnaissanceAssignment(), "rule__ConditionConnaissance__ConnaissanceAssignment");
builder.put(grammarAccess.getNOTConditionConnaissanceAccess().getConnaissanceAssignment_1(), "rule__NOTConditionConnaissance__ConnaissanceAssignment_1");
builder.put(grammarAccess.getConditionObjetAccess().getObjetAssignment_0(), "rule__ConditionObjet__ObjetAssignment_0");
builder.put(grammarAccess.getConditionObjetAccess().getComparateurAssignment_1(), "rule__ConditionObjet__ComparateurAssignment_1");
builder.put(grammarAccess.getConditionObjetAccess().getNombreAssignment_2(), "rule__ConditionObjet__NombreAssignment_2");
builder.put(grammarAccess.getNomAccess().getNomAssignment(), "rule__Nom__NomAssignment");
}
}
@Inject
private NameMappings nameMappings;
@Inject
private GameGrammarAccess grammarAccess;
@Override
protected InternalGameParser createParser() {
InternalGameParser result = new InternalGameParser(null);
result.setGrammarAccess(grammarAccess);
return result;
}
@Override
protected String getRuleName(AbstractElement element) {
return nameMappings.getRuleName(element);
}
@Override
protected String[] getInitialHiddenTokens() {
return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
}
public GameGrammarAccess getGrammarAccess() {
return this.grammarAccess;
}
public void setGrammarAccess(GameGrammarAccess grammarAccess) {
this.grammarAccess = grammarAccess;
}
public NameMappings getNameMappings() {
return nameMappings;
}
public void setNameMappings(NameMappings nameMappings) {
this.nameMappings = nameMappings;
}
}

View file

@ -0,0 +1,33 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ide.contentassist.antlr;
import java.util.Collection;
import java.util.Collections;
import org.eclipse.xtext.AbstractRule;
import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
import org.eclipse.xtext.util.PolymorphicDispatcher;
public class PartialGameContentAssistParser extends GameParser {
private AbstractRule rule;
@Override
public void initializeFor(AbstractRule rule) {
this.rule = rule;
}
@Override
protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
if (rule == null || rule.eIsProxy())
return Collections.emptyList();
String methodName = "entryRule" + rule.getName();
PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
dispatcher.invoke();
return parser.getFollowElements();
}
}

View file

@ -0,0 +1,103 @@
'!'=58
'!='=18
'"Chemins"'=35
'"Connaissances"'=27
'"Explorateur"'=20
'"Lieux"'=34
'"Objets"'=24
'"Personnes"'=28
'"Territoire"'=23
'"Transformations"'=29
'"actions"'=53
'"condition"'=49
'"connaissances"'=32
'"depart"'=38
'"deposable"'=37
'"descriptions"'=41
'"fin"'=39
'"fin_interaction"'=54
'"interactions"'=52
'"lieu_in"'=42
'"lieu_out"'=43
'"nom"'=36
'"objets"'=33
'"objets_conso"'=48
'"objets_in"'=50
'"objets_out"'=51
'"objets_recus"'=47
'"obligatoire"'=46
'"ouvert"'=44
'"personnes"'=40
'"taille"'=31
'"texte"'=55
'"visible"'=45
'&&'=57
','=22
':'=21
'<'=13
'<='=16
'=='=15
'>'=14
'>='=17
'['=25
']'=26
'false'=12
'true'=11
'{'=19
'||'=56
'}'=30
RULE_ANY_OTHER=10
RULE_ID=6
RULE_INT=4
RULE_ML_COMMENT=7
RULE_SL_COMMENT=8
RULE_STRING=5
RULE_WS=9
T__11=11
T__12=12
T__13=13
T__14=14
T__15=15
T__16=16
T__17=17
T__18=18
T__19=19
T__20=20
T__21=21
T__22=22
T__23=23
T__24=24
T__25=25
T__26=26
T__27=27
T__28=28
T__29=29
T__30=30
T__31=31
T__32=32
T__33=33
T__34=34
T__35=35
T__36=36
T__37=37
T__38=38
T__39=39
T__40=40
T__41=41
T__42=42
T__43=43
T__44=44
T__45=45
T__46=46
T__47=47
T__48=48
T__49=49
T__50=50
T__51=51
T__52=52
T__53=53
T__54=54
T__55=55
T__56=56
T__57=57
T__58=58

View file

@ -0,0 +1,11 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ide;
/**
* Use this class to register ide components.
*/
public class GameIdeModule extends AbstractGameIdeModule {
}

View file

@ -0,0 +1,22 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ide;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.game.xtext.GameRuntimeModule;
import fr.n7.game.xtext.GameStandaloneSetup;
import org.eclipse.xtext.util.Modules2;
/**
* Initialization support for running Xtext languages as language servers.
*/
public class GameIdeSetup extends GameStandaloneSetup {
@Override
public Injector createInjector() {
return Guice.createInjector(Modules2.mixin(new GameRuntimeModule(), new GameIdeModule()));
}
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="test-bin" path="src">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="test-bin" path="src-gen">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="test-bin" path="xtend-gen">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View file

@ -0,0 +1 @@
/test-bin/

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.xtext.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

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11

View file

@ -0,0 +1,15 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.xtext.tests
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.xtext.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.xtext.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game.xtext,
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.game.xtext.tests;x-internal=true

View file

@ -0,0 +1,6 @@
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/
bin.excludes = **/*.xtend

View file

@ -0,0 +1,69 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.tests;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.game.xtext.GameRuntimeModule;
import fr.n7.game.xtext.GameStandaloneSetup;
import org.eclipse.xtext.testing.GlobalRegistries;
import org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento;
import org.eclipse.xtext.testing.IInjectorProvider;
import org.eclipse.xtext.testing.IRegistryConfigurator;
public class GameInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
protected GlobalStateMemento stateBeforeInjectorCreation;
protected GlobalStateMemento stateAfterInjectorCreation;
protected Injector injector;
static {
GlobalRegistries.initializeDefaults();
}
@Override
public Injector getInjector() {
if (injector == null) {
this.injector = internalCreateInjector();
stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
}
return injector;
}
protected Injector internalCreateInjector() {
return new GameStandaloneSetup() {
@Override
public Injector createInjector() {
return Guice.createInjector(createRuntimeModule());
}
}.createInjectorAndDoEMFRegistration();
}
protected GameRuntimeModule createRuntimeModule() {
// make it work also with Maven/Tycho and OSGI
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=493672
return new GameRuntimeModule() {
@Override
public ClassLoader bindClassLoaderToInstance() {
return GameInjectorProvider.class
.getClassLoader();
}
};
}
@Override
public void restoreRegistry() {
stateBeforeInjectorCreation.restoreGlobalState();
stateBeforeInjectorCreation = null;
}
@Override
public void setupRegistry() {
stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
if (injector == null) {
getInjector();
}
stateAfterInjectorCreation.restoreGlobalState();
}
}

View file

@ -0,0 +1,30 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.tests
import com.google.inject.Inject
import fr.n7.game.xtext.game.Jeu
import org.eclipse.xtext.testing.InjectWith
import org.eclipse.xtext.testing.extensions.InjectionExtension
import org.eclipse.xtext.testing.util.ParseHelper
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.^extension.ExtendWith
@ExtendWith(InjectionExtension)
@InjectWith(GameInjectorProvider)
class GameParsingTest {
@Inject
ParseHelper<Jeu> parseHelper
@Test
def void loadModel() {
val result = parseHelper.parse('''
Hello Xtext!
''')
Assertions.assertNotNull(result)
val errors = result.eResource.errors
Assertions.assertTrue(errors.isEmpty, '''Unexpected errors: «errors.join(", ")»''')
}
}

View file

@ -0,0 +1 @@
/.GameParsingTest.java._trace

View file

@ -0,0 +1,47 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.tests;
import com.google.inject.Inject;
import fr.n7.game.xtext.game.Jeu;
import fr.n7.game.xtext.tests.GameInjectorProvider;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.testing.InjectWith;
import org.eclipse.xtext.testing.extensions.InjectionExtension;
import org.eclipse.xtext.testing.util.ParseHelper;
import org.eclipse.xtext.xbase.lib.Exceptions;
import org.eclipse.xtext.xbase.lib.IterableExtensions;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
@ExtendWith(InjectionExtension.class)
@InjectWith(GameInjectorProvider.class)
@SuppressWarnings("all")
public class GameParsingTest {
@Inject
private ParseHelper<Jeu> parseHelper;
@Test
public void loadModel() {
try {
StringConcatenation _builder = new StringConcatenation();
_builder.append("Hello Xtext!");
_builder.newLine();
final Jeu result = this.parseHelper.parse(_builder);
Assertions.assertNotNull(result);
final EList<Resource.Diagnostic> errors = result.eResource().getErrors();
boolean _isEmpty = errors.isEmpty();
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("Unexpected errors: ");
String _join = IterableExtensions.join(errors, ", ");
_builder_1.append(_join);
Assertions.assertTrue(_isEmpty, _builder_1.toString());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="test-bin" path="src">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="test-bin" path="src-gen">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="test-bin" path="xtend-gen">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View file

@ -0,0 +1 @@
/test-bin/

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.xtext.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

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11

View file

@ -0,0 +1,18 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.game.xtext.ui.tests
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.game.xtext.ui.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.game.xtext.ui.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: fr.n7.game.xtext.ui,
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.junit,
org.eclipse.core.runtime,
org.eclipse.xtext.ui.testing,
org.eclipse.ui.workbench;resolution:=optional
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: fr.n7.game.xtext.ui.tests;x-internal=true

View file

@ -0,0 +1,6 @@
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/
bin.excludes = **/*.xtend

View file

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

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View file

@ -0,0 +1 @@
/bin/

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.xtext.ui</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

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11

View file

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

View file

@ -0,0 +1,7 @@
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/,\
plugin.xml
bin.excludes = **/*.xtend

View file

@ -0,0 +1,434 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.editors">
<editor
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
default="true"
extensions="game"
id="fr.n7.game.xtext.Game"
name="Game Editor">
</editor>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
<activeWhen>
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</activeWhen>
</handler>
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
commandId="fr.n7.game.xtext.Game.validate">
<activeWhen>
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</activeWhen>
</handler>
<!-- copy qualified name -->
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
<activeWhen>
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened" />
</activeWhen>
</handler>
<handler
class="fr.n7.game.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.xtext.Game.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
</and>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
<definition id="fr.n7.game.xtext.Game.Editor.opened">
<and>
<reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="fr.n7.game.xtext.Game"
forcePluginActivation="true"/>
</with>
</and>
</definition>
<definition id="fr.n7.game.xtext.Game.XtextEditor.opened">
<and>
<reference definitionId="isXtextEditorActive"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="fr.n7.game.xtext.Game"
forcePluginActivation="true"/>
</with>
</and>
</definition>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="fr.n7.game.xtext.Game"
name="Game">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
id="fr.n7.game.xtext.Game.coloring"
name="Syntax Coloring">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
id="fr.n7.game.xtext.Game.templates"
name="Templates">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="fr.n7.game.xtext.Game"
name="Game">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
</page>
</extension>
<extension
point="org.eclipse.ui.keywords">
<keyword
id="fr.n7.game.xtext.ui.keyword_Game"
label="Game"/>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Trigger expensive validation"
id="fr.n7.game.xtext.Game.validate"
name="Validate">
</command>
<!-- copy qualified name -->
<command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
</command>
<command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
<command
commandId="fr.n7.game.xtext.Game.validate"
style="push"
tooltip="Trigger expensive validation">
<visibleWhen checkEnabled="false">
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
<!-- copy qualified name -->
<menuContribution locationURI="popup:#TextEditorContext?after=copy">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:edit?after=copy">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<and>
<reference definitionId="fr.n7.game.xtext.Game.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
<command commandId="org.eclipse.xtext.ui.editor.FindReferences">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
commandId="org.eclipse.xtext.ui.editor.FindReferences">
<activeWhen>
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
file-extensions="game"
id="fr.n7.game.xtext.Game.contenttype"
name="Game File"
priority="normal">
</content-type>
</extension>
<!-- adding resource factories -->
<extension
point="org.eclipse.emf.ecore.extension_parser">
<parser
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
type="game">
</parser>
</extension>
<extension point="org.eclipse.xtext.extension_resourceServiceProvider">
<resourceServiceProvider
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
uriExtension="game">
</resourceServiceProvider>
</extension>
<!-- marker definitions for fr.n7.game.xtext.Game -->
<extension
id="game.check.fast"
name="Game Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.fast"/>
<persistent value="true"/>
</extension>
<extension
id="game.check.normal"
name="Game Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.normal"/>
<persistent value="true"/>
</extension>
<extension
id="game.check.expensive"
name="Game Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.expensive"/>
<persistent value="true"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.validation.ValidatorPreferencePage"
id="fr.n7.game.xtext.Game.validator.preferencePage"
name="Errors/Warnings">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
</extension>
<extension point="org.eclipse.xtext.builder.participant">
<participant
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
fileExtensions="game"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="fr.n7.game.xtext.Game.compiler.preferencePage"
name="Compiler">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="fr.n7.game.xtext.Game.compiler.propertyPage"
name="Compiler">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
</page>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
<command
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
id="fr.n7.game.xtext.Game.OpenGeneratedCode"
style="push">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
<activeWhen>
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened" />
</activeWhen>
</handler>
</extension>
<!-- Quick Outline -->
<extension
point="org.eclipse.ui.handlers">
<handler
class="fr.n7.game.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.xtext.Game.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Open the quick outline."
id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
name="Quick Outline">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.open">
<command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
style="push"
tooltip="Open Quick Outline">
<visibleWhen checkEnabled="false">
<reference definitionId="fr.n7.game.xtext.Game.Editor.opened"/>
</visibleWhen>
</command>
</menuContribution>
</extension>
<!-- quickfix marker resolution generator for fr.n7.game.xtext.Game -->
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.game.xtext.ui.game.check.fast">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
<markerResolutionGenerator
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.game.xtext.ui.game.check.normal">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
<markerResolutionGenerator
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="fr.n7.game.xtext.ui.game.check.expensive">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
</extension>
<!-- Rename Refactoring -->
<extension point="org.eclipse.ui.handlers">
<handler
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
<activeWhen>
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
<command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
style="push">
<visibleWhen checkEnabled="false">
<reference
definitionId="fr.n7.game.xtext.Game.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="fr.n7.game.xtext.Game"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
id="fr.n7.game.xtext.Game.refactoring"
name="Refactoring">
<keywordReference id="fr.n7.game.xtext.ui.keyword_Game"/>
</page>
</extension>
<extension point="org.eclipse.compare.contentViewers">
<viewer id="fr.n7.game.xtext.Game.compare.contentViewers"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
extensions="game">
</viewer>
<contentTypeBinding
contentTypeId="fr.n7.game.xtext.Game.contenttype"
contentViewerId="fr.n7.game.xtext.Game.compare.contentViewers" />
</extension>
<extension point="org.eclipse.compare.contentMergeViewers">
<viewer id="fr.n7.game.xtext.Game.compare.contentMergeViewers"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
extensions="game" label="Game Compare">
</viewer>
<contentTypeBinding
contentTypeId="fr.n7.game.xtext.Game.contenttype"
contentMergeViewerId="fr.n7.game.xtext.Game.compare.contentMergeViewers" />
</extension>
<extension point="org.eclipse.ui.editors.documentProviders">
<provider id="fr.n7.game.xtext.Game.editors.documentProviders"
class="fr.n7.game.xtext.ui.GameExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
extensions="game">
</provider>
</extension>
<extension point="org.eclipse.team.core.fileTypes">
<fileTypes
extension="game"
type="text">
</fileTypes>
</extension>
</plugin>

View file

@ -0,0 +1,293 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import fr.n7.game.xtext.ide.contentassist.antlr.GameParser;
import fr.n7.game.xtext.ide.contentassist.antlr.PartialGameContentAssistParser;
import fr.n7.game.xtext.ide.contentassist.antlr.internal.InternalGameLexer;
import fr.n7.game.xtext.ui.contentassist.GameProposalProvider;
import fr.n7.game.xtext.ui.labeling.GameDescriptionLabelProvider;
import fr.n7.game.xtext.ui.labeling.GameLabelProvider;
import fr.n7.game.xtext.ui.outline.GameOutlineTreeProvider;
import fr.n7.game.xtext.ui.quickfix.GameQuickfixProvider;
import fr.n7.game.xtext.validation.GameValidatorConfigurationBlock;
import org.eclipse.compare.IViewerCreator;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.xtext.builder.BuilderParticipant;
import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider;
import org.eclipse.xtext.builder.IXtextBuilderParticipant;
import org.eclipse.xtext.builder.builderState.IBuilderState;
import org.eclipse.xtext.builder.clustering.CurrentDescriptions;
import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource;
import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback;
import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess;
import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider;
import org.eclipse.xtext.ide.LexerIdeBindings;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.resource.IResourceDescriptions;
import org.eclipse.xtext.resource.containers.IAllContainersState;
import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider;
import org.eclipse.xtext.service.SingletonBinding;
import org.eclipse.xtext.ui.DefaultUiModule;
import org.eclipse.xtext.ui.UIBindings;
import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator;
import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory;
import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory;
import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage;
import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration;
import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar;
import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry;
import org.eclipse.xtext.ui.compare.DefaultViewerCreator;
import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource;
import org.eclipse.xtext.ui.editor.IXtextEditorCallback;
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher;
import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider;
import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper;
import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher;
import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper;
import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory;
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider;
import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider;
import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer;
import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider;
import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage;
import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator;
import org.eclipse.xtext.ui.refactoring.IReferenceUpdater;
import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider;
import org.eclipse.xtext.ui.refactoring.IRenameStrategy;
import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator;
import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater;
import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider;
import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy;
import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport;
import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport;
import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences;
import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider;
import org.eclipse.xtext.ui.shared.Access;
import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
/**
* Manual modifications go to {@link GameUiModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractGameUiModule extends DefaultUiModule {
public AbstractGameUiModule(AbstractUIPlugin plugin) {
super(plugin);
}
// contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment
public Provider<? extends IAllContainersState> provideIAllContainersState() {
return Access.getJavaProjectsState();
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
return AntlrProposalConflictHelper.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureContentAssistLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
.to(InternalGameLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureHighlightingLexer(Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
.to(fr.n7.game.xtext.parser.antlr.internal.InternalGameLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureHighlightingTokenDefProvider(Binder binder) {
binder.bind(ITokenDefProvider.class)
.annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
.to(AntlrTokenDefProvider.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
return DelegatingContentAssistContextFactory.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
return GameParser.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureContentAssistLexerProvider(Binder binder) {
binder.bind(InternalGameLexer.class).toProvider(LexerProvider.create(InternalGameLexer.class));
}
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
public Class<? extends AbstractValidatorConfigurationBlock> bindAbstractValidatorConfigurationBlock() {
return GameValidatorConfigurationBlock.class;
}
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class<? extends PrefixMatcher> bindPrefixMatcher() {
return FQNPrefixMatcher.class;
}
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class<? extends IDependentElementsCalculator> bindIDependentElementsCalculator() {
return DefaultDependentElementsCalculator.class;
}
// contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
public void configureIResourceDescriptionsBuilderScope(Binder binder) {
binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class);
}
// contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
return NatureAddingEditorCallback.class;
}
// contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
return EclipseOutputConfigurationProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
public void configureIResourceDescriptionsPersisted(Binder binder) {
binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class);
}
// contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
return PersistentDataAwareDirtyResource.class;
}
// contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
public Class<? extends IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
return BuilderParticipant.class;
}
// contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
public IWorkspaceRoot bindIWorkspaceRootToInstance() {
return ResourcesPlugin.getWorkspace().getRoot();
}
// contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
public void configureBuilderPreferenceStoreInitializer(Binder binder) {
binder.bind(IPreferenceStoreInitializer.class)
.annotatedWith(Names.named("builderPreferenceInitializer"))
.to(BuilderPreferenceAccess.Initializer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
public Class<? extends ILabelProvider> bindILabelProvider() {
return GameLabelProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
public void configureResourceUIServiceLabelProvider(Binder binder) {
binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(GameDescriptionLabelProvider.class);
}
// contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return GameOutlineTreeProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
return GameOutlineTreeProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2
public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() {
return GameQuickfixProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2
public Class<? extends IContentProposalProvider> bindIContentProposalProvider() {
return GameProposalProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public void configureIPreferenceStoreInitializer(Binder binder) {
binder.bind(IPreferenceStoreInitializer.class)
.annotatedWith(Names.named("RefactoringPreferences"))
.to(RefactoringPreferences.Initializer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameStrategy> bindIRenameStrategy() {
return DefaultRenameStrategy.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IReferenceUpdater> bindIReferenceUpdater() {
return DefaultReferenceUpdater.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
return DefaultRenameRefactoringProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameSupport.Factory> bindIRenameSupport$Factory() {
return DefaultRenameSupport.Factory.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
public Provider<? extends TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
public Provider<? extends LanguageRegistry> provideLanguageRegistry() {
return AccessibleCodetemplatesActivator.getLanguageRegistry();
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
return LanguageRegistrar.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
public Class<? extends XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
return AdvancedTemplatesPreferencePage.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() {
return PartialGameContentAssistParser.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
public Class<? extends IPartialEditingContentAssistContextFactory> bindIPartialEditingContentAssistContextFactory() {
return PartialEditingContentAssistContextFactory.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2
public Class<? extends IViewerCreator> bindIViewerCreator() {
return DefaultViewerCreator.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2
public void configureCompareViewerTitle(Binder binder) {
binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("Game Compare");
}
}

View file

@ -0,0 +1,29 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui;
import com.google.inject.Injector;
import fr.n7.game.xtext.ui.internal.XtextActivator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
import org.osgi.framework.Bundle;
/**
* This class was generated. Customizations should only happen in a newly
* introduced subclass.
*/
public class GameExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
@Override
protected Bundle getBundle() {
return Platform.getBundle(XtextActivator.PLUGIN_ID);
}
@Override
protected Injector getInjector() {
XtextActivator activator = XtextActivator.getInstance();
return activator != null ? activator.getInjector(XtextActivator.FR_N7_GAME_XTEXT_GAME) : null;
}
}

View file

@ -0,0 +1,270 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.contentassist;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
/**
* Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}.
* Methods are dynamically dispatched on the first parameter, i.e., you can override them
* with a more concrete subtype.
*/
public abstract class AbstractGameProposalProvider extends TerminalsProposalProvider {
public void completeJeu_Explorateur(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeJeu_Territoire(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeJeu_Objets(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeJeu_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeJeu_Personnes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeJeu_Transformations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeExplorateur_TailleInventaire(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeExplorateur_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeExplorateur_Objets(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTerritoire_Lieux(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTerritoire_Chemins(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Nom(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Deposable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Depart(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Fin(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Personnes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Descriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Objets(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLieu_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_LieuIn(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_LieuOut(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_Ouvert(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_Obligatoire(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_ObjetsRecus(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_ObjetsConso(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeChemin_Descriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeObjet_Nom(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeObjet_Taille(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeObjet_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeObjet_Descriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTransformation_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTransformation_ObjetsIn(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeTransformation_ObjetsOut(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConnaissance_Nom(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConnaissance_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConnaissance_Descriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completePersonne_Nom(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completePersonne_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completePersonne_Obligatoire(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completePersonne_Interactions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInteraction_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInteraction_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInteraction_ObjetsRecus(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInteraction_ObjetsConso(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInteraction_Actions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_Visible(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_FinInteraction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_Connaissances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_ObjetsRecus(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_ObjetsConso(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeAction_Descriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDescription_Texte(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDescription_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeCondition_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConditionEt_ConditionTest(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConditionConnaissance_Connaissance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeNOTConditionConnaissance_Connaissance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConditionObjet_Objet(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConditionObjet_Comparateur(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeConditionObjet_Nombre(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeNom_Nom(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void complete_Jeu(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Explorateur(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Territoire(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Lieu(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Chemin(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Objet(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Transformation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Connaissance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Personne(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Interaction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Action(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Description(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Condition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ConditionEt(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ConditionTest(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ConditionConnaissance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_NOTConditionConnaissance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ConditionObjet(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Comparateur(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Nom(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
}

View file

@ -0,0 +1,94 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.internal;
import com.google.common.collect.Maps;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.game.xtext.GameRuntimeModule;
import fr.n7.game.xtext.ui.GameUiModule;
import java.util.Collections;
import java.util.Map;
import org.apache.log4j.Logger;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.xtext.ui.shared.SharedStateModule;
import org.eclipse.xtext.util.Modules2;
import org.osgi.framework.BundleContext;
/**
* This class was generated. Customizations should only happen in a newly
* introduced subclass.
*/
public class XtextActivator extends AbstractUIPlugin {
public static final String PLUGIN_ID = "fr.n7.game.xtext.ui";
public static final String FR_N7_GAME_XTEXT_GAME = "fr.n7.game.xtext.Game";
private static final Logger logger = Logger.getLogger(XtextActivator.class);
private static XtextActivator INSTANCE;
private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1));
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
INSTANCE = this;
}
@Override
public void stop(BundleContext context) throws Exception {
injectors.clear();
INSTANCE = null;
super.stop(context);
}
public static XtextActivator getInstance() {
return INSTANCE;
}
public Injector getInjector(String language) {
synchronized (injectors) {
Injector injector = injectors.get(language);
if (injector == null) {
injectors.put(language, injector = createInjector(language));
}
return injector;
}
}
protected Injector createInjector(String language) {
try {
com.google.inject.Module runtimeModule = getRuntimeModule(language);
com.google.inject.Module sharedStateModule = getSharedStateModule();
com.google.inject.Module uiModule = getUiModule(language);
com.google.inject.Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule);
return Guice.createInjector(mergedModule);
} catch (Exception e) {
logger.error("Failed to create injector for " + language);
logger.error(e.getMessage(), e);
throw new RuntimeException("Failed to create injector for " + language, e);
}
}
protected com.google.inject.Module getRuntimeModule(String grammar) {
if (FR_N7_GAME_XTEXT_GAME.equals(grammar)) {
return new GameRuntimeModule();
}
throw new IllegalArgumentException(grammar);
}
protected com.google.inject.Module getUiModule(String grammar) {
if (FR_N7_GAME_XTEXT_GAME.equals(grammar)) {
return new GameUiModule(this);
}
throw new IllegalArgumentException(grammar);
}
protected com.google.inject.Module getSharedStateModule() {
return new SharedStateModule();
}
}

View file

@ -0,0 +1,35 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.validation;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
@SuppressWarnings("restriction")
public class GameValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock {
protected static final String SETTINGS_SECTION_NAME = "Game";
@Override
protected void fillSettingsPage(Composite composite, int nColumns, int defaultIndent) {
addComboBox(GameConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent);
}
@Override
public void dispose() {
storeSectionExpansionStates(getDialogSettings());
super.dispose();
}
@Override
protected IDialogSettings getDialogSettings() {
IDialogSettings dialogSettings = super.getDialogSettings();
IDialogSettings section = dialogSettings.getSection(SETTINGS_SECTION_NAME);
if (section == null) {
return dialogSettings.addNewSection(SETTINGS_SECTION_NAME);
}
return section;
}
}

View file

@ -0,0 +1,16 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Use this class to register components to be used within the Eclipse IDE.
*/
public class GameUiModule extends AbstractGameUiModule {
public GameUiModule(AbstractUIPlugin plugin) {
super(plugin);
}
}

View file

@ -0,0 +1,12 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.contentassist;
/**
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#content-assist
* on how to customize the content assistant.
*/
public class GameProposalProvider extends AbstractGameProposalProvider {
}

View file

@ -0,0 +1,25 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
/**
* Provides labels for IEObjectDescriptions and IResourceDescriptions.
*
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#label-provider
*/
public class GameDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
// Labels and icons can be computed like this:
// @Override
// public String text(IEObjectDescription ele) {
// return ele.getName().toString();
// }
//
// @Override
// public String image(IEObjectDescription ele) {
// return ele.getEClass().getName() + ".gif";
// }
}

View file

@ -0,0 +1,31 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.labeling;
import com.google.inject.Inject;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
/**
* Provides labels for EObjects.
*
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#label-provider
*/
public class GameLabelProvider extends DefaultEObjectLabelProvider {
@Inject
public GameLabelProvider(AdapterFactoryLabelProvider delegate) {
super(delegate);
}
// Labels and icons can be computed like this:
// String text(Greeting ele) {
// return "A greeting to " + ele.getName();
// }
//
// String image(Greeting ele) {
// return "Greeting.gif";
// }
}

View file

@ -0,0 +1,15 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
/**
* Customization of the default outline structure.
*
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline
*/
public class GameOutlineTreeProvider extends DefaultOutlineTreeProvider {
}

View file

@ -0,0 +1,26 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.game.xtext.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
/**
* Custom quickfixes.
*
* See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes
*/
public class GameQuickfixProvider extends DefaultQuickfixProvider {
// @Fix(GameValidator.INVALID_NAME)
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) {
// acceptor.accept(issue, "Capitalize name", "Capitalize the name.", "upcase.png", new IModification() {
// public void apply(IModificationContext context) throws BadLocationException {
// IXtextDocument xtextDocument = context.getXtextDocument();
// String firstLetter = xtextDocument.get(issue.getOffset(), 1);
// xtextDocument.replace(issue.getOffset(), 1, firstLetter.toUpperCase());
// }
// });
// }
}

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>

1
workspace/fr.n7.game.xtext/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/bin/

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.xtext.game"/>
<listEntry value="/fr.n7.game.xtext"/>
</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.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.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.xtext&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.ide&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.ui&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.ui.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/fr.n7.game.xtext.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.xtext.GenerateGAME"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="fr.n7.xtext.game"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="fr.n7.game.xtext.GenerateGame"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="fr.n7.game.xtext"/>
<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.xtext.game/.launch/"/>
<stringAttribute key="bad_container_name" value="/fr.n7.game.xtext/.launch/"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
<booleanAttribute key="clearConfig" value="true"/>

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.n7.game.xtext</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

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11

View file

@ -1,10 +1,10 @@
Manifest-Version: 1.0
Automatic-Module-Name: fr.n7.xtext.game
Automatic-Module-Name: fr.n7.game.xtext
Bundle-ManifestVersion: 2
Bundle-Name: fr.n7.xtext.game
Bundle-Name: fr.n7.game.xtext
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: fr.n7.xtext.game; singleton:=true
Bundle-SymbolicName: fr.n7.game.xtext; 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.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
Export-Package: fr.n7.game.xtext,
fr.n7.game.xtext.parser.antlr,
fr.n7.game.xtext.validation,
fr.n7.game.xtext.game.util,
fr.n7.game.xtext.serializer,
fr.n7.game.xtext.parser.antlr.internal,
fr.n7.game.xtext.services,
fr.n7.game.xtext.scoping,
fr.n7.game.xtext.generator,
fr.n7.game.xtext.game,
fr.n7.game.xtext.game.impl
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/xtext/GAME" nsPrefix="gAME">
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="game" nsURI="http://www.n7.fr/game/xtext/Game" nsPrefix="game">
<eClassifiers xsi:type="ecore:EClass" name="Jeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
containment="true"/>

View file

@ -0,0 +1,110 @@
<?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.xtext/src-gen"
modelPluginID="fr.n7.game.xtext" 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.game.xtext" disposableProviderFactory="true"
fileExtensions="game" ecorePackage="Game.ecore#/">
<genClasses ecoreClass="Game.ecore#//Jeu">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/explorateur"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/territoire"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/objets"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/connaissances"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/personnes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Jeu/transformations"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Explorateur">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Explorateur/tailleInventaire"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Explorateur/connaissances"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Explorateur/objets"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Territoire">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Territoire/lieux"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Territoire/chemins"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Lieu">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/nom"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/deposable"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/depart"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/fin"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/personnes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/descriptions"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/objets"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Lieu/connaissances"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Chemin">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/lieuIn"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/lieuOut"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/ouvert"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/obligatoire"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/connaissances"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/objetsRecus"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/objetsConso"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Chemin/descriptions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Objet">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Objet/nom"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Objet/taille"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Objet/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Objet/descriptions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Transformation">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Transformation/condition"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Transformation/objetsIn"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Transformation/objetsOut"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Connaissance">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Connaissance/nom"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Connaissance/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Connaissance/descriptions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Personne">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/nom"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/obligatoire"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Personne/interactions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Interaction">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/connaissances"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/objetsRecus"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/objetsConso"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Interaction/actions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Action">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/visible"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/finInteraction"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/connaissances"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/objetsRecus"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/objetsConso"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Action/descriptions"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Description">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Description/texte"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Description/condition"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Condition">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//Condition/condition"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//ConditionEt">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//ConditionEt/conditionTest"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//ConditionTest"/>
<genClasses ecoreClass="Game.ecore#//ConditionConnaissance">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//ConditionConnaissance/connaissance"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//NOTConditionConnaissance">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//NOTConditionConnaissance/connaissance"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//ConditionObjet">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Game.ecore#//ConditionObjet/objet"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionObjet/comparateur"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//ConditionObjet/nombre"/>
</genClasses>
<genClasses ecoreClass="Game.ecore#//Nom">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Game.ecore#//Nom/nom"/>
</genClasses>
</genPackages>
</genmodel:GenModel>

View file

@ -3,8 +3,8 @@
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http://www.n7.fr/xtext/GAME"
class = "fr.n7.xtext.gAME.GAMEPackage"
genModel = "model/generated/GAME.genmodel" />
uri = "http://www.n7.fr/game/xtext/Game"
class = "fr.n7.game.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.xtext;
package fr.n7.game.xtext;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
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 fr.n7.game.xtext.generator.GameGenerator;
import fr.n7.game.xtext.parser.antlr.GameAntlrTokenFileProvider;
import fr.n7.game.xtext.parser.antlr.GameParser;
import fr.n7.game.xtext.parser.antlr.internal.InternalGameLexer;
import fr.n7.game.xtext.scoping.GameScopeProvider;
import fr.n7.game.xtext.serializer.GameSemanticSequencer;
import fr.n7.game.xtext.serializer.GameSyntacticSequencer;
import fr.n7.game.xtext.services.GameGrammarAccess;
import fr.n7.game.xtext.validation.GameConfigurableIssueCodesProvider;
import fr.n7.game.xtext.validation.GameValidator;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
@ -53,21 +53,21 @@ import org.eclipse.xtext.service.SingletonBinding;
import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
/**
* Manual modifications go to {@link GAMERuntimeModule}.
* Manual modifications go to {@link GameRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
public abstract class AbstractGameRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@Override
public void configure(Binder binder) {
properties = tryBindProperties(binder, "fr/n7/xtext/GAME.properties");
properties = tryBindProperties(binder, "fr/n7/game/xtext/Game.properties");
super.configure(binder);
}
public void configureLanguageName(Binder binder) {
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("fr.n7.xtext.GAME");
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("fr.n7.game.xtext.Game");
}
public void configureFileExtensions(Binder binder) {
@ -82,17 +82,17 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return GAMEGrammarAccess.class;
return GameGrammarAccess.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return GAMESemanticSequencer.class;
return GameSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return GAMESyntacticSequencer.class;
return GameSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
@ -102,7 +102,7 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return GAMEParser.class;
return GameParser.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
@ -112,12 +112,12 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return GAMEAntlrTokenFileProvider.class;
return GameAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalGAMELexer.class;
return InternalGameLexer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
@ -126,31 +126,31 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<? extends InternalGAMELexer> provideInternalGAMELexer() {
return LexerProvider.create(InternalGAMELexer.class);
public Provider<? extends InternalGameLexer> provideInternalGameLexer() {
return LexerProvider.create(InternalGameLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalGAMELexer.class);
.to(InternalGameLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
@SingletonBinding(eager=true)
public Class<? extends GAMEValidator> bindGAMEValidator() {
return GAMEValidator.class;
public Class<? extends GameValidator> bindGameValidator() {
return GameValidator.class;
}
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
public Class<? extends ConfigurableIssueCodesProvider> bindConfigurableIssueCodesProvider() {
return GAMEConfigurableIssueCodesProvider.class;
return GameConfigurableIssueCodesProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
public Class<? extends IScopeProvider> bindIScopeProvider() {
return GAMEScopeProvider.class;
return GameScopeProvider.class;
}
// contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
@ -195,7 +195,7 @@ public abstract class AbstractGAMERuntimeModule extends DefaultRuntimeModule {
// contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
public Class<? extends IGenerator2> bindIGenerator2() {
return GAMEGenerator.class;
return GameGenerator.class;
}
}

View file

@ -1,11 +1,11 @@
/*
* generated by Xtext 2.23.0
*/
package fr.n7.xtext;
package fr.n7.game.xtext;
import com.google.inject.Guice;
import com.google.inject.Injector;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.game.xtext.game.GamePackage;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
@ -14,7 +14,7 @@ import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
@SuppressWarnings("all")
public class GAMEStandaloneSetupGenerated implements ISetup {
public class GameStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
@ -26,12 +26,12 @@ public class GAMEStandaloneSetupGenerated implements ISetup {
}
public Injector createInjector() {
return Guice.createInjector(new GAMERuntimeModule());
return Guice.createInjector(new GameRuntimeModule());
}
public void register(Injector injector) {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.n7.fr/xtext/GAME")) {
EPackage.Registry.INSTANCE.put("http://www.n7.fr/xtext/GAME", GAMEPackage.eINSTANCE);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.n7.fr/game/xtext/Game")) {
EPackage.Registry.INSTANCE.put("http://www.n7.fr/game/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.xtext.gAME;
package fr.n7.game.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.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>
* <li>{@link fr.n7.game.xtext.game.Action#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Action#getFinInteraction <em>Fin Interaction</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Action#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Action#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Action#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Action#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @see fr.n7.xtext.gAME.GAMEPackage#getAction()
* @see fr.n7.game.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.xtext.gAME.GAMEPackage#getAction_Visible()
* @see fr.n7.game.xtext.game.GamePackage#getAction_Visible()
* @model containment="true"
* @generated
*/
Condition getVisible();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Action#getVisible <em>Visible</em>}' containment reference.
* Sets the value of the '{@link fr.n7.game.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.xtext.gAME.GAMEPackage#getAction_FinInteraction()
* @see fr.n7.game.xtext.game.GamePackage#getAction_FinInteraction()
* @model containment="true"
* @generated
*/
Condition getFinInteraction();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Action#getFinInteraction <em>Fin Interaction</em>}' containment reference.
* Sets the value of the '{@link fr.n7.game.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.
@ -76,11 +76,11 @@ public interface Action extends EObject
/**
* Returns the value of the '<em><b>Connaissances</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Connaissances</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_Connaissances()
* @see fr.n7.game.xtext.game.GamePackage#getAction_Connaissances()
* @model containment="true"
* @generated
*/
@ -88,11 +88,11 @@ public interface Action extends EObject
/**
* Returns the value of the '<em><b>Objets Recus</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets Recus</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_ObjetsRecus()
* @see fr.n7.game.xtext.game.GamePackage#getAction_ObjetsRecus()
* @model containment="true"
* @generated
*/
@ -100,11 +100,11 @@ public interface Action extends EObject
/**
* Returns the value of the '<em><b>Objets Conso</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets Conso</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_ObjetsConso()
* @see fr.n7.game.xtext.game.GamePackage#getAction_ObjetsConso()
* @model containment="true"
* @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.xtext.gAME.Description}.
* The list contents are of type {@link fr.n7.game.xtext.game.Description}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getAction_Descriptions()
* @see fr.n7.game.xtext.game.GamePackage#getAction_Descriptions()
* @model containment="true"
* @generated
*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME;
package fr.n7.game.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.xtext.gAME.Description#getTexte <em>Texte</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Description#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Description#getTexte <em>Texte</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Description#getCondition <em>Condition</em>}</li>
* </ul>
*
* @see fr.n7.xtext.gAME.GAMEPackage#getDescription()
* @see fr.n7.game.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.xtext.gAME.GAMEPackage#getDescription_Texte()
* @see fr.n7.game.xtext.game.GamePackage#getDescription_Texte()
* @model
* @generated
*/
String getTexte();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Description#getTexte <em>Texte</em>}' attribute.
* Sets the value of the '{@link fr.n7.game.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.xtext.gAME.GAMEPackage#getDescription_Condition()
* @see fr.n7.game.xtext.game.GamePackage#getDescription_Condition()
* @model containment="true"
* @generated
*/
Condition getCondition();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Description#getCondition <em>Condition</em>}' containment reference.
* Sets the value of the '{@link fr.n7.game.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.xtext.gAME;
package fr.n7.game.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.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>
* <li>{@link fr.n7.game.xtext.game.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Explorateur#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Explorateur#getObjets <em>Objets</em>}</li>
* </ul>
*
* @see fr.n7.xtext.gAME.GAMEPackage#getExplorateur()
* @see fr.n7.game.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.xtext.gAME.GAMEPackage#getExplorateur_TailleInventaire()
* @see fr.n7.game.xtext.game.GamePackage#getExplorateur_TailleInventaire()
* @model
* @generated
*/
int getTailleInventaire();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Explorateur#getTailleInventaire <em>Taille Inventaire</em>}' attribute.
* Sets the value of the '{@link fr.n7.game.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.
@ -51,11 +51,11 @@ public interface Explorateur extends EObject
/**
* Returns the value of the '<em><b>Connaissances</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Connaissances</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getExplorateur_Connaissances()
* @see fr.n7.game.xtext.game.GamePackage#getExplorateur_Connaissances()
* @model containment="true"
* @generated
*/
@ -63,11 +63,11 @@ public interface Explorateur extends EObject
/**
* Returns the value of the '<em><b>Objets</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getExplorateur_Objets()
* @see fr.n7.game.xtext.game.GamePackage#getExplorateur_Objets()
* @model containment="true"
* @generated
*/

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME;
package fr.n7.game.xtext.game;
import org.eclipse.emf.ecore.EFactory;
@ -10,10 +10,10 @@ 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.xtext.gAME.GAMEPackage
* @see fr.n7.game.xtext.game.GamePackage
* @generated
*/
public interface GAMEFactory extends EFactory
public interface GameFactory extends EFactory
{
/**
* The singleton instance of the factory.
@ -21,7 +21,7 @@ public interface GAMEFactory extends EFactory
* <!-- end-user-doc -->
* @generated
*/
GAMEFactory eINSTANCE = fr.n7.xtext.gAME.impl.GAMEFactoryImpl.init();
GameFactory eINSTANCE = fr.n7.game.xtext.game.impl.GameFactoryImpl.init();
/**
* Returns a new object of class '<em>Jeu</em>'.
@ -201,6 +201,6 @@ public interface GAMEFactory extends EFactory
* @return the package supported by this factory.
* @generated
*/
GAMEPackage getGAMEPackage();
GamePackage getGamePackage();
} //GAMEFactory
} //GameFactory

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME;
package fr.n7.game.xtext.game;
import org.eclipse.emf.ecore.EObject;
@ -14,10 +14,10 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.Nom#getNom <em>Nom</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Nom#getNom <em>Nom</em>}</li>
* </ul>
*
* @see fr.n7.xtext.gAME.GAMEPackage#getNom()
* @see fr.n7.game.xtext.game.GamePackage#getNom()
* @model
* @generated
*/
@ -29,14 +29,14 @@ public interface Nom extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Nom</em>' attribute.
* @see #setNom(String)
* @see fr.n7.xtext.gAME.GAMEPackage#getNom_Nom()
* @see fr.n7.game.xtext.game.GamePackage#getNom_Nom()
* @model
* @generated
*/
String getNom();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Nom#getNom <em>Nom</em>}' attribute.
* Sets the value of the '{@link fr.n7.game.xtext.game.Nom#getNom <em>Nom</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Nom</em>' attribute.

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME;
package fr.n7.game.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.xtext.gAME.Transformation#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Transformation#getObjetsIn <em>Objets In</em>}</li>
* <li>{@link fr.n7.xtext.gAME.Transformation#getObjetsOut <em>Objets Out</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Transformation#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Transformation#getObjetsIn <em>Objets In</em>}</li>
* <li>{@link fr.n7.game.xtext.game.Transformation#getObjetsOut <em>Objets Out</em>}</li>
* </ul>
*
* @see fr.n7.xtext.gAME.GAMEPackage#getTransformation()
* @see fr.n7.game.xtext.game.GamePackage#getTransformation()
* @model
* @generated
*/
@ -33,14 +33,14 @@ public interface Transformation extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Condition</em>' containment reference.
* @see #setCondition(Condition)
* @see fr.n7.xtext.gAME.GAMEPackage#getTransformation_Condition()
* @see fr.n7.game.xtext.game.GamePackage#getTransformation_Condition()
* @model containment="true"
* @generated
*/
Condition getCondition();
/**
* Sets the value of the '{@link fr.n7.xtext.gAME.Transformation#getCondition <em>Condition</em>}' containment reference.
* Sets the value of the '{@link fr.n7.game.xtext.game.Transformation#getCondition <em>Condition</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Condition</em>' containment reference.
@ -51,11 +51,11 @@ public interface Transformation extends EObject
/**
* Returns the value of the '<em><b>Objets In</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets In</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getTransformation_ObjetsIn()
* @see fr.n7.game.xtext.game.GamePackage#getTransformation_ObjetsIn()
* @model containment="true"
* @generated
*/
@ -63,11 +63,11 @@ public interface Transformation extends EObject
/**
* Returns the value of the '<em><b>Objets Out</b></em>' containment reference list.
* The list contents are of type {@link fr.n7.xtext.gAME.Nom}.
* The list contents are of type {@link fr.n7.game.xtext.game.Nom}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Objets Out</em>' containment reference list.
* @see fr.n7.xtext.gAME.GAMEPackage#getTransformation_ObjetsOut()
* @see fr.n7.game.xtext.game.GamePackage#getTransformation_ObjetsOut()
* @model containment="true"
* @generated
*/

View file

@ -1,13 +1,13 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.Action;
import fr.n7.xtext.gAME.Condition;
import fr.n7.xtext.gAME.Description;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.xtext.gAME.Nom;
import fr.n7.game.xtext.game.Action;
import fr.n7.game.xtext.game.Condition;
import fr.n7.game.xtext.game.Description;
import fr.n7.game.xtext.game.GamePackage;
import fr.n7.game.xtext.game.Nom;
import java.util.Collection;
@ -33,12 +33,12 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getFinInteraction <em>Fin Interaction</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ActionImpl#getDescriptions <em>Descriptions</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getFinInteraction <em>Fin Interaction</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ActionImpl#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @generated
@ -123,7 +123,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.ACTION;
return GamePackage.Literals.ACTION;
}
/**
@ -148,7 +148,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
visible = newVisible;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.ACTION__VISIBLE, oldVisible, newVisible);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.ACTION__VISIBLE, oldVisible, newVisible);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -166,14 +166,14 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
NotificationChain msgs = null;
if (visible != null)
msgs = ((InternalEObject)visible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.ACTION__VISIBLE, null, msgs);
msgs = ((InternalEObject)visible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.ACTION__VISIBLE, null, msgs);
if (newVisible != null)
msgs = ((InternalEObject)newVisible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.ACTION__VISIBLE, null, msgs);
msgs = ((InternalEObject)newVisible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.ACTION__VISIBLE, null, msgs);
msgs = basicSetVisible(newVisible, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.ACTION__VISIBLE, newVisible, newVisible));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.ACTION__VISIBLE, newVisible, newVisible));
}
/**
@ -198,7 +198,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
finInteraction = newFinInteraction;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.ACTION__FIN_INTERACTION, oldFinInteraction, newFinInteraction);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.ACTION__FIN_INTERACTION, oldFinInteraction, newFinInteraction);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -216,14 +216,14 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
NotificationChain msgs = null;
if (finInteraction != null)
msgs = ((InternalEObject)finInteraction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.ACTION__FIN_INTERACTION, null, msgs);
msgs = ((InternalEObject)finInteraction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.ACTION__FIN_INTERACTION, null, msgs);
if (newFinInteraction != null)
msgs = ((InternalEObject)newFinInteraction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.ACTION__FIN_INTERACTION, null, msgs);
msgs = ((InternalEObject)newFinInteraction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.ACTION__FIN_INTERACTION, null, msgs);
msgs = basicSetFinInteraction(newFinInteraction, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.ACTION__FIN_INTERACTION, newFinInteraction, newFinInteraction));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.ACTION__FIN_INTERACTION, newFinInteraction, newFinInteraction));
}
/**
@ -236,7 +236,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
if (connaissances == null)
{
connaissances = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.ACTION__CONNAISSANCES);
connaissances = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.ACTION__CONNAISSANCES);
}
return connaissances;
}
@ -251,7 +251,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
if (objetsRecus == null)
{
objetsRecus = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.ACTION__OBJETS_RECUS);
objetsRecus = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.ACTION__OBJETS_RECUS);
}
return objetsRecus;
}
@ -266,7 +266,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
if (objetsConso == null)
{
objetsConso = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.ACTION__OBJETS_CONSO);
objetsConso = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.ACTION__OBJETS_CONSO);
}
return objetsConso;
}
@ -281,7 +281,7 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
if (descriptions == null)
{
descriptions = new EObjectContainmentEList<Description>(Description.class, this, GAMEPackage.ACTION__DESCRIPTIONS);
descriptions = new EObjectContainmentEList<Description>(Description.class, this, GamePackage.ACTION__DESCRIPTIONS);
}
return descriptions;
}
@ -296,17 +296,17 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
switch (featureID)
{
case GAMEPackage.ACTION__VISIBLE:
case GamePackage.ACTION__VISIBLE:
return basicSetVisible(null, msgs);
case GAMEPackage.ACTION__FIN_INTERACTION:
case GamePackage.ACTION__FIN_INTERACTION:
return basicSetFinInteraction(null, msgs);
case GAMEPackage.ACTION__CONNAISSANCES:
case GamePackage.ACTION__CONNAISSANCES:
return ((InternalEList<?>)getConnaissances()).basicRemove(otherEnd, msgs);
case GAMEPackage.ACTION__OBJETS_RECUS:
case GamePackage.ACTION__OBJETS_RECUS:
return ((InternalEList<?>)getObjetsRecus()).basicRemove(otherEnd, msgs);
case GAMEPackage.ACTION__OBJETS_CONSO:
case GamePackage.ACTION__OBJETS_CONSO:
return ((InternalEList<?>)getObjetsConso()).basicRemove(otherEnd, msgs);
case GAMEPackage.ACTION__DESCRIPTIONS:
case GamePackage.ACTION__DESCRIPTIONS:
return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -322,17 +322,17 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
switch (featureID)
{
case GAMEPackage.ACTION__VISIBLE:
case GamePackage.ACTION__VISIBLE:
return getVisible();
case GAMEPackage.ACTION__FIN_INTERACTION:
case GamePackage.ACTION__FIN_INTERACTION:
return getFinInteraction();
case GAMEPackage.ACTION__CONNAISSANCES:
case GamePackage.ACTION__CONNAISSANCES:
return getConnaissances();
case GAMEPackage.ACTION__OBJETS_RECUS:
case GamePackage.ACTION__OBJETS_RECUS:
return getObjetsRecus();
case GAMEPackage.ACTION__OBJETS_CONSO:
case GamePackage.ACTION__OBJETS_CONSO:
return getObjetsConso();
case GAMEPackage.ACTION__DESCRIPTIONS:
case GamePackage.ACTION__DESCRIPTIONS:
return getDescriptions();
}
return super.eGet(featureID, resolve, coreType);
@ -349,25 +349,25 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
switch (featureID)
{
case GAMEPackage.ACTION__VISIBLE:
case GamePackage.ACTION__VISIBLE:
setVisible((Condition)newValue);
return;
case GAMEPackage.ACTION__FIN_INTERACTION:
case GamePackage.ACTION__FIN_INTERACTION:
setFinInteraction((Condition)newValue);
return;
case GAMEPackage.ACTION__CONNAISSANCES:
case GamePackage.ACTION__CONNAISSANCES:
getConnaissances().clear();
getConnaissances().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.ACTION__OBJETS_RECUS:
case GamePackage.ACTION__OBJETS_RECUS:
getObjetsRecus().clear();
getObjetsRecus().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.ACTION__OBJETS_CONSO:
case GamePackage.ACTION__OBJETS_CONSO:
getObjetsConso().clear();
getObjetsConso().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.ACTION__DESCRIPTIONS:
case GamePackage.ACTION__DESCRIPTIONS:
getDescriptions().clear();
getDescriptions().addAll((Collection<? extends Description>)newValue);
return;
@ -385,22 +385,22 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
switch (featureID)
{
case GAMEPackage.ACTION__VISIBLE:
case GamePackage.ACTION__VISIBLE:
setVisible((Condition)null);
return;
case GAMEPackage.ACTION__FIN_INTERACTION:
case GamePackage.ACTION__FIN_INTERACTION:
setFinInteraction((Condition)null);
return;
case GAMEPackage.ACTION__CONNAISSANCES:
case GamePackage.ACTION__CONNAISSANCES:
getConnaissances().clear();
return;
case GAMEPackage.ACTION__OBJETS_RECUS:
case GamePackage.ACTION__OBJETS_RECUS:
getObjetsRecus().clear();
return;
case GAMEPackage.ACTION__OBJETS_CONSO:
case GamePackage.ACTION__OBJETS_CONSO:
getObjetsConso().clear();
return;
case GAMEPackage.ACTION__DESCRIPTIONS:
case GamePackage.ACTION__DESCRIPTIONS:
getDescriptions().clear();
return;
}
@ -417,17 +417,17 @@ public class ActionImpl extends MinimalEObjectImpl.Container implements Action
{
switch (featureID)
{
case GAMEPackage.ACTION__VISIBLE:
case GamePackage.ACTION__VISIBLE:
return visible != null;
case GAMEPackage.ACTION__FIN_INTERACTION:
case GamePackage.ACTION__FIN_INTERACTION:
return finInteraction != null;
case GAMEPackage.ACTION__CONNAISSANCES:
case GamePackage.ACTION__CONNAISSANCES:
return connaissances != null && !connaissances.isEmpty();
case GAMEPackage.ACTION__OBJETS_RECUS:
case GamePackage.ACTION__OBJETS_RECUS:
return objetsRecus != null && !objetsRecus.isEmpty();
case GAMEPackage.ACTION__OBJETS_CONSO:
case GamePackage.ACTION__OBJETS_CONSO:
return objetsConso != null && !objetsConso.isEmpty();
case GAMEPackage.ACTION__DESCRIPTIONS:
case GamePackage.ACTION__DESCRIPTIONS:
return descriptions != null && !descriptions.isEmpty();
}
return super.eIsSet(featureID);

View file

@ -1,13 +1,13 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.Chemin;
import fr.n7.xtext.gAME.Condition;
import fr.n7.xtext.gAME.Description;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.xtext.gAME.Nom;
import fr.n7.game.xtext.game.Chemin;
import fr.n7.game.xtext.game.Condition;
import fr.n7.game.xtext.game.Description;
import fr.n7.game.xtext.game.GamePackage;
import fr.n7.game.xtext.game.Nom;
import java.util.Collection;
@ -33,15 +33,15 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getLieuIn <em>Lieu In</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getLieuOut <em>Lieu Out</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getOuvert <em>Ouvert</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getObligatoire <em>Obligatoire</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.CheminImpl#getDescriptions <em>Descriptions</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getLieuIn <em>Lieu In</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getLieuOut <em>Lieu Out</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getOuvert <em>Ouvert</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getVisible <em>Visible</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getObligatoire <em>Obligatoire</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getConnaissances <em>Connaissances</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getObjetsRecus <em>Objets Recus</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getObjetsConso <em>Objets Conso</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.CheminImpl#getDescriptions <em>Descriptions</em>}</li>
* </ul>
*
* @generated
@ -156,7 +156,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CHEMIN;
return GamePackage.Literals.CHEMIN;
}
/**
@ -181,7 +181,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
lieuIn = newLieuIn;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__LIEU_IN, oldLieuIn, newLieuIn);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__LIEU_IN, oldLieuIn, newLieuIn);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -199,14 +199,14 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
NotificationChain msgs = null;
if (lieuIn != null)
msgs = ((InternalEObject)lieuIn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__LIEU_IN, null, msgs);
msgs = ((InternalEObject)lieuIn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__LIEU_IN, null, msgs);
if (newLieuIn != null)
msgs = ((InternalEObject)newLieuIn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__LIEU_IN, null, msgs);
msgs = ((InternalEObject)newLieuIn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__LIEU_IN, null, msgs);
msgs = basicSetLieuIn(newLieuIn, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__LIEU_IN, newLieuIn, newLieuIn));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__LIEU_IN, newLieuIn, newLieuIn));
}
/**
@ -231,7 +231,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
lieuOut = newLieuOut;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__LIEU_OUT, oldLieuOut, newLieuOut);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__LIEU_OUT, oldLieuOut, newLieuOut);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -249,14 +249,14 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
NotificationChain msgs = null;
if (lieuOut != null)
msgs = ((InternalEObject)lieuOut).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__LIEU_OUT, null, msgs);
msgs = ((InternalEObject)lieuOut).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__LIEU_OUT, null, msgs);
if (newLieuOut != null)
msgs = ((InternalEObject)newLieuOut).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__LIEU_OUT, null, msgs);
msgs = ((InternalEObject)newLieuOut).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__LIEU_OUT, null, msgs);
msgs = basicSetLieuOut(newLieuOut, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__LIEU_OUT, newLieuOut, newLieuOut));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__LIEU_OUT, newLieuOut, newLieuOut));
}
/**
@ -281,7 +281,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
ouvert = newOuvert;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__OUVERT, oldOuvert, newOuvert);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__OUVERT, oldOuvert, newOuvert);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -299,14 +299,14 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
NotificationChain msgs = null;
if (ouvert != null)
msgs = ((InternalEObject)ouvert).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__OUVERT, null, msgs);
msgs = ((InternalEObject)ouvert).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__OUVERT, null, msgs);
if (newOuvert != null)
msgs = ((InternalEObject)newOuvert).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__OUVERT, null, msgs);
msgs = ((InternalEObject)newOuvert).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__OUVERT, null, msgs);
msgs = basicSetOuvert(newOuvert, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__OUVERT, newOuvert, newOuvert));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__OUVERT, newOuvert, newOuvert));
}
/**
@ -331,7 +331,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
visible = newVisible;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__VISIBLE, oldVisible, newVisible);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__VISIBLE, oldVisible, newVisible);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -349,14 +349,14 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
NotificationChain msgs = null;
if (visible != null)
msgs = ((InternalEObject)visible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__VISIBLE, null, msgs);
msgs = ((InternalEObject)visible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__VISIBLE, null, msgs);
if (newVisible != null)
msgs = ((InternalEObject)newVisible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__VISIBLE, null, msgs);
msgs = ((InternalEObject)newVisible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__VISIBLE, null, msgs);
msgs = basicSetVisible(newVisible, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__VISIBLE, newVisible, newVisible));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__VISIBLE, newVisible, newVisible));
}
/**
@ -381,7 +381,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
obligatoire = newObligatoire;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__OBLIGATOIRE, oldObligatoire, newObligatoire);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__OBLIGATOIRE, oldObligatoire, newObligatoire);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -399,14 +399,14 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
NotificationChain msgs = null;
if (obligatoire != null)
msgs = ((InternalEObject)obligatoire).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__OBLIGATOIRE, null, msgs);
msgs = ((InternalEObject)obligatoire).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__OBLIGATOIRE, null, msgs);
if (newObligatoire != null)
msgs = ((InternalEObject)newObligatoire).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CHEMIN__OBLIGATOIRE, null, msgs);
msgs = ((InternalEObject)newObligatoire).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CHEMIN__OBLIGATOIRE, null, msgs);
msgs = basicSetObligatoire(newObligatoire, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CHEMIN__OBLIGATOIRE, newObligatoire, newObligatoire));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CHEMIN__OBLIGATOIRE, newObligatoire, newObligatoire));
}
/**
@ -419,7 +419,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
if (connaissances == null)
{
connaissances = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.CHEMIN__CONNAISSANCES);
connaissances = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.CHEMIN__CONNAISSANCES);
}
return connaissances;
}
@ -434,7 +434,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
if (objetsRecus == null)
{
objetsRecus = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.CHEMIN__OBJETS_RECUS);
objetsRecus = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.CHEMIN__OBJETS_RECUS);
}
return objetsRecus;
}
@ -449,7 +449,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
if (objetsConso == null)
{
objetsConso = new EObjectContainmentEList<Nom>(Nom.class, this, GAMEPackage.CHEMIN__OBJETS_CONSO);
objetsConso = new EObjectContainmentEList<Nom>(Nom.class, this, GamePackage.CHEMIN__OBJETS_CONSO);
}
return objetsConso;
}
@ -464,7 +464,7 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
if (descriptions == null)
{
descriptions = new EObjectContainmentEList<Description>(Description.class, this, GAMEPackage.CHEMIN__DESCRIPTIONS);
descriptions = new EObjectContainmentEList<Description>(Description.class, this, GamePackage.CHEMIN__DESCRIPTIONS);
}
return descriptions;
}
@ -479,23 +479,23 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
switch (featureID)
{
case GAMEPackage.CHEMIN__LIEU_IN:
case GamePackage.CHEMIN__LIEU_IN:
return basicSetLieuIn(null, msgs);
case GAMEPackage.CHEMIN__LIEU_OUT:
case GamePackage.CHEMIN__LIEU_OUT:
return basicSetLieuOut(null, msgs);
case GAMEPackage.CHEMIN__OUVERT:
case GamePackage.CHEMIN__OUVERT:
return basicSetOuvert(null, msgs);
case GAMEPackage.CHEMIN__VISIBLE:
case GamePackage.CHEMIN__VISIBLE:
return basicSetVisible(null, msgs);
case GAMEPackage.CHEMIN__OBLIGATOIRE:
case GamePackage.CHEMIN__OBLIGATOIRE:
return basicSetObligatoire(null, msgs);
case GAMEPackage.CHEMIN__CONNAISSANCES:
case GamePackage.CHEMIN__CONNAISSANCES:
return ((InternalEList<?>)getConnaissances()).basicRemove(otherEnd, msgs);
case GAMEPackage.CHEMIN__OBJETS_RECUS:
case GamePackage.CHEMIN__OBJETS_RECUS:
return ((InternalEList<?>)getObjetsRecus()).basicRemove(otherEnd, msgs);
case GAMEPackage.CHEMIN__OBJETS_CONSO:
case GamePackage.CHEMIN__OBJETS_CONSO:
return ((InternalEList<?>)getObjetsConso()).basicRemove(otherEnd, msgs);
case GAMEPackage.CHEMIN__DESCRIPTIONS:
case GamePackage.CHEMIN__DESCRIPTIONS:
return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -511,23 +511,23 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
switch (featureID)
{
case GAMEPackage.CHEMIN__LIEU_IN:
case GamePackage.CHEMIN__LIEU_IN:
return getLieuIn();
case GAMEPackage.CHEMIN__LIEU_OUT:
case GamePackage.CHEMIN__LIEU_OUT:
return getLieuOut();
case GAMEPackage.CHEMIN__OUVERT:
case GamePackage.CHEMIN__OUVERT:
return getOuvert();
case GAMEPackage.CHEMIN__VISIBLE:
case GamePackage.CHEMIN__VISIBLE:
return getVisible();
case GAMEPackage.CHEMIN__OBLIGATOIRE:
case GamePackage.CHEMIN__OBLIGATOIRE:
return getObligatoire();
case GAMEPackage.CHEMIN__CONNAISSANCES:
case GamePackage.CHEMIN__CONNAISSANCES:
return getConnaissances();
case GAMEPackage.CHEMIN__OBJETS_RECUS:
case GamePackage.CHEMIN__OBJETS_RECUS:
return getObjetsRecus();
case GAMEPackage.CHEMIN__OBJETS_CONSO:
case GamePackage.CHEMIN__OBJETS_CONSO:
return getObjetsConso();
case GAMEPackage.CHEMIN__DESCRIPTIONS:
case GamePackage.CHEMIN__DESCRIPTIONS:
return getDescriptions();
}
return super.eGet(featureID, resolve, coreType);
@ -544,34 +544,34 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
switch (featureID)
{
case GAMEPackage.CHEMIN__LIEU_IN:
case GamePackage.CHEMIN__LIEU_IN:
setLieuIn((Nom)newValue);
return;
case GAMEPackage.CHEMIN__LIEU_OUT:
case GamePackage.CHEMIN__LIEU_OUT:
setLieuOut((Nom)newValue);
return;
case GAMEPackage.CHEMIN__OUVERT:
case GamePackage.CHEMIN__OUVERT:
setOuvert((Condition)newValue);
return;
case GAMEPackage.CHEMIN__VISIBLE:
case GamePackage.CHEMIN__VISIBLE:
setVisible((Condition)newValue);
return;
case GAMEPackage.CHEMIN__OBLIGATOIRE:
case GamePackage.CHEMIN__OBLIGATOIRE:
setObligatoire((Condition)newValue);
return;
case GAMEPackage.CHEMIN__CONNAISSANCES:
case GamePackage.CHEMIN__CONNAISSANCES:
getConnaissances().clear();
getConnaissances().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.CHEMIN__OBJETS_RECUS:
case GamePackage.CHEMIN__OBJETS_RECUS:
getObjetsRecus().clear();
getObjetsRecus().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.CHEMIN__OBJETS_CONSO:
case GamePackage.CHEMIN__OBJETS_CONSO:
getObjetsConso().clear();
getObjetsConso().addAll((Collection<? extends Nom>)newValue);
return;
case GAMEPackage.CHEMIN__DESCRIPTIONS:
case GamePackage.CHEMIN__DESCRIPTIONS:
getDescriptions().clear();
getDescriptions().addAll((Collection<? extends Description>)newValue);
return;
@ -589,31 +589,31 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
switch (featureID)
{
case GAMEPackage.CHEMIN__LIEU_IN:
case GamePackage.CHEMIN__LIEU_IN:
setLieuIn((Nom)null);
return;
case GAMEPackage.CHEMIN__LIEU_OUT:
case GamePackage.CHEMIN__LIEU_OUT:
setLieuOut((Nom)null);
return;
case GAMEPackage.CHEMIN__OUVERT:
case GamePackage.CHEMIN__OUVERT:
setOuvert((Condition)null);
return;
case GAMEPackage.CHEMIN__VISIBLE:
case GamePackage.CHEMIN__VISIBLE:
setVisible((Condition)null);
return;
case GAMEPackage.CHEMIN__OBLIGATOIRE:
case GamePackage.CHEMIN__OBLIGATOIRE:
setObligatoire((Condition)null);
return;
case GAMEPackage.CHEMIN__CONNAISSANCES:
case GamePackage.CHEMIN__CONNAISSANCES:
getConnaissances().clear();
return;
case GAMEPackage.CHEMIN__OBJETS_RECUS:
case GamePackage.CHEMIN__OBJETS_RECUS:
getObjetsRecus().clear();
return;
case GAMEPackage.CHEMIN__OBJETS_CONSO:
case GamePackage.CHEMIN__OBJETS_CONSO:
getObjetsConso().clear();
return;
case GAMEPackage.CHEMIN__DESCRIPTIONS:
case GamePackage.CHEMIN__DESCRIPTIONS:
getDescriptions().clear();
return;
}
@ -630,23 +630,23 @@ public class CheminImpl extends MinimalEObjectImpl.Container implements Chemin
{
switch (featureID)
{
case GAMEPackage.CHEMIN__LIEU_IN:
case GamePackage.CHEMIN__LIEU_IN:
return lieuIn != null;
case GAMEPackage.CHEMIN__LIEU_OUT:
case GamePackage.CHEMIN__LIEU_OUT:
return lieuOut != null;
case GAMEPackage.CHEMIN__OUVERT:
case GamePackage.CHEMIN__OUVERT:
return ouvert != null;
case GAMEPackage.CHEMIN__VISIBLE:
case GamePackage.CHEMIN__VISIBLE:
return visible != null;
case GAMEPackage.CHEMIN__OBLIGATOIRE:
case GamePackage.CHEMIN__OBLIGATOIRE:
return obligatoire != null;
case GAMEPackage.CHEMIN__CONNAISSANCES:
case GamePackage.CHEMIN__CONNAISSANCES:
return connaissances != null && !connaissances.isEmpty();
case GAMEPackage.CHEMIN__OBJETS_RECUS:
case GamePackage.CHEMIN__OBJETS_RECUS:
return objetsRecus != null && !objetsRecus.isEmpty();
case GAMEPackage.CHEMIN__OBJETS_CONSO:
case GamePackage.CHEMIN__OBJETS_CONSO:
return objetsConso != null && !objetsConso.isEmpty();
case GAMEPackage.CHEMIN__DESCRIPTIONS:
case GamePackage.CHEMIN__DESCRIPTIONS:
return descriptions != null && !descriptions.isEmpty();
}
return super.eIsSet(featureID);

View file

@ -1,11 +1,11 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.ConditionConnaissance;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.xtext.gAME.Nom;
import fr.n7.game.xtext.game.ConditionConnaissance;
import fr.n7.game.xtext.game.GamePackage;
import fr.n7.game.xtext.game.Nom;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionConnaissanceImpl#getConnaissance <em>Connaissance</em>}</li>
* </ul>
*
* @generated
@ -58,7 +58,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CONDITION_CONNAISSANCE;
return GamePackage.Literals.CONDITION_CONNAISSANCE;
}
/**
@ -83,7 +83,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
connaissance = newConnaissance;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE, oldConnaissance, newConnaissance);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE, oldConnaissance, newConnaissance);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -101,14 +101,14 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
NotificationChain msgs = null;
if (connaissance != null)
msgs = ((InternalEObject)connaissance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE, null, msgs);
msgs = ((InternalEObject)connaissance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE, null, msgs);
if (newConnaissance != null)
msgs = ((InternalEObject)newConnaissance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE, null, msgs);
msgs = ((InternalEObject)newConnaissance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE, null, msgs);
msgs = basicSetConnaissance(newConnaissance, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE, newConnaissance, newConnaissance));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE, newConnaissance, newConnaissance));
}
/**
@ -121,7 +121,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
switch (featureID)
{
case GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
case GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
return basicSetConnaissance(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -137,7 +137,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
switch (featureID)
{
case GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
case GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
return getConnaissance();
}
return super.eGet(featureID, resolve, coreType);
@ -153,7 +153,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
switch (featureID)
{
case GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
case GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
setConnaissance((Nom)newValue);
return;
}
@ -170,7 +170,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
switch (featureID)
{
case GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
case GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
setConnaissance((Nom)null);
return;
}
@ -187,7 +187,7 @@ public class ConditionConnaissanceImpl extends ConditionTestImpl implements Cond
{
switch (featureID)
{
case GAMEPackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
case GamePackage.CONDITION_CONNAISSANCE__CONNAISSANCE:
return connaissance != null;
}
return super.eIsSet(featureID);

View file

@ -1,11 +1,11 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.ConditionEt;
import fr.n7.xtext.gAME.ConditionTest;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.game.xtext.game.ConditionEt;
import fr.n7.game.xtext.game.ConditionTest;
import fr.n7.game.xtext.game.GamePackage;
import java.util.Collection;
@ -29,7 +29,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionEtImpl#getConditionTest <em>Condition Test</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionEtImpl#getConditionTest <em>Condition Test</em>}</li>
* </ul>
*
* @generated
@ -64,7 +64,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CONDITION_ET;
return GamePackage.Literals.CONDITION_ET;
}
/**
@ -77,7 +77,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
if (conditionTest == null)
{
conditionTest = new EObjectContainmentEList<ConditionTest>(ConditionTest.class, this, GAMEPackage.CONDITION_ET__CONDITION_TEST);
conditionTest = new EObjectContainmentEList<ConditionTest>(ConditionTest.class, this, GamePackage.CONDITION_ET__CONDITION_TEST);
}
return conditionTest;
}
@ -92,7 +92,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
switch (featureID)
{
case GAMEPackage.CONDITION_ET__CONDITION_TEST:
case GamePackage.CONDITION_ET__CONDITION_TEST:
return ((InternalEList<?>)getConditionTest()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -108,7 +108,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
switch (featureID)
{
case GAMEPackage.CONDITION_ET__CONDITION_TEST:
case GamePackage.CONDITION_ET__CONDITION_TEST:
return getConditionTest();
}
return super.eGet(featureID, resolve, coreType);
@ -125,7 +125,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
switch (featureID)
{
case GAMEPackage.CONDITION_ET__CONDITION_TEST:
case GamePackage.CONDITION_ET__CONDITION_TEST:
getConditionTest().clear();
getConditionTest().addAll((Collection<? extends ConditionTest>)newValue);
return;
@ -143,7 +143,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
switch (featureID)
{
case GAMEPackage.CONDITION_ET__CONDITION_TEST:
case GamePackage.CONDITION_ET__CONDITION_TEST:
getConditionTest().clear();
return;
}
@ -160,7 +160,7 @@ public class ConditionEtImpl extends MinimalEObjectImpl.Container implements Con
{
switch (featureID)
{
case GAMEPackage.CONDITION_ET__CONDITION_TEST:
case GamePackage.CONDITION_ET__CONDITION_TEST:
return conditionTest != null && !conditionTest.isEmpty();
}
return super.eIsSet(featureID);

View file

@ -1,11 +1,11 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.Condition;
import fr.n7.xtext.gAME.ConditionEt;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.game.xtext.game.Condition;
import fr.n7.game.xtext.game.ConditionEt;
import fr.n7.game.xtext.game.GamePackage;
import java.util.Collection;
@ -29,7 +29,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionImpl#getCondition <em>Condition</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionImpl#getCondition <em>Condition</em>}</li>
* </ul>
*
* @generated
@ -64,7 +64,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CONDITION;
return GamePackage.Literals.CONDITION;
}
/**
@ -77,7 +77,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
if (condition == null)
{
condition = new EObjectContainmentEList<ConditionEt>(ConditionEt.class, this, GAMEPackage.CONDITION__CONDITION);
condition = new EObjectContainmentEList<ConditionEt>(ConditionEt.class, this, GamePackage.CONDITION__CONDITION);
}
return condition;
}
@ -92,7 +92,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
switch (featureID)
{
case GAMEPackage.CONDITION__CONDITION:
case GamePackage.CONDITION__CONDITION:
return ((InternalEList<?>)getCondition()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -108,7 +108,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
switch (featureID)
{
case GAMEPackage.CONDITION__CONDITION:
case GamePackage.CONDITION__CONDITION:
return getCondition();
}
return super.eGet(featureID, resolve, coreType);
@ -125,7 +125,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
switch (featureID)
{
case GAMEPackage.CONDITION__CONDITION:
case GamePackage.CONDITION__CONDITION:
getCondition().clear();
getCondition().addAll((Collection<? extends ConditionEt>)newValue);
return;
@ -143,7 +143,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
switch (featureID)
{
case GAMEPackage.CONDITION__CONDITION:
case GamePackage.CONDITION__CONDITION:
getCondition().clear();
return;
}
@ -160,7 +160,7 @@ public class ConditionImpl extends MinimalEObjectImpl.Container implements Condi
{
switch (featureID)
{
case GAMEPackage.CONDITION__CONDITION:
case GamePackage.CONDITION__CONDITION:
return condition != null && !condition.isEmpty();
}
return super.eIsSet(featureID);

View file

@ -1,11 +1,11 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.ConditionObjet;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.xtext.gAME.Nom;
import fr.n7.game.xtext.game.ConditionObjet;
import fr.n7.game.xtext.game.GamePackage;
import fr.n7.game.xtext.game.Nom;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@ -23,9 +23,9 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionObjetImpl#getObjet <em>Objet</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionObjetImpl#getComparateur <em>Comparateur</em>}</li>
* <li>{@link fr.n7.xtext.gAME.impl.ConditionObjetImpl#getNombre <em>Nombre</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionObjetImpl#getObjet <em>Objet</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionObjetImpl#getComparateur <em>Comparateur</em>}</li>
* <li>{@link fr.n7.game.xtext.game.impl.ConditionObjetImpl#getNombre <em>Nombre</em>}</li>
* </ul>
*
* @generated
@ -100,7 +100,7 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CONDITION_OBJET;
return GamePackage.Literals.CONDITION_OBJET;
}
/**
@ -125,7 +125,7 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
objet = newObjet;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_OBJET__OBJET, oldObjet, newObjet);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_OBJET__OBJET, oldObjet, newObjet);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@ -143,14 +143,14 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
NotificationChain msgs = null;
if (objet != null)
msgs = ((InternalEObject)objet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CONDITION_OBJET__OBJET, null, msgs);
msgs = ((InternalEObject)objet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamePackage.CONDITION_OBJET__OBJET, null, msgs);
if (newObjet != null)
msgs = ((InternalEObject)newObjet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GAMEPackage.CONDITION_OBJET__OBJET, null, msgs);
msgs = ((InternalEObject)newObjet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamePackage.CONDITION_OBJET__OBJET, null, msgs);
msgs = basicSetObjet(newObjet, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_OBJET__OBJET, newObjet, newObjet));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_OBJET__OBJET, newObjet, newObjet));
}
/**
@ -175,7 +175,7 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
String oldComparateur = comparateur;
comparateur = newComparateur;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_OBJET__COMPARATEUR, oldComparateur, comparateur));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_OBJET__COMPARATEUR, oldComparateur, comparateur));
}
/**
@ -200,7 +200,7 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
int oldNombre = nombre;
nombre = newNombre;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GAMEPackage.CONDITION_OBJET__NOMBRE, oldNombre, nombre));
eNotify(new ENotificationImpl(this, Notification.SET, GamePackage.CONDITION_OBJET__NOMBRE, oldNombre, nombre));
}
/**
@ -213,7 +213,7 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
switch (featureID)
{
case GAMEPackage.CONDITION_OBJET__OBJET:
case GamePackage.CONDITION_OBJET__OBJET:
return basicSetObjet(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@ -229,11 +229,11 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
switch (featureID)
{
case GAMEPackage.CONDITION_OBJET__OBJET:
case GamePackage.CONDITION_OBJET__OBJET:
return getObjet();
case GAMEPackage.CONDITION_OBJET__COMPARATEUR:
case GamePackage.CONDITION_OBJET__COMPARATEUR:
return getComparateur();
case GAMEPackage.CONDITION_OBJET__NOMBRE:
case GamePackage.CONDITION_OBJET__NOMBRE:
return getNombre();
}
return super.eGet(featureID, resolve, coreType);
@ -249,13 +249,13 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
switch (featureID)
{
case GAMEPackage.CONDITION_OBJET__OBJET:
case GamePackage.CONDITION_OBJET__OBJET:
setObjet((Nom)newValue);
return;
case GAMEPackage.CONDITION_OBJET__COMPARATEUR:
case GamePackage.CONDITION_OBJET__COMPARATEUR:
setComparateur((String)newValue);
return;
case GAMEPackage.CONDITION_OBJET__NOMBRE:
case GamePackage.CONDITION_OBJET__NOMBRE:
setNombre((Integer)newValue);
return;
}
@ -272,13 +272,13 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
switch (featureID)
{
case GAMEPackage.CONDITION_OBJET__OBJET:
case GamePackage.CONDITION_OBJET__OBJET:
setObjet((Nom)null);
return;
case GAMEPackage.CONDITION_OBJET__COMPARATEUR:
case GamePackage.CONDITION_OBJET__COMPARATEUR:
setComparateur(COMPARATEUR_EDEFAULT);
return;
case GAMEPackage.CONDITION_OBJET__NOMBRE:
case GamePackage.CONDITION_OBJET__NOMBRE:
setNombre(NOMBRE_EDEFAULT);
return;
}
@ -295,11 +295,11 @@ public class ConditionObjetImpl extends ConditionTestImpl implements ConditionOb
{
switch (featureID)
{
case GAMEPackage.CONDITION_OBJET__OBJET:
case GamePackage.CONDITION_OBJET__OBJET:
return objet != null;
case GAMEPackage.CONDITION_OBJET__COMPARATEUR:
case GamePackage.CONDITION_OBJET__COMPARATEUR:
return COMPARATEUR_EDEFAULT == null ? comparateur != null : !COMPARATEUR_EDEFAULT.equals(comparateur);
case GAMEPackage.CONDITION_OBJET__NOMBRE:
case GamePackage.CONDITION_OBJET__NOMBRE:
return nombre != NOMBRE_EDEFAULT;
}
return super.eIsSet(featureID);

View file

@ -1,10 +1,10 @@
/**
* generated by Xtext 2.23.0
*/
package fr.n7.xtext.gAME.impl;
package fr.n7.game.xtext.game.impl;
import fr.n7.xtext.gAME.ConditionTest;
import fr.n7.xtext.gAME.GAMEPackage;
import fr.n7.game.xtext.game.ConditionTest;
import fr.n7.game.xtext.game.GamePackage;
import org.eclipse.emf.ecore.EClass;
@ -37,7 +37,7 @@ public class ConditionTestImpl extends MinimalEObjectImpl.Container implements C
@Override
protected EClass eStaticClass()
{
return GAMEPackage.Literals.CONDITION_TEST;
return GamePackage.Literals.CONDITION_TEST;
}
} //ConditionTestImpl

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