Skip to content

Commit b69f457

Browse files
rubenporrasjoaodinissf
authored andcommitted
chore: eliminate all usages of Xpand
Co-Authored-By: Rubén Porras Campo <[email protected]>
1 parent 35746ab commit b69f457

File tree

14 files changed

+12
-34
lines changed

14 files changed

+12
-34
lines changed

com.avaloq.tools.ddk.check.ui/src/com/avaloq/tools/ddk/check/ui/wizard/CheckCatalogGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class CheckCatalogGenerator {
3434
private JavaIoFileSystemAccess fsa;
3535

3636
/**
37-
* Generates a check file. Calls an Xpand template.
37+
* Generates a check file.
3838
*
3939
* @param path
4040
* the path used for the output file destination

com.avaloq.tools.ddk.check.ui/src/com/avaloq/tools/ddk/check/ui/wizard/CheckProjectInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public String getDefaultPackageImport() {
8383
}
8484

8585
/**
86-
* Gets the path to where files should be generated by Xpand. If {@code path} is {@code null}, a default is calculated.
86+
* Gets the path to where files should be generated. If {@code path} is {@code null}, a default is calculated.
8787
*
8888
* @return the path
8989
*/

com.avaloq.tools.ddk.xtext.export/META-INF/MANIFEST.MF

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Require-Bundle: org.eclipse.xtext,
2323
com.avaloq.tools.ddk.xtext.expression;visibility:=reexport,
2424
org.eclipse.core.resources,
2525
org.eclipse.core.runtime,
26-
org.eclipse.xtend.shared.ui;resolution:=optional,
2726
org.eclipse.xtext.ui.codetemplates;resolution:=optional,
2827
org.eclipse.xtext.xbase.lib
2928
Import-Package: org.apache.log4j

com.avaloq.tools.ddk.xtext.export/src/com/avaloq/tools/ddk/xtext/export/validation/ExportValidator.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,7 @@ public void checkExtensions(final ExportModel model) {
6262
if (!Platform.isRunning()) {
6363
resourceManager = new ResourceManagerDefaultImpl();
6464
}
65-
// } else {
66-
// FIXME: sort out xpand
67-
// IXtendXpandProject project = Activator.getExtXptModelManager().findProject(ResourcesPlugin.getWorkspace().getRoot().getFile(new
68-
// Path(model.eResource().getURI().toPlatformString(true))).getProject());
69-
// if (project != null) {
70-
// resourceManager = new XpandPluginExecutionContext(project).getResourceManager();
71-
// }
65+
7266
if (resourceManager == null) {
7367
return;
7468
}

com.avaloq.tools.ddk.xtext.expression/src/com/avaloq/tools/ddk/xtext/expression/generator/CompilationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* The CompilationContext is used by CodeGeneration.ext to resolve types, get information about local variables, etc. It is a
3535
* wrapper around {@link ExecutionContext}.
3636
* <p>
37-
* Note that many of these methods are called from Xtend and Xpand and will thus not show up when doing a find references in Eclipse.
37+
* Note that many of these methods are called from Xtend and will thus not show up when doing a find references in Eclipse.
3838
*/
3939
@SuppressWarnings("nls")
4040
public class CompilationContext {

com.avaloq.tools.ddk.xtext.format.generator/META-INF/MANIFEST.MF

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Bundle-Vendor: Avaloq Group AG
55
Bundle-Version: 16.4.0.qualifier
66
Bundle-SymbolicName: com.avaloq.tools.ddk.xtext.format.generator;singleton:=true
77
Require-Bundle: com.avaloq.tools.ddk.xtext.format;visibility:=reexport,
8-
org.eclipse.xpand,
9-
org.eclipse.xtend,
108
org.eclipse.xtext.xtext.generator,
119
org.eclipse.xtext,
1210
com.avaloq.tools.ddk.xtext.generator;visibility:=reexport,

com.avaloq.tools.ddk.xtext.generator/META-INF/MANIFEST.MF

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-21
88
Require-Bundle: org.eclipse.jface,
99
org.eclipse.ui.views,
1010
org.eclipse.emf.codegen.ecore,
11-
org.eclipse.xpand,
1211
org.eclipse.xtext,
1312
org.eclipse.xtext.xtext.generator,
1413
org.eclipse.emf.mwe2.lib,
@@ -17,7 +16,6 @@ Require-Bundle: org.eclipse.jface,
1716
com.avaloq.tools.ddk.xtext,
1817
com.avaloq.tools.ddk.xtext.expression,
1918
com.avaloq.tools.ddk.xtext.expression.ui,
20-
org.eclipse.xtend.util.stdlib,
2119
com.google.guava,
2220
com.avaloq.tools.ddk.xtext.ui,
2321
org.eclipse.xtend.lib,

com.avaloq.tools.ddk.xtext.scope/META-INF/MANIFEST.MF

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Bundle-RequiredExecutionEnvironment: JavaSE-21
88
Require-Bundle: org.eclipse.xtext,
99
com.avaloq.tools.ddk.xtext.expression;visibility:=reexport,
1010
org.eclipse.xtend,
11+
org.eclipse.xtend.typesystem.emf,
1112
org.eclipse.emf.mwe2.launch;resolution:=optional,
1213
org.eclipse.xtext.util,
1314
org.eclipse.emf.ecore,
@@ -17,9 +18,7 @@ Require-Bundle: org.eclipse.xtext,
1718
com.avaloq.tools.ddk.xtext,
1819
org.eclipse.core.resources,
1920
org.eclipse.core.runtime,
20-
org.eclipse.xtend.shared.ui;resolution:=optional,
21-
org.eclipse.xtext.xbase.lib,
22-
org.eclipse.xtend.typesystem.emf
21+
org.eclipse.xtext.xbase.lib
2322
Import-Package: org.apache.logging.log4j,
2423
org.apache.log4j
2524
Export-Package: com.avaloq.tools.ddk.xtext.scope,

com.avaloq.tools.ddk.xtext.scope/src/com/avaloq/tools/ddk/xtext/scope/generator/ScopeProviderGenerator.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class ScopeProviderGenerator {
252252
'''
253253
254254
def dispatch scopeExpression(ScopeExpression it, ScopeModel model, String typeOrRef, ScopeDefinition scope, Boolean isGlobal) {
255-
error("Xpand called the wrong definition." + it.toString() + javaContributorComment(it.location()))
255+
error("Xtend called the wrong definition." + it.toString() + javaContributorComment(it.location()))
256256
}
257257
258258
def dispatch scopeExpression(FactoryExpression it, ScopeModel model, String typeOrRef, ScopeDefinition scope, Boolean isGlobal) {

com.avaloq.tools.ddk.xtext.scope/src/com/avaloq/tools/ddk/xtext/scope/validation/ScopeValidator.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,7 @@ public void checkExtensions(final ScopeModel model) {
6969
if (!Platform.isRunning()) {
7070
resourceManager = new ResourceManagerDefaultImpl();
7171
}
72-
// } else {
73-
// FIXME: xpand
74-
// IXtendXpandProject project = Activator.getExtXptModelManager().findProject(ResourcesPlugin.getWorkspace().getRoot().getFile(new
75-
// Path(model.eResource().getURI().toPlatformString(true))).getProject());
76-
// if (project != null) {
77-
// resourceManager = new XpandPluginExecutionContext(project).getResourceManager();
78-
// }
72+
7973
if (resourceManager == null) {
8074
return;
8175
}

0 commit comments

Comments
 (0)