-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from Systems-Modeling/ST6RI-339
ST6RI-339 Separates common expression sublanguage for KerML and SysML
- Loading branch information
Showing
124 changed files
with
109,576 additions
and
58,090 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,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-1.8"/> | ||
<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 @@ | ||
/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,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.omg.kerml.expressions.xtext.ide</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> |
2 changes: 2 additions & 0 deletions
2
org.omg.kerml.expressions.xtext.ide/.settings/org.eclipse.core.resources.prefs
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,2 @@ | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 |
7 changes: 7 additions & 0 deletions
7
org.omg.kerml.expressions.xtext.ide/.settings/org.eclipse.jdt.core.prefs
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,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 |
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,15 @@ | ||
Manifest-Version: 1.0 | ||
Automatic-Module-Name: org.omg.kerml.expressions.xtext.ide | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: org.omg.kerml.xtext.ide | ||
Bundle-Vendor: SysML v2 Submission Team | ||
Bundle-Version: 0.9.0.qualifier | ||
Bundle-SymbolicName: org.omg.kerml.expressions.xtext.ide; singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.omg.kerml.expressions.xtext, | ||
org.eclipse.xtext.ide, | ||
org.eclipse.xtext.xbase.ide, | ||
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Export-Package: org.omg.kerml.expressions.xtext.ide.contentassist.antlr.internal, | ||
org.omg.kerml.expressions.xtext.ide.contentassist.antlr |
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,6 @@ | ||
source.. = src/,\ | ||
src-gen/,\ | ||
xtend-gen/ | ||
bin.includes = .,\ | ||
META-INF/ | ||
bin.excludes = **/*.xtend |
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 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.omg.sysml</groupId> | ||
<artifactId>org.omg.sysml.parent</artifactId> | ||
<version>${revision}</version> | ||
</parent> | ||
|
||
<artifactId>org.omg.kerml.expressions.xtext.ide</artifactId> | ||
<packaging>eclipse-plugin</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>gen-clean</id> | ||
<phase>clean</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.xtend</groupId> | ||
<artifactId>xtend-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
1 change: 1 addition & 0 deletions
1
org.omg.kerml.expressions.xtext.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup
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 @@ | ||
org.omg.kerml.expressions.xtext.ide.KerMLExpressionsIdeSetup |
60 changes: 60 additions & 0 deletions
60
...xt.ide/src-gen/org/omg/kerml/expressions/xtext/ide/AbstractKerMLExpressionsIdeModule.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,60 @@ | ||
/* | ||
* generated by Xtext 2.22.0 | ||
*/ | ||
package org.omg.kerml.expressions.xtext.ide; | ||
|
||
import com.google.inject.Binder; | ||
import com.google.inject.name.Names; | ||
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; | ||
import org.omg.kerml.expressions.xtext.ide.contentassist.antlr.KerMLExpressionsParser; | ||
import org.omg.kerml.expressions.xtext.ide.contentassist.antlr.internal.InternalKerMLExpressionsLexer; | ||
|
||
/** | ||
* Manual modifications go to {@link KerMLExpressionsIdeModule}. | ||
*/ | ||
@SuppressWarnings("all") | ||
public abstract class AbstractKerMLExpressionsIdeModule 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(InternalKerMLExpressionsLexer.class); | ||
} | ||
|
||
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
public Class<? extends IContentAssistParser> bindIContentAssistParser() { | ||
return KerMLExpressionsParser.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; | ||
} | ||
|
||
} |
Oops, something went wrong.