Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[NONE] Migrated from Xtext 2.7.3 to Xtext 2.17.
- Loading branch information
Showing
316 changed files
with
4,134 additions
and
2,539 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
Binary file removed
BIN
-2.92 MB
...f.baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.fx.doc_5.0.3.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-24.5 KB
...baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.fx.jface_5.0.2.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-57.7 KB
...f.baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.fx.swt_5.0.2.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-17.4 KB
...PI-baseline-5.2.0/plugins/org.eclipse.gef.geometry.convert.fx_5.0.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-20.7 KB
...I-baseline-5.2.0/plugins/org.eclipse.gef.geometry.convert.swt_5.0.2.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-8.23 MB
...lines/API-baseline-5.2.0/plugins/org.eclipse.gef.geometry.doc_5.0.2.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-156 KB
...baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.geometry_5.0.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-1.52 MB
...aselines/API-baseline-5.2.0/plugins/org.eclipse.gef.graph.doc_5.1.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-27.8 KB
...ef.baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.graph_5.1.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-4.18 MB
...selines/API-baseline-5.2.0/plugins/org.eclipse.gef.layout.doc_5.0.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-71.5 KB
...f.baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.layout_5.0.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-18.4 MB
....baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.mvc.doc_5.2.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-24.7 KB
...I-baseline-5.2.0/plugins/org.eclipse.gef.mvc.examples.logo.ui_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-83.4 KB
.../API-baseline-5.2.0/plugins/org.eclipse.gef.mvc.examples.logo_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-17.2 KB
...lines/API-baseline-5.2.0/plugins/org.eclipse.gef.mvc.examples_5.2.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-81.9 KB
...aselines/API-baseline-5.2.0/plugins/org.eclipse.gef.mvc.fx.ui_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-264 KB
...f.baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.mvc.fx_5.2.0.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-8.2 MB
...baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.zest.doc_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-15.5 KB
...baseline-5.2.0/plugins/org.eclipse.gef.zest.examples.graph.ui_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-13.8 KB
...PI-baseline-5.2.0/plugins/org.eclipse.gef.zest.examples.graph_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-58.3 KB
...ines/API-baseline-5.2.0/plugins/org.eclipse.gef.zest.examples_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-26.4 KB
...ines/API-baseline-5.2.0/plugins/org.eclipse.gef.zest.fx.jface_5.1.1.201909131537.jar.pack
Binary file not shown.
Binary file removed
BIN
-101 KB
....baselines/API-baseline-5.2.0/plugins/org.eclipse.gef.zest.fx_5.1.1.201909131537.jar.pack
Binary file not shown.
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
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
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
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
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
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
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
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
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
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
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
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
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
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,12 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| <component id="org.eclipse.gef.dot.generator" version="2"> | ||
| <resource path="xtext-generator-extensions/org/eclipse/gef/dot/internal/generator/DotGeneratorModule.java" type="org.eclipse.gef.dot.internal.generator.DotGeneratorModule$DotNaming"> | ||
| <filter id="643842064"> | ||
| <message_arguments> | ||
| <message_argument value="TypeReference"/> | ||
| <message_argument value="DotNaming"/> | ||
| <message_argument value="getEclipsePluginActivator()"/> | ||
| </message_arguments> | ||
| </filter> | ||
| </resource> | ||
| </component> |
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
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
Binary file modified
BIN
+796 Bytes
(130%)
org.eclipse.gef.dot.generator/xtext-generator-extensions.jar
Binary file not shown.
80 changes: 80 additions & 0 deletions
80
...xtext-generator-extensions/org/eclipse/gef/dot/internal/generator/DotGeneratorModule.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,80 @@ | ||
| /******************************************************************************* | ||
| * Copyright (c) 2019 itemis AG and others. | ||
| * | ||
| * All rights reserved. This program and the accompanying materials | ||
| * are made available under the terms of the Eclipse Public License v1.0 | ||
| * which accompanies this distribution, and is available at | ||
| * http://www.eclipse.org/legal/epl-v10.html | ||
| * | ||
| * Contributors: | ||
| * Alexander Nyßen (itemis AG) - initial API and implementation | ||
| * | ||
| *******************************************************************************/ | ||
| package org.eclipse.gef.dot.internal.generator; | ||
|
|
||
| import org.eclipse.xtext.Grammar; | ||
| import org.eclipse.xtext.xtext.generator.DefaultGeneratorModule; | ||
| import org.eclipse.xtext.xtext.generator.XtextGeneratorNaming; | ||
| import org.eclipse.xtext.xtext.generator.model.TypeReference; | ||
|
|
||
| /** | ||
| * A custom generator module to bind a custom naming extension. | ||
| * | ||
| * @author nyssen | ||
| * | ||
| */ | ||
| public class DotGeneratorModule extends DefaultGeneratorModule { | ||
|
|
||
| /** | ||
| * Binds the naming of the Xtext generator to the custom naming extension. | ||
| * | ||
| * @return A custom naming extension to properly name internal packages. | ||
| */ | ||
| public Class<? extends XtextGeneratorNaming> bindNaming() { | ||
| return DotNaming.class; | ||
| } | ||
|
|
||
| /** | ||
| * This class enables the customization of the ide and ui package name | ||
| * within the Xtext code generation workflow for the dot grammar (host | ||
| * grammar and sub-grammars). | ||
| */ | ||
| public static class DotNaming extends XtextGeneratorNaming { | ||
|
|
||
| @Override | ||
| public String getGenericIdeBasePackage(Grammar g) { | ||
| if (g.getName() | ||
| .startsWith("org.eclipse.gef.dot.internal.language.Dot")) { | ||
| return "org.eclipse.gef.dot.internal.ide.language"; | ||
| } else { | ||
| return super.getGenericIdeBasePackage(g); | ||
| } | ||
| } | ||
|
|
||
| @Override | ||
| public String getEclipsePluginBasePackage(Grammar g) { | ||
| if (g.getName() | ||
| .startsWith("org.eclipse.gef.dot.internal.language.Dot")) { | ||
| return "org.eclipse.gef.dot.internal.ui.language"; | ||
| } else { | ||
| return super.getEclipsePluginBasePackage(g); | ||
| } | ||
| } | ||
|
|
||
| @Override | ||
| public String getRuntimeTestBasePackage(Grammar g) { | ||
| return "org.eclipse.gef.dot.tests"; | ||
| } | ||
|
|
||
| @Override | ||
| public String getEclipsePluginTestBasePackage(Grammar g) { | ||
| return "org.eclipse.gef.dot.tests.ui"; | ||
| } | ||
|
|
||
| @Override | ||
| public TypeReference getEclipsePluginActivator() { | ||
| return new TypeReference("org.eclipse.gef.dot.internal.ui.language", | ||
| "DotActivator"); | ||
| } | ||
| } | ||
| } |
33 changes: 0 additions & 33 deletions
33
...enerator/xtext-generator-extensions/org/eclipse/gef/dot/internal/generator/DotNaming.java
This file was deleted.
Oops, something went wrong.
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="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"/> | ||
| <classpathentry kind="src" path="src-gen"/> | ||
| <classpathentry kind="output" path="target/classes"/> | ||
| </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,40 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <projectDescription> | ||
| <name>org.eclipse.gef.dot.ide</name> | ||
| <comment></comment> | ||
| <projects> | ||
| </projects> | ||
| <buildSpec> | ||
| <buildCommand> | ||
| <name>org.eclipse.m2e.core.maven2Builder</name> | ||
| <arguments> | ||
| </arguments> | ||
| </buildCommand> | ||
| <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.m2e.core.maven2Nature</nature> | ||
| <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.eclipse.gef.dot.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 |
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 @@ | ||
| 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.release=enabled | ||
| 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,17 @@ | ||
| Manifest-Version: 1.0 | ||
| Automatic-Module-Name: org.eclipse.gef.dot.ide | ||
| Bundle-ManifestVersion: 2 | ||
| Bundle-Name: GEF DOT | ||
| Bundle-SymbolicName: org.eclipse.gef.dot.ide;singleton:=true | ||
| Bundle-Vendor: Eclipse GEF | ||
| Bundle-Version: 5.1.0.qualifier | ||
| Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
| Bundle-ActivationPolicy: lazy | ||
| Require-Bundle: org.eclipse.gef.dot;bundle-version="[5.0.0,6.0.0)", | ||
| org.eclipse.xtext.ide,org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" | ||
| Export-Package: org.eclipse.gef.dot.internal.ide.language;x-internal:=true, | ||
| org.eclipse.gef.dot.internal.ide.language.contentassist.antlr;x-internal:=true, | ||
| org.eclipse.gef.dot.internal.ide.language.contentassist.antlr.internal;x-internal:=true, | ||
| org.eclipse.gef.dot.internal.ide.language.contentassist.antlr.lexer;x-internal:=true, | ||
| org.eclipse.gef.dot.internal.ide.language.highlighting.antlr.lexer;x-internal:=true | ||
|
|
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 |
Oops, something went wrong.