mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
commit
87ac743c65
17 changed files with 25 additions and 23 deletions
|
@ -21,7 +21,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -43,7 +43,7 @@ Export-Package: org.eclipse.xtext.util;
|
|||
org.eclipse.xtext.xbase"
|
||||
Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.20.0",
|
||||
com.google.guava;bundle-version="[30.1.0,31.0.0)";visibility:=reexport,
|
||||
com.google.inject;bundle-version="3.0.0";visibility:=reexport,
|
||||
com.google.inject;bundle-version="5.0.1";visibility:=reexport,
|
||||
javax.inject;bundle-version="1.0.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
|
||||
org.eclipse.xtend.lib
|
||||
Import-Package: org.apache.log4j;version="1.2.15"
|
||||
|
|
|
@ -88,7 +88,7 @@ class TargetPlatformProject extends ProjectDescriptor {
|
|||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<unit id="com.google.gson" version="2.8.7.v20210624-1215"/>
|
||||
<unit id="com.google.inject" version="3.0.0.v201605172100"/>
|
||||
<unit id="com.google.inject" version="5.0.1.v20210324-2015"/>
|
||||
<unit id="javax.inject" version="1.0.0.v20091030"/>
|
||||
<unit id="org.antlr.runtime" version="3.2.0.v201101311130"/>
|
||||
<unit id="org.junit" version="4.12.0.v201504281640"/>
|
||||
|
|
|
@ -191,7 +191,7 @@ public class TargetPlatformProject extends ProjectDescriptor {
|
|||
_builder.append("<unit id=\"com.google.gson\" version=\"2.8.7.v20210624-1215\"/>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("<unit id=\"com.google.inject\" version=\"3.0.0.v201605172100\"/>");
|
||||
_builder.append("<unit id=\"com.google.inject\" version=\"5.0.1.v20210324-2015\"/>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("<unit id=\"javax.inject\" version=\"1.0.0.v20091030\"/>");
|
||||
|
|
|
@ -193,7 +193,7 @@ Require-Bundle: org.eclipse.emf.ecore.xmi;bundle-version="2.16.0";visibility:=re
|
|||
org.eclipse.emf.ecore;bundle-version="2.20.0";visibility:=reexport,
|
||||
org.eclipse.emf.common;bundle-version="2.17.0",
|
||||
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)";visibility:=reexport,
|
||||
com.google.inject;bundle-version="3.0.0";visibility:=reexport,
|
||||
com.google.inject;bundle-version="5.0.1";visibility:=reexport,
|
||||
org.objectweb.asm;bundle-version="[9.1.0,9.2.0)";resolution:=optional,
|
||||
org.eclipse.emf.mwe.core;bundle-version="1.3.21";resolution:=optional;visibility:=reexport,
|
||||
org.eclipse.emf.mwe.utils;bundle-version="1.3.21";resolution:=optional;visibility:=reexport,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015, 2016 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2015, 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
@ -53,10 +53,12 @@ import com.google.common.collect.Maps;
|
|||
import com.google.common.collect.Multimap;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
/**
|
||||
* @author Moritz Eysholdt - Initial contribution and API
|
||||
*/
|
||||
@Singleton
|
||||
public class GrammarConstraintProvider implements IGrammarConstraintProvider {
|
||||
|
||||
protected static class Constraint implements IGrammarConstraintProvider.IConstraint {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011, 2016 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2011, 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011, 2020 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2011, 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
@ -8,6 +8,8 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.xtext.serializer.impl;
|
||||
|
||||
import static com.google.common.base.Preconditions.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Writer;
|
||||
import java.util.Iterator;
|
||||
|
@ -48,8 +50,7 @@ import org.eclipse.xtext.validation.IConcreteSyntaxValidator;
|
|||
import com.google.common.base.CharMatcher;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Provider;
|
||||
|
||||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
/**
|
||||
* @author Moritz Eysholdt - Initial contribution and API
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011, 2016 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2011, 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
@ -42,12 +42,10 @@ import com.google.common.collect.Lists;
|
|||
import com.google.common.collect.Multimap;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
/**
|
||||
* @author Moritz Eysholdt - Initial contribution and API
|
||||
*/
|
||||
@Singleton
|
||||
public class ContextFinder implements IContextFinder {
|
||||
|
||||
@Inject
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011 itemis AG (http://www.itemis.eu) and others.
|
||||
* Copyright (c) 2011, 2021 itemis AG (http://www.itemis.eu) and others.
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Eclipse Public License 2.0 which is available at
|
||||
* http://www.eclipse.org/legal/epl-2.0.
|
||||
|
|
|
@ -82,7 +82,7 @@ public abstract class DefaultRuntimeModule extends AbstractGenericModule {
|
|||
public void configure(Binder binder) {
|
||||
super.configure(binder);
|
||||
}
|
||||
|
||||
|
||||
public EValidator.Registry bindEValidatorRegistry() {
|
||||
return EValidator.Registry.INSTANCE;
|
||||
}
|
||||
|
@ -90,11 +90,11 @@ public abstract class DefaultRuntimeModule extends AbstractGenericModule {
|
|||
public EPackage.Registry bindEPackageRegistry() {
|
||||
return EPackage.Registry.INSTANCE;
|
||||
}
|
||||
|
||||
|
||||
public IResourceServiceProvider.Registry bindIResourceServiceProvider$Registry() {
|
||||
return IResourceServiceProvider.Registry.INSTANCE;
|
||||
}
|
||||
|
||||
|
||||
@SingletonBinding
|
||||
public Class<? extends Diagnostician> bindDiagnostician() {
|
||||
return CancelableDiagnostician.class;
|
||||
|
@ -256,4 +256,5 @@ public abstract class DefaultRuntimeModule extends AbstractGenericModule {
|
|||
binder.bind(new TypeLiteral<ImmutableList<IsAffectedExtension>>() {}).toProvider(AllIsAffectedExtensions.class);
|
||||
binder.bind(Key.get(IsAffectedExtension.class, Names.named("IsAffectedExtension.UniqueNames"))).to(INamesAreUniqueValidationHelper.ContextProvider.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue