Skip to content

Commit

Permalink
first file addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Reiner Jung committed Feb 21, 2015
1 parent 75da12b commit 4d2b80d
Show file tree
Hide file tree
Showing 138 changed files with 44,507 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
**/*._trace
**/*.class
**/bin/**
17 changes: 17 additions & 0 deletions org.spp.cocome.types.sdk/.project
@@ -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>
1 change: 1 addition & 0 deletions org.spp.cocome.types.sdk/build.properties
@@ -0,0 +1 @@
bin.includes =feature.xml
17 changes: 17 additions & 0 deletions org.spp.cocome.types.sdk/feature.xml
@@ -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>
8 changes: 8 additions & 0 deletions org.spp.cocome.types.tests/.classpath
@@ -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>
34 changes: 34 additions & 0 deletions org.spp.cocome.types.tests/.project
@@ -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>
22 changes: 22 additions & 0 deletions org.spp.cocome.types.tests/META-INF/MANIFEST.MF
@@ -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
5 changes: 5 additions & 0 deletions org.spp.cocome.types.tests/build.properties
@@ -0,0 +1,5 @@
source.. = src/,\
src-gen/
bin.includes = META-INF/,\
.,\
plugin.xml
13 changes: 13 additions & 0 deletions org.spp.cocome.types.tests/org.spp.cocome.types.tests.launch
@@ -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>
@@ -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();
}
}
@@ -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");
}

}
9 changes: 9 additions & 0 deletions org.spp.cocome.types.ui/.classpath
@@ -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>
34 changes: 34 additions & 0 deletions org.spp.cocome.types.ui/.project
@@ -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>
27 changes: 27 additions & 0 deletions org.spp.cocome.types.ui/META-INF/MANIFEST.MF
@@ -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
5 changes: 5 additions & 0 deletions org.spp.cocome.types.ui/build.properties
@@ -0,0 +1,5 @@
source.. = src/,\
src-gen/
bin.includes = META-INF/,\
.,\
plugin.xml

0 comments on commit 4d2b80d

Please sign in to comment.