Skip to content

Commit

Permalink
eclipse-archived#190 In progress TqCL implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
rtotaro committed Dec 30, 2016
1 parent ea7b7ad commit 991f6f9
Show file tree
Hide file tree
Showing 56 changed files with 15,664 additions and 6,027 deletions.
7 changes: 7 additions & 0 deletions org.eclipse.triquetrum.commands.api/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
28 changes: 28 additions & 0 deletions org.eclipse.triquetrum.commands.api/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.triquetrum.commands.api</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>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
10 changes: 10 additions & 0 deletions org.eclipse.triquetrum.commands.api/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TqCL Api
Bundle-SymbolicName: org.eclipse.triquetrum.commands.api
Bundle-Version: 0.1.0.qualifier
Bundle-Activator: org.eclipse.triquetrum.commands.api.TqCLServices
Bundle-Vendor: Eclipse Triquetrum
Require-Bundle: org.eclipse.core.runtime
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
4 changes: 4 additions & 0 deletions org.eclipse.triquetrum.commands.api/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source.. = src/main/java/
output.. = target/classes/
bin.includes = META-INF/,\
.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package org.eclipse.triquetrum.commands.api;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class TqCLServices implements BundleActivator {

private static BundleContext context;

static BundleContext getContext() {
return context;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
TqCLServices.context = bundleContext;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
TqCLServices.context = null;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.eclipse.triquetrum.commands.api.services;

public interface TqCLLibraryProvider {


}
1 change: 1 addition & 0 deletions org.eclipse.triquetrum.commands.api/target/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/classes/
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,28 @@ protected String getRuleName(AbstractElement element) {
private static final long serialVersionUID = 1L;
{
put(grammarAccess.getCommandAccess().getAlternatives_0(), "rule__Command__Alternatives_0");
put(grammarAccess.getNamedObjAccess().getNameAlternatives_0(), "rule__NamedObj__NameAlternatives_0");
put(grammarAccess.getCategoryAccess().getAlternatives(), "rule__Category__Alternatives");
put(grammarAccess.getNamedObjAccess().getAlternatives(), "rule__NamedObj__Alternatives");
put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives");
put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives");
put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2");
put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1");
put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3");
put(grammarAccess.getTriquetrumScriptAccess().getGroup(), "rule__TriquetrumScript__Group__0");
put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0");
put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
put(grammarAccess.getLibraryAccess().getGroup(), "rule__Library__Group__0");
put(grammarAccess.getInsertAccess().getGroup(), "rule__Insert__Group__0");
put(grammarAccess.getInsertAccess().getGroup_2(), "rule__Insert__Group_2__0");
put(grammarAccess.getInsertAccess().getGroup_3(), "rule__Insert__Group_3__0");
put(grammarAccess.getInsertAccess().getGroup_3_2(), "rule__Insert__Group_3_2__0");
put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0");
put(grammarAccess.getInsertAccess().getGroup_5(), "rule__Insert__Group_5__0");
put(grammarAccess.getInsertAccess().getGroup_5_2(), "rule__Insert__Group_5_2__0");
put(grammarAccess.getSetAccess().getGroup(), "rule__Set__Group__0");
put(grammarAccess.getConnectAccess().getGroup(), "rule__Connect__Group__0");
put(grammarAccess.getConnectAccess().getGroup_2(), "rule__Connect__Group_2__0");
put(grammarAccess.getConnectAccess().getGroup_5(), "rule__Connect__Group_5__0");
put(grammarAccess.getGoIntoAccess().getGroup(), "rule__GoInto__Group__0");
put(grammarAccess.getGoOutAccess().getGroup(), "rule__GoOut__Group__0");
put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0");
put(grammarAccess.getConnectionPortAccess().getGroup(), "rule__ConnectionPort__Group__0");
put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0");
put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0");
put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0");
Expand Down Expand Up @@ -89,16 +98,27 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0");
put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0");
put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0");
put(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment(), "rule__TriquetrumScript__CommandsAssignment");
put(grammarAccess.getInsertAccess().getObjAssignment_1(), "rule__Insert__ObjAssignment_1");
put(grammarAccess.getInsertAccess().getNameAssignment_2_1(), "rule__Insert__NameAssignment_2_1");
put(grammarAccess.getInsertAccess().getParametersAssignment_3_1(), "rule__Insert__ParametersAssignment_3_1");
put(grammarAccess.getInsertAccess().getParametersAssignment_3_2_1(), "rule__Insert__ParametersAssignment_3_2_1");
put(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0(), "rule__TriquetrumScript__LibrariesAssignment_0");
put(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1(), "rule__TriquetrumScript__CommandsAssignment_1");
put(grammarAccess.getImportAccess().getFilenameAssignment_1(), "rule__Import__FilenameAssignment_1");
put(grammarAccess.getLibraryAccess().getNameAssignment_1(), "rule__Library__NameAssignment_1");
put(grammarAccess.getInsertAccess().getCategoryAssignment_1(), "rule__Insert__CategoryAssignment_1");
put(grammarAccess.getInsertAccess().getObjAssignment_2(), "rule__Insert__ObjAssignment_2");
put(grammarAccess.getInsertAccess().getNameAssignment_4(), "rule__Insert__NameAssignment_4");
put(grammarAccess.getInsertAccess().getParametersAssignment_5_1(), "rule__Insert__ParametersAssignment_5_1");
put(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1(), "rule__Insert__ParametersAssignment_5_2_1");
put(grammarAccess.getSetAccess().getParamAssignment_1(), "rule__Set__ParamAssignment_1");
put(grammarAccess.getConnectAccess().getFromAssignment_1(), "rule__Connect__FromAssignment_1");
put(grammarAccess.getConnectAccess().getFromAssignment_2_1(), "rule__Connect__FromAssignment_2_1");
put(grammarAccess.getConnectAccess().getToAssignment_4(), "rule__Connect__ToAssignment_4");
put(grammarAccess.getConnectAccess().getToAssignment_5_1(), "rule__Connect__ToAssignment_5_1");
put(grammarAccess.getGoIntoAccess().getDirectionAssignment_1(), "rule__GoInto__DirectionAssignment_1");
put(grammarAccess.getGoIntoAccess().getObjAssignment_2(), "rule__GoInto__ObjAssignment_2");
put(grammarAccess.getGoOutAccess().getDirectionAssignment_1(), "rule__GoOut__DirectionAssignment_1");
put(grammarAccess.getParameterAccess().getIdAssignment_0(), "rule__Parameter__IdAssignment_0");
put(grammarAccess.getParameterAccess().getValueAssignment_2(), "rule__Parameter__ValueAssignment_2");
put(grammarAccess.getNamedObjAccess().getNameAssignment(), "rule__NamedObj__NameAssignment");
put(grammarAccess.getConnectAccess().getFromAssignment_1(), "rule__Connect__FromAssignment_1");
put(grammarAccess.getConnectAccess().getToAssignment_3(), "rule__Connect__ToAssignment_3");
put(grammarAccess.getConnectionPortAccess().getActorAssignment_0(), "rule__ConnectionPort__ActorAssignment_0");
put(grammarAccess.getConnectionPortAccess().getPortAssignment_2(), "rule__ConnectionPort__PortAssignment_2");
put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0");
put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1");
put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2");
Expand Down
Loading

0 comments on commit 991f6f9

Please sign in to comment.