Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Reiner Jung
committed
Feb 21, 2015
1 parent
75da12b
commit 4d2b80d
Showing
138 changed files
with
44,507 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/*._trace | ||
**/*.class | ||
**/bin/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.spp.cocome.types.sdk</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.pde.FeatureBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.FeatureNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin.includes =feature.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature id="org.spp.cocome.types.sdk" | ||
label="Types SDK Feature " | ||
version="1.0.0.qualifier"> | ||
<plugin | ||
id="org.spp.cocome.types" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
<plugin | ||
id="org.spp.cocome.types.ui" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
</feature> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="src-gen"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.spp.cocome.types.tests</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<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> | ||
<buildCommand> | ||
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: org.spp.cocome.types.tests | ||
Bundle-Vendor: My Company | ||
Bundle-Version: 1.0.0.qualifier | ||
Bundle-SymbolicName: org.spp.cocome.types.tests; singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.spp.cocome.types, | ||
org.spp.cocome.types.ui, | ||
org.eclipse.core.runtime, | ||
org.eclipse.xtext.junit4, | ||
org.eclipse.ui.workbench;resolution:=optional | ||
Import-Package: org.apache.log4j, | ||
org.junit;version="4.5.0", | ||
org.junit.runner;version="4.5.0", | ||
org.junit.runner.manipulation;version="4.5.0", | ||
org.junit.runner.notification;version="4.5.0", | ||
org.junit.runners;version="4.5.0", | ||
org.junit.runners.model;version="4.5.0", | ||
org.hamcrest.core | ||
Bundle-RequiredExecutionEnvironment: J2SE-1.5 | ||
Export-Package: org.spp.cocome.types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source.. = src/,\ | ||
src-gen/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
plugin.xml |
13 changes: 13 additions & 0 deletions
13
org.spp.cocome.types.tests/org.spp.cocome.types.tests.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig"> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | ||
<listEntry value="/org.spp.cocome.types.tests"/> | ||
</listAttribute> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | ||
<listEntry value="4"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=org.spp.cocome.types.tests"/> | ||
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> | ||
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.spp.cocome.types.tests"/> | ||
</launchConfiguration> |
45 changes: 45 additions & 0 deletions
45
org.spp.cocome.types.tests/src-gen/org/spp/cocome/types/TypesInjectorProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* generated by Xtext | ||
*/ | ||
package org.spp.cocome.types; | ||
|
||
import org.eclipse.xtext.junit4.GlobalRegistries; | ||
import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; | ||
import org.eclipse.xtext.junit4.IInjectorProvider; | ||
import org.eclipse.xtext.junit4.IRegistryConfigurator; | ||
|
||
import com.google.inject.Injector; | ||
|
||
public class TypesInjectorProvider implements IInjectorProvider, IRegistryConfigurator { | ||
|
||
protected GlobalStateMemento stateBeforeInjectorCreation; | ||
protected GlobalStateMemento stateAfterInjectorCreation; | ||
protected Injector injector; | ||
|
||
static { | ||
GlobalRegistries.initializeDefaults(); | ||
} | ||
|
||
public Injector getInjector() | ||
{ | ||
if (injector == null) { | ||
stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); | ||
this.injector = internalCreateInjector(); | ||
stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); | ||
} | ||
return injector; | ||
} | ||
|
||
protected Injector internalCreateInjector() { | ||
return new TypesStandaloneSetup().createInjectorAndDoEMFRegistration(); | ||
} | ||
|
||
public void restoreRegistry() { | ||
stateBeforeInjectorCreation.restoreGlobalState(); | ||
} | ||
|
||
public void setupRegistry() { | ||
getInjector(); | ||
stateAfterInjectorCreation.restoreGlobalState(); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
org.spp.cocome.types.tests/src-gen/org/spp/cocome/types/TypesUiInjectorProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* generated by Xtext | ||
*/ | ||
package org.spp.cocome.types; | ||
|
||
import org.eclipse.xtext.junit4.IInjectorProvider; | ||
|
||
import com.google.inject.Injector; | ||
|
||
public class TypesUiInjectorProvider implements IInjectorProvider { | ||
|
||
public Injector getInjector() { | ||
return org.spp.cocome.types.ui.internal.TypesActivator.getInstance().getInjector("org.spp.cocome.types.Types"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="xtend-gen"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="src-gen"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.spp.cocome.types.ui</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<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> | ||
<buildCommand> | ||
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: org.spp.cocome.types.ui | ||
Bundle-Vendor: My Company | ||
Bundle-Version: 1.0.0.qualifier | ||
Bundle-SymbolicName: org.spp.cocome.types.ui; singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.spp.cocome.types;visibility:=reexport, | ||
org.eclipse.xtext.ui, | ||
org.eclipse.ui.editors;bundle-version="3.5.0", | ||
org.eclipse.ui.ide;bundle-version="3.5.0", | ||
org.eclipse.xtext.ui.shared, | ||
org.eclipse.ui, | ||
org.eclipse.xtext.builder, | ||
org.antlr.runtime, | ||
org.eclipse.xtext.common.types.ui, | ||
org.eclipse.xtext.ui.codetemplates.ui, | ||
org.eclipse.compare | ||
Import-Package: org.apache.log4j, | ||
org.eclipse.xtext.xbase.lib | ||
Bundle-RequiredExecutionEnvironment: J2SE-1.5 | ||
Export-Package: org.spp.cocome.types.ui, | ||
org.spp.cocome.types.ui.contentassist, | ||
org.spp.cocome.types.ui.contentassist.antlr, | ||
org.spp.cocome.types.ui.internal, | ||
org.spp.cocome.types.ui.quickfix | ||
Bundle-Activator: org.spp.cocome.types.ui.internal.TypesActivator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source.. = src/,\ | ||
src-gen/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
plugin.xml |
Oops, something went wrong.