From 6f983c36849d9850e382292440a5fa84b7f20d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20ROU=C3=8BN=C3=89?=
Date: Tue, 31 Dec 2024 11:10:50 +0100
Subject: [PATCH] [4354] Add support for cursor based pagination in table view
DSL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bug: https://github.com/eclipse-sirius/sirius-web/issues/4354
Signed-off-by: Florian ROUËNÉ
---
CHANGELOG.adoc | 1 +
packages/emf/backend/pom.xml | 1 +
.../sirius-components-emf-tables/.checkstyle | 11 +
.../sirius-components-emf-tables/.classpath | 57 ++
.../sirius-components-emf-tables/.project | 34 ++
.../org.eclipse.core.resources.prefs | 6 +
.../.settings/org.eclipse.core.runtime.prefs | 3 +
.../.settings/org.eclipse.jdt.apt.core.prefs | 2 +
.../.settings/org.eclipse.jdt.core.prefs | 505 ++++++++++++++++++
.../.settings/org.eclipse.jdt.ui.prefs | 210 ++++++++
.../.settings/org.eclipse.m2e.core.prefs | 4 +
.../org.springframework.ide.eclipse.prefs | 2 +
.../sirius-components-emf-tables/README.adoc | 10 +
.../sirius-components-emf-tables/pom.xml | 138 +++++
.../emf/tables}/BackwardTreeIterator.java | 4 +-
.../CursorBasedNavigationServices.java | 4 +-
.../emf/tables}/ForwardTreeIterator.java | 56 +-
.../architecture/ArchitectureConstants.java | 36 ++
.../java/architecture/CodingRulesTests.java | 36 ++
.../architecture/SpringCodingRulesTests.java | 36 ++
.../src/test/resources/logback-test.xml | 3 +
.../backend/sirius-web-application/pom.xml | 7 +-
...ableRepresentationDescriptionProvider.java | 3 +-
...ableRepresentationDescriptionProvider.java | 3 +-
...payaRepresentationDescriptionProvider.java | 73 +++
.../papaya/services/PapayaViewProvider.java | 5 +-
...ectDownloadControllerIntegrationTests.java | 10 +-
.../CursorBasedNavigationServicesTests.java | 4 +-
.../tables/ViewTableDescriptionProvider.java | 4 +-
.../src/test/resources/scripts/studio.sql | 8 +-
.../descriptions/ColumnDescription.java | 6 +-
.../table/CellDescriptionBuilder.java | 27 +-
.../table/RowDescriptionBuilder.java | 27 +-
.../table/TableElementDescriptionBuilder.java | 67 ---
.../sirius-components-view-emf/pom.xml | 5 +
.../view/emf/table/ITableIdProvider.java | 25 +-
.../view/emf/table/TableIdProvider.java | 35 +-
.../table/ViewTableDescriptionConverter.java | 36 +-
.../provider/CellDescriptionItemProvider.java | 60 ++-
...extfieldWidgetDescriptionItemProvider.java | 19 +-
.../ColumnDescriptionItemProvider.java | 96 +++-
.../provider/RowDescriptionItemProvider.java | 78 ++-
.../view/table/provider/TableEditPlugin.java | 2 +-
.../TableElementDescriptionItemProvider.java | 208 --------
.../src/main/resources/plugin.properties | 16 +-
.../view/table/CellDescription.java | 71 ++-
.../view/table/ColumnDescription.java | 99 +++-
.../components/view/table/RowDescription.java | 80 ++-
.../view/table/TableDescription.java | 4 +-
.../view/table/TableElementDescription.java | 132 -----
.../components/view/table/TablePackage.java | 361 ++++++-------
.../view/table/impl/CellDescriptionImpl.java | 132 ++++-
.../table/impl/ColumnDescriptionImpl.java | 247 ++++++++-
.../view/table/impl/RowDescriptionImpl.java | 195 ++++++-
.../view/table/impl/TableDescriptionImpl.java | 16 +-
.../impl/TableElementDescriptionImpl.java | 345 ------------
.../view/table/impl/TablePackageImpl.java | 165 +++---
.../view/table/util/TableAdapterFactory.java | 38 +-
.../view/table/util/TableSwitch.java | 59 +-
.../src/main/resources/model/table.ecore | 25 +-
.../src/main/resources/model/table.genmodel | 15 +-
61 files changed, 2675 insertions(+), 1292 deletions(-)
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.checkstyle
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.classpath
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.project
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.resources.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.runtime.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.apt.core.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.core.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.m2e.core.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/.settings/org.springframework.ide.eclipse.prefs
create mode 100644 packages/emf/backend/sirius-components-emf-tables/README.adoc
create mode 100644 packages/emf/backend/sirius-components-emf-tables/pom.xml
rename packages/{sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table => emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables}/BackwardTreeIterator.java (98%)
rename packages/{sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table => emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables}/CursorBasedNavigationServices.java (96%)
rename packages/{sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table => emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables}/ForwardTreeIterator.java (74%)
create mode 100644 packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/ArchitectureConstants.java
create mode 100644 packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/CodingRulesTests.java
create mode 100644 packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/SpringCodingRulesTests.java
create mode 100644 packages/emf/backend/sirius-components-emf-tables/src/test/resources/logback-test.xml
create mode 100644 packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/ViewTablePapayaRepresentationDescriptionProvider.java
delete mode 100644 packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/table/TableElementDescriptionBuilder.java
delete mode 100644 packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableElementDescriptionItemProvider.java
delete mode 100644 packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableElementDescription.java
delete mode 100644 packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableElementDescriptionImpl.java
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 30ae9c288d..4e3c8d864b 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -54,6 +54,7 @@ Specifiers can contribute dedicated AQL services for this feature using implemen
- [charts] Make the npm package `sirius-components-charts` use the strict version of our TypeScript configuration
- [trees] Make the npm package `sirius-components-trees` use the strict version of our TypeScript configuration
- https://github.com/eclipse-sirius/sirius-web/issues/1047[#1047] [sirius-web] In the _Domain_ diagram, when using direct-edit on a relatin edge, the initial text now only includes the name of the relation (without the cardinality)
+- https://github.com/eclipse-sirius/sirius-web/issues/4354[#4354] [table] Add support for cursor based pagination in table view DSL
== v2025.1.0
diff --git a/packages/emf/backend/pom.xml b/packages/emf/backend/pom.xml
index defc324fec..155aaaf197 100644
--- a/packages/emf/backend/pom.xml
+++ b/packages/emf/backend/pom.xml
@@ -35,5 +35,6 @@
sirius-components-emf
sirius-components-emf-forms
sirius-components-interpreter
+ sirius-components-emf-tables
diff --git a/packages/emf/backend/sirius-components-emf-tables/.checkstyle b/packages/emf/backend/sirius-components-emf-tables/.checkstyle
new file mode 100644
index 0000000000..9b6893c969
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.checkstyle
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/emf/backend/sirius-components-emf-tables/.classpath b/packages/emf/backend/sirius-components-emf-tables/.classpath
new file mode 100644
index 0000000000..2a5a91b976
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.classpath
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/emf/backend/sirius-components-emf-tables/.project b/packages/emf/backend/sirius-components-emf-tables/.project
new file mode 100644
index 0000000000..bc2ff8d6ce
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.project
@@ -0,0 +1,34 @@
+
+
+ sirius-components-emf-tables
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.springframework.ide.eclipse.boot.validation.springbootbuilder
+
+
+
+
+ net.sf.eclipsecs.core.CheckstyleBuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ net.sf.eclipsecs.core.CheckstyleNature
+
+
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.resources.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..29abf99956
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//src/test/resources=UTF-8
+encoding/=UTF-8
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.runtime.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 0000000000..a287fefdba
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+#Mon Sep 24 15:04:19 CEST 2007
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.apt.core.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.apt.core.prefs
new file mode 100644
index 0000000000..d4313d4b25
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.apt.core.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.apt.aptEnabled=false
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.core.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..2ab93cd0a5
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,505 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.builder.annotationPath.allLocations=disabled
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.APILeak=warning
+org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
+org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
+org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
+org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
+org.eclipse.jdt.core.formatter.align_with_spaces=false
+org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=0
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0
+org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assertion_message=0
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
+org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_record_components=16
+org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0
+org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0
+org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
+org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false
+org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.indent_tag_description=false
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
+org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert
+org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_if_empty
+org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_if_empty
+org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_if_empty
+org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_if_empty
+org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never
+org.eclipse.jdt.core.formatter.lineSplit=200
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
+org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.text_block_indentation=0
+org.eclipse.jdt.core.formatter.use_on_off_tags=true
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
+org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
+org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.ui.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..f789e687ad
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,210 @@
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=true
+cleanup.add_serial_version_id=false
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=true
+cleanup.always_use_this_for_non_static_method_access=true
+cleanup.convert_functional_interfaces=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=true
+cleanup.format_source_code=true
+cleanup.format_source_code_changes_only=false
+cleanup.insert_inferred_type_arguments=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=true
+cleanup.qualify_static_field_accesses_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=false
+cleanup.qualify_static_method_accesses_with_declaring_class=true
+cleanup.remove_private_constructors=true
+cleanup.remove_redundant_modifiers=false
+cleanup.remove_redundant_semicolons=false
+cleanup.remove_redundant_type_arguments=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_anonymous_class_creation=false
+cleanup.use_blocks=false
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_lambda=true
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=true
+cleanup.use_this_for_non_static_field_access_only_if_necessary=false
+cleanup.use_this_for_non_static_method_access=true
+cleanup.use_this_for_non_static_method_access_only_if_necessary=false
+cleanup_profile=_Sirius
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_Sirius
+formatter_settings_version=21
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=com;fr;java;javax;org;
+org.eclipse.jdt.ui.javadoc=true
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.staticondemandthreshold=99
+org.eclipse.jdt.ui.text.custom_code_templates=/*******************************************************************************\n * Copyright (c) ${year} Obeo.\n * This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v2.0\n * which accompanies this distribution, and is available at\n * https\://www.eclipse.org/legal/epl-2.0/\n *\n * SPDX-License-Identifier\: EPL-2.0\n *\n * Contributors\:\n * Obeo - initial API and implementation\n *******************************************************************************/ /**\n * @author ${user}\n */ /**\n * \n */ /**\n * ${tags}\n */ /**\n * ${tags}\n * ${see_to_target}\n */ ${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration} \n \n \n \n ${exception_var}.printStackTrace(); ${body_statement} ${body_statement} return ${field}; ${field} \= ${param}; /**\n * @author ${user}\n *\n * ${tags}\n */ \n
+sp_cleanup.add_all=false
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=true
+sp_cleanup.always_use_this_for_non_static_method_access=true
+sp_cleanup.array_with_curly=false
+sp_cleanup.arrays_fill=false
+sp_cleanup.bitwise_conditional_expression=false
+sp_cleanup.boolean_literal=false
+sp_cleanup.boolean_value_rather_than_comparison=false
+sp_cleanup.break_loop=false
+sp_cleanup.collection_cloning=false
+sp_cleanup.comparing_on_criteria=false
+sp_cleanup.comparison_statement=false
+sp_cleanup.controlflow_merge=false
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.convert_to_enhanced_for_loop_if_loop_var_used=false
+sp_cleanup.convert_to_switch_expressions=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.do_while_rather_than_while=false
+sp_cleanup.double_negation=false
+sp_cleanup.else_if=false
+sp_cleanup.embedded_if=false
+sp_cleanup.evaluate_nullable=false
+sp_cleanup.extract_increment=false
+sp_cleanup.format_source_code=false
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.hash=false
+sp_cleanup.if_condition=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.instanceof=false
+sp_cleanup.instanceof_keyword=false
+sp_cleanup.invert_equals=false
+sp_cleanup.join=false
+sp_cleanup.lazy_logical_operator=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.map_cloning=false
+sp_cleanup.merge_conditional_blocks=false
+sp_cleanup.multi_catch=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.no_string_creation=false
+sp_cleanup.no_super=false
+sp_cleanup.number_suffix=false
+sp_cleanup.objects_equals=false
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.one_if_rather_than_duplicate_blocks_that_fall_through=false
+sp_cleanup.operand_factorization=false
+sp_cleanup.organize_imports=true
+sp_cleanup.overridden_assignment=false
+sp_cleanup.overridden_assignment_move_decl=false
+sp_cleanup.plain_replacement=false
+sp_cleanup.precompile_regex=false
+sp_cleanup.primitive_comparison=false
+sp_cleanup.primitive_parsing=false
+sp_cleanup.primitive_rather_than_wrapper=false
+sp_cleanup.primitive_serialization=false
+sp_cleanup.pull_out_if_from_if_else=false
+sp_cleanup.pull_up_assignment=false
+sp_cleanup.push_down_negation=false
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.reduce_indentation=false
+sp_cleanup.redundant_comparator=false
+sp_cleanup.redundant_falling_through_block_end=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_modifiers=false
+sp_cleanup.remove_redundant_semicolons=false
+sp_cleanup.remove_redundant_type_arguments=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_array_creation=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_method_parameters=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.return_expression=false
+sp_cleanup.simplify_lambda_expression_and_method_ref=false
+sp_cleanup.single_used_field=false
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.standard_comparison=false
+sp_cleanup.static_inner_class=false
+sp_cleanup.strictly_equal_or_different=false
+sp_cleanup.stringbuffer_to_stringbuilder=false
+sp_cleanup.stringbuilder=false
+sp_cleanup.stringbuilder_for_local_vars=false
+sp_cleanup.stringconcat_to_textblock=false
+sp_cleanup.substring=false
+sp_cleanup.switch=false
+sp_cleanup.system_property=false
+sp_cleanup.system_property_boolean=false
+sp_cleanup.system_property_file_encoding=false
+sp_cleanup.system_property_file_separator=false
+sp_cleanup.system_property_line_separator=false
+sp_cleanup.system_property_path_separator=false
+sp_cleanup.ternary_operator=false
+sp_cleanup.try_with_resource=false
+sp_cleanup.unlooped_while=false
+sp_cleanup.unreachable_block=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_autoboxing=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_directly_map_method=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_string_is_blank=false
+sp_cleanup.use_this_for_non_static_field_access=true
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false
+sp_cleanup.use_this_for_non_static_method_access=true
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false
+sp_cleanup.use_unboxing=false
+sp_cleanup.use_var=false
+sp_cleanup.useless_continue=false
+sp_cleanup.useless_return=false
+sp_cleanup.valueof_rather_than_instantiation=false
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.m2e.core.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000000..96b30f9805
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=pom.xml
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/packages/emf/backend/sirius-components-emf-tables/.settings/org.springframework.ide.eclipse.prefs b/packages/emf/backend/sirius-components-emf-tables/.settings/org.springframework.ide.eclipse.prefs
new file mode 100644
index 0000000000..a12794d68f
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/.settings/org.springframework.ide.eclipse.prefs
@@ -0,0 +1,2 @@
+boot.validation.initialized=true
+eclipse.preferences.version=1
diff --git a/packages/emf/backend/sirius-components-emf-tables/README.adoc b/packages/emf/backend/sirius-components-emf-tables/README.adoc
new file mode 100644
index 0000000000..36d97c77dd
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/README.adoc
@@ -0,0 +1,10 @@
+= sirius-components-emf-forms
+
+== Goal
+
+This project provides support for the default integration of EMF in tables.
+
+== Dependencies
+
+- sirius-components-emf
+- sirius-components-tables
diff --git a/packages/emf/backend/sirius-components-emf-tables/pom.xml b/packages/emf/backend/sirius-components-emf-tables/pom.xml
new file mode 100644
index 0000000000..7e3d2d59aa
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/pom.xml
@@ -0,0 +1,138 @@
+
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.4.1
+
+
+ org.eclipse.sirius
+ sirius-components-emf-tables
+ 2025.1.0
+ sirius-components-emf-tables
+ Sirius Components EMF Tables
+
+
+ 17
+
+
+
+
+ Central
+ https://repo.maven.apache.org/maven2
+
+
+
+
+
+ github
+ Apache Maven Packages
+ https://maven.pkg.github.com/eclipse-sirius/sirius-web
+
+
+
+
+
+ io.micrometer
+ micrometer-core
+
+
+ org.eclipse.sirius
+ sirius-components-emf
+ 2025.1.0
+
+
+ org.eclipse.sirius
+ sirius-components-tables
+ 2025.1.0
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.eclipse.sirius
+ sirius-components-tests
+ 2025.1.0
+ test
+
+
+ org.eclipse.sirius
+ sirius-components-spring-tests
+ 2025.1.0
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.4.0
+
+ ../../../releng/backend/sirius-components-resources/checkstyle/CheckstyleConfiguration.xml
+ true
+ true
+ true
+
+
+
+ validate
+ validate
+
+ check
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.12
+
+
+
+ prepare-agent
+
+
+
+ report
+ prepare-package
+
+ report
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+
+
diff --git a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/BackwardTreeIterator.java b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/BackwardTreeIterator.java
similarity index 98%
rename from packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/BackwardTreeIterator.java
rename to packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/BackwardTreeIterator.java
index 2426c9570c..de2b4bb370 100644
--- a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/BackwardTreeIterator.java
+++ b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/BackwardTreeIterator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 Obeo.
+ * Copyright (c) 2024, 2025 Obeo.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
-package org.eclipse.sirius.web.papaya.representations.table;
+package org.eclipse.sirius.components.emf.tables;
import java.util.ArrayList;
import java.util.Collections;
diff --git a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/CursorBasedNavigationServices.java b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/CursorBasedNavigationServices.java
similarity index 96%
rename from packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/CursorBasedNavigationServices.java
rename to packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/CursorBasedNavigationServices.java
index 982ae46d87..b744332889 100644
--- a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/CursorBasedNavigationServices.java
+++ b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/CursorBasedNavigationServices.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 Obeo.
+ * Copyright (c) 2024, 2025 Obeo.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
-package org.eclipse.sirius.web.papaya.representations.table;
+package org.eclipse.sirius.components.emf.tables;
import java.util.ArrayList;
import java.util.Collections;
diff --git a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/ForwardTreeIterator.java b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/ForwardTreeIterator.java
similarity index 74%
rename from packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/ForwardTreeIterator.java
rename to packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/ForwardTreeIterator.java
index 1c184eeeda..63c3142e5e 100644
--- a/packages/sirius-web/backend/sirius-web-papaya/src/main/java/org/eclipse/sirius/web/papaya/representations/table/ForwardTreeIterator.java
+++ b/packages/emf/backend/sirius-components-emf-tables/src/main/java/org/eclipse/sirius/components/emf/tables/ForwardTreeIterator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 Obeo and others.
+ * Copyright (c) 2024, 2025 Obeo.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
-package org.eclipse.sirius.web.papaya.representations.table;
+package org.eclipse.sirius.components.emf.tables;
import java.util.ArrayList;
import java.util.Collections;
@@ -60,7 +60,7 @@ public boolean hasNext() {
}
private boolean hasAnyElement() {
- var iterator = this.getChildren(this.rootEObject);
+ var iterator = this.getNextChild(this.rootEObject);
this.iterators = new ArrayList<>();
var hasNext = iterator.hasNext();
if (hasNext) {
@@ -69,8 +69,21 @@ private boolean hasAnyElement() {
return hasNext;
}
- private Iterator getChildren(EObject eObject) {
- return eObject.eContents().stream().filter(this.filterPredicate).iterator();
+ private Iterator getNextChild(EObject eObject) {
+ Iterator nextChildIterator = null;
+
+ for (EObject child : eObject.eContents()) {
+ var nextMatchingEObject = this.findNextMatchingEObjectRecursive(child);
+ if (nextMatchingEObject != null) {
+ nextChildIterator = List.of(nextMatchingEObject).iterator();
+ break;
+ }
+ }
+
+ if (nextChildIterator == null) {
+ nextChildIterator = Collections.emptyIterator();
+ }
+ return nextChildIterator;
}
private Iterator getNextRelatives(EObject eObject) {
@@ -82,9 +95,12 @@ private Iterator getNextRelatives(EObject eObject) {
var siblings = currentEObject.eContainer().eContents();
var index = siblings.indexOf(currentEObject);
if (index + 1 < siblings.size()) {
- var nextSiblingMatching = this.findNextMatchingEObjectRecursive(siblings.get(index + 1));
- if (nextSiblingMatching != null) {
- nextRelativesIterator = List.of(nextSiblingMatching).iterator();
+ for (int i = index + 1; i < siblings.size(); i++) {
+ var nextSiblingMatching = this.findNextMatchingEObjectRecursive(siblings.get(i));
+ if (nextSiblingMatching != null) {
+ nextRelativesIterator = List.of(nextSiblingMatching).iterator();
+ break;
+ }
}
}
}
@@ -131,7 +147,7 @@ private boolean hasNextRelative() {
public EObject next() {
EObject result = null;
if (this.iterators == null) {
- this.nextPruneIterator = this.getChildren(this.rootEObject);
+ this.nextPruneIterator = this.getNextChild(this.rootEObject);
this.iterators = new ArrayList<>();
if (this.nextPruneIterator.hasNext()) {
this.iterators.add(this.nextPruneIterator);
@@ -152,21 +168,29 @@ public EObject next() {
result = currentIterator.next();
this.nextRemoveIterator = currentIterator;
- var iterator = this.getChildren(result);
+ var iterator = this.getNextChild(result);
if (iterator.hasNext()) {
this.nextPruneIterator = iterator;
this.iterators.add(iterator);
} else {
this.nextPruneIterator = null;
- while (!currentIterator.hasNext()) {
- this.iterators.remove(this.iterators.size() - 1);
- if (this.iterators.isEmpty()) {
- break;
+ var relativeIterator = this.getNextRelatives(result);
+
+ if (relativeIterator.hasNext()) {
+ this.nextRemoveIterator = relativeIterator;
+ this.iterators.add(relativeIterator);
+ } else {
+ while (!currentIterator.hasNext()) {
+ this.iterators.remove(this.iterators.size() - 1);
+ if (this.iterators.isEmpty()) {
+ break;
+ }
+ var nextIterator = this.iterators.get(this.iterators.size() - 1);
+ currentIterator = nextIterator;
}
- var nextIterator = this.iterators.get(this.iterators.size() - 1);
- currentIterator = nextIterator;
}
+
}
}
diff --git a/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/ArchitectureConstants.java b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/ArchitectureConstants.java
new file mode 100644
index 0000000000..0ec09b0868
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/ArchitectureConstants.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2025 Obeo.
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package architecture;
+
+import com.tngtech.archunit.core.domain.JavaClasses;
+import com.tngtech.archunit.core.importer.ClassFileImporter;
+import com.tngtech.archunit.core.importer.ImportOption;
+
+/**
+ * Constants shared accross multiple tests.
+ *
+ * @author frouene
+ */
+public final class ArchitectureConstants {
+
+ public static final String SIRIUS_COMPONENTS_EMF_TABLES_ROOT_PACKAGE = "org.eclipse.sirius.components.emf.tables..";
+
+ public static final JavaClasses CLASSES = new ClassFileImporter()
+ .withImportOption(ImportOption.Predefined.DO_NOT_INCLUDE_JARS)
+ .withImportOption(ImportOption.Predefined.DO_NOT_INCLUDE_TESTS)
+ .importPackages(SIRIUS_COMPONENTS_EMF_TABLES_ROOT_PACKAGE);
+
+ private ArchitectureConstants() {
+ // Prevent instantiation
+ }
+}
diff --git a/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/CodingRulesTests.java b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/CodingRulesTests.java
new file mode 100644
index 0000000000..99760e34d0
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/CodingRulesTests.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2025 Obeo.
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package architecture;
+
+import com.tngtech.archunit.core.domain.JavaClasses;
+
+import org.eclipse.sirius.components.tests.architecture.AbstractCodingRulesTests;
+
+/**
+ * Coding rules tests.
+ *
+ * @author frouene
+ */
+public class CodingRulesTests extends AbstractCodingRulesTests {
+
+ @Override
+ protected String getProjectRootPackage() {
+ return ArchitectureConstants.SIRIUS_COMPONENTS_EMF_TABLES_ROOT_PACKAGE;
+ }
+
+ @Override
+ protected JavaClasses getClasses() {
+ return ArchitectureConstants.CLASSES;
+ }
+
+}
diff --git a/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/SpringCodingRulesTests.java b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/SpringCodingRulesTests.java
new file mode 100644
index 0000000000..da571d7b64
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/src/test/java/architecture/SpringCodingRulesTests.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2025 Obeo.
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package architecture;
+
+import com.tngtech.archunit.core.domain.JavaClasses;
+
+import org.eclipse.sirius.components.spring.tests.architecture.AbstractSpringCodingRulesTests;
+
+/**
+ * Spring coding rules tests.
+ *
+ * @author frouene
+ */
+public class SpringCodingRulesTests extends AbstractSpringCodingRulesTests {
+
+ @Override
+ protected String getProjectRootPackage() {
+ return ArchitectureConstants.SIRIUS_COMPONENTS_EMF_TABLES_ROOT_PACKAGE;
+ }
+
+ @Override
+ protected JavaClasses getClasses() {
+ return ArchitectureConstants.CLASSES;
+ }
+
+}
diff --git a/packages/emf/backend/sirius-components-emf-tables/src/test/resources/logback-test.xml b/packages/emf/backend/sirius-components-emf-tables/src/test/resources/logback-test.xml
new file mode 100644
index 0000000000..6e5a312958
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/src/test/resources/logback-test.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/packages/sirius-web/backend/sirius-web-application/pom.xml b/packages/sirius-web/backend/sirius-web-application/pom.xml
index d13488240c..c3615a1e34 100644
--- a/packages/sirius-web/backend/sirius-web-application/pom.xml
+++ b/packages/sirius-web/backend/sirius-web-application/pom.xml
@@ -1,6 +1,6 @@
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_CellDescription_name_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_CellDescription_name_feature",
+ "_UI_CellDescription_type"),
+ TablePackage.Literals.CELL_DESCRIPTION__NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Precondition Expression feature.
+ *
+ * @generated
+ */
+ protected void addPreconditionExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_CellDescription_preconditionExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_CellDescription_preconditionExpression_feature",
+ "_UI_CellDescription_type"),
+ TablePackage.Literals.CELL_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
/**
* This adds a property descriptor for the Value Expression feature.
@@ -172,6 +215,8 @@ public void notifyChanged(Notification notification) {
this.updateChildren(notification);
switch (notification.getFeatureID(CellDescription.class)) {
+ case TablePackage.CELL_DESCRIPTION__NAME:
+ case TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION:
case TablePackage.CELL_DESCRIPTION__VALUE_EXPRESSION:
case TablePackage.CELL_DESCRIPTION__TOOLTIP_EXPRESSION:
this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
@@ -201,4 +246,15 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors
TableFactory.eINSTANCE.createCellLabelWidgetDescription()));
}
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ((IChildCreationExtender) this.adapterFactory).getResourceLocator();
+ }
+
}
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/CellTextfieldWidgetDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/CellTextfieldWidgetDescriptionItemProvider.java
index fd85f6a8bd..2fab696383 100644
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/CellTextfieldWidgetDescriptionItemProvider.java
+++ b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/CellTextfieldWidgetDescriptionItemProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -28,7 +28,6 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-import org.eclipse.sirius.components.view.ViewFactory;
import org.eclipse.sirius.components.view.table.CellTextfieldWidgetDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -164,28 +163,28 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createChangeContext()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createChangeContext()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createCreateInstance()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createCreateInstance()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createSetValue()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createSetValue()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createUnsetValue()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createUnsetValue()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createDeleteElement()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createDeleteElement()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createLet()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createLet()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createIf()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createIf()));
newChildDescriptors.add(this.createChildParameter(TablePackage.Literals.CELL_TEXTFIELD_WIDGET_DESCRIPTION__BODY,
- ViewFactory.eINSTANCE.createFor()));
+ org.eclipse.sirius.components.view.ViewFactory.eINSTANCE.createFor()));
}
/**
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/ColumnDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/ColumnDescriptionItemProvider.java
index 9cf4a9b09f..aa447cde30 100644
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/ColumnDescriptionItemProvider.java
+++ b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/ColumnDescriptionItemProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -17,9 +17,17 @@
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IChildCreationExtender;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.sirius.components.view.table.ColumnDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -31,7 +39,8 @@
*
* @generated
*/
-public class ColumnDescriptionItemProvider extends TableElementDescriptionItemProvider {
+public class ColumnDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_ColumnDescription_name_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_ColumnDescription_name_feature",
+ "_UI_ColumnDescription_type"),
+ TablePackage.Literals.COLUMN_DESCRIPTION__NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Domain Type feature.
+ *
+ * @generated
+ */
+ protected void addDomainTypePropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_ColumnDescription_domainType_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_ColumnDescription_domainType_feature",
+ "_UI_ColumnDescription_type"),
+ TablePackage.Literals.COLUMN_DESCRIPTION__DOMAIN_TYPE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Semantic Candidates Expression
+ * feature.
+ *
+ * @generated
+ */
+ protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_ColumnDescription_semanticCandidatesExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description",
+ "_UI_ColumnDescription_semanticCandidatesExpression_feature", "_UI_ColumnDescription_type"),
+ TablePackage.Literals.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Precondition Expression feature.
+ *
+ * @generated
+ */
+ protected void addPreconditionExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_ColumnDescription_preconditionExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description",
+ "_UI_ColumnDescription_preconditionExpression_feature", "_UI_ColumnDescription_type"),
+ TablePackage.Literals.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
/**
* This adds a property descriptor for the Header Index Label Expression
* feature.
@@ -206,6 +283,10 @@ public void notifyChanged(Notification notification) {
this.updateChildren(notification);
switch (notification.getFeatureID(ColumnDescription.class)) {
+ case TablePackage.COLUMN_DESCRIPTION__NAME:
+ case TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE:
+ case TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
+ case TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION:
case TablePackage.COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
case TablePackage.COLUMN_DESCRIPTION__HEADER_LABEL_EXPRESSION:
case TablePackage.COLUMN_DESCRIPTION__HEADER_ICON_EXPRESSION:
@@ -230,4 +311,15 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors
super.collectNewChildDescriptors(newChildDescriptors, object);
}
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ((IChildCreationExtender) this.adapterFactory).getResourceLocator();
+ }
+
}
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/RowDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/RowDescriptionItemProvider.java
index 0e302117b2..92fe2fbf7d 100644
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/RowDescriptionItemProvider.java
+++ b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/RowDescriptionItemProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -17,9 +17,17 @@
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IChildCreationExtender;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.sirius.components.view.table.RowDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -31,7 +39,8 @@
*
* @generated
*/
-public class RowDescriptionItemProvider extends TableElementDescriptionItemProvider {
+public class RowDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_RowDescription_name_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_RowDescription_name_feature",
+ "_UI_RowDescription_type"),
+ TablePackage.Literals.ROW_DESCRIPTION__NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Pagination Predicate Expression
+ * feature.
+ *
+ * @generated
+ */
+ protected void addPaginationPredicateExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors
+ .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
+ this.getResourceLocator(), this.getString("_UI_RowDescription_paginationPredicateExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description",
+ "_UI_RowDescription_paginationPredicateExpression_feature", "_UI_RowDescription_type"),
+ TablePackage.Literals.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Precondition Expression feature.
+ *
+ * @generated
+ */
+ protected void addPreconditionExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_RowDescription_preconditionExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_RowDescription_preconditionExpression_feature",
+ "_UI_RowDescription_type"),
+ TablePackage.Literals.ROW_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
/**
* This adds a property descriptor for the Header Label Expression feature.
@@ -189,6 +249,9 @@ public void notifyChanged(Notification notification) {
this.updateChildren(notification);
switch (notification.getFeatureID(RowDescription.class)) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ case TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION:
+ case TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION:
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
case TablePackage.ROW_DESCRIPTION__HEADER_ICON_EXPRESSION:
case TablePackage.ROW_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
@@ -212,4 +275,15 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors
super.collectNewChildDescriptors(newChildDescriptors, object);
}
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ((IChildCreationExtender) this.adapterFactory).getResourceLocator();
+ }
+
}
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableEditPlugin.java b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableEditPlugin.java
index f883077af2..4c1349c02f 100644
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableEditPlugin.java
+++ b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableEditPlugin.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableElementDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableElementDescriptionItemProvider.java
deleted file mode 100644
index f81afca48e..0000000000
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/java/org/eclipse/sirius/components/view/table/provider/TableElementDescriptionItemProvider.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.sirius.components.view.table.provider;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.ResourceLocator;
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IChildCreationExtender;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-import org.eclipse.sirius.components.view.table.TableElementDescription;
-import org.eclipse.sirius.components.view.table.TablePackage;
-
-/**
- * This is the item provider adapter for a
- * {@link org.eclipse.sirius.components.view.table.TableElementDescription}
- * object.
- *
- * @generated
- */
-public class TableElementDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
- IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
-
- /**
- * This constructs an instance from a factory and a notifier.
- *
- * @generated
- */
- public TableElementDescriptionItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (this.itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- this.addNamePropertyDescriptor(object);
- this.addDomainTypePropertyDescriptor(object);
- this.addSemanticCandidatesExpressionPropertyDescriptor(object);
- this.addPreconditionExpressionPropertyDescriptor(object);
- }
- return this.itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
- this.getString("_UI_TableElementDescription_name_feature"),
- this.getString("_UI_PropertyDescriptor_description", "_UI_TableElementDescription_name_feature",
- "_UI_TableElementDescription_type"),
- TablePackage.Literals.TABLE_ELEMENT_DESCRIPTION__NAME, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
- }
-
- /**
- * This adds a property descriptor for the Domain Type feature.
- *
- * @generated
- */
- protected void addDomainTypePropertyDescriptor(Object object) {
- this.itemPropertyDescriptors
- .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
- this.getResourceLocator(), this.getString("_UI_TableElementDescription_domainType_feature"),
- this.getString("_UI_PropertyDescriptor_description",
- "_UI_TableElementDescription_domainType_feature", "_UI_TableElementDescription_type"),
- TablePackage.Literals.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
- }
-
- /**
- * This adds a property descriptor for the Semantic Candidates Expression
- * feature.
- *
- * @generated
- */
- protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) {
- this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
- this.getString("_UI_TableElementDescription_semanticCandidatesExpression_feature"),
- this.getString("_UI_PropertyDescriptor_description",
- "_UI_TableElementDescription_semanticCandidatesExpression_feature",
- "_UI_TableElementDescription_type"),
- TablePackage.Literals.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
- }
-
- /**
- * This adds a property descriptor for the Precondition Expression feature.
- *
- * @generated
- */
- protected void addPreconditionExpressionPropertyDescriptor(Object object) {
- this.itemPropertyDescriptors
- .add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(),
- this.getResourceLocator(), this.getString("_UI_TableElementDescription_preconditionExpression_feature"),
- this.getString("_UI_PropertyDescriptor_description",
- "_UI_TableElementDescription_preconditionExpression_feature",
- "_UI_TableElementDescription_type"),
- TablePackage.Literals.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected boolean shouldComposeCreationImage() {
- return true;
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((TableElementDescription) object).getName();
- return label == null || label.length() == 0 ? this.getString("_UI_TableElementDescription_type")
- : this.getString("_UI_TableElementDescription_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update
- * any cached children and by creating a viewer notification, which it passes to
- * {@link #fireNotifyChanged}.
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- this.updateChildren(notification);
-
- switch (notification.getFeatureID(TableElementDescription.class)) {
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME:
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE:
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION:
- this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing
- * the children that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender) this.adapterFactory).getResourceLocator();
- }
-
-}
diff --git a/packages/view/backend/sirius-components-view-table-edit/src/main/resources/plugin.properties b/packages/view/backend/sirius-components-view-table-edit/src/main/resources/plugin.properties
index b03260e896..b607726804 100644
--- a/packages/view/backend/sirius-components-view-table-edit/src/main/resources/plugin.properties
+++ b/packages/view/backend/sirius-components-view-table-edit/src/main/resources/plugin.properties
@@ -1,5 +1,5 @@
################################################################################
-# Copyright (c) 2024 Obeo.
+# Copyright (c) 2024, 2025 Obeo.
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# which accompanies this distribution, and is available at
@@ -24,7 +24,6 @@ _UI_CreateSibling_description=Create a new sibling of type {0} for the selected
_UI_PropertyDescriptor_description=The {0} of the {1}
_UI_TableDescription_type=Table Description
-_UI_TableElementDescription_type=Element Description
_UI_ColumnDescription_type=Column Description
_UI_RowDescription_type=Row Description
_UI_CellDescription_type=Cell Description
@@ -39,21 +38,26 @@ _UI_TableDescription_useStripedRowsExpression_feature=Use Striped Rows Expressio
_UI_TableDescription_columnDescriptions_feature=Column Descriptions
_UI_TableDescription_rowDescription_feature=Row Description
_UI_TableDescription_cellDescriptions_feature=Cell Descriptions
-_UI_TableElementDescription_name_feature=Name
-_UI_TableElementDescription_domainType_feature=Domain Type
-_UI_TableElementDescription_semanticCandidatesExpression_feature=Semantic Candidates Expression
-_UI_TableElementDescription_preconditionExpression_feature=Precondition Expression
+_UI_ColumnDescription_name_feature=Name
+_UI_ColumnDescription_domainType_feature=Domain Type
+_UI_ColumnDescription_semanticCandidatesExpression_feature=Semantic Candidates Expression
+_UI_ColumnDescription_preconditionExpression_feature=Precondition Expression
_UI_ColumnDescription_headerIndexLabelExpression_feature=Header Index Label Expression
_UI_ColumnDescription_headerLabelExpression_feature=Header Label Expression
_UI_ColumnDescription_headerIconExpression_feature=Header Icon Expression
_UI_ColumnDescription_initialWidthExpression_feature=Initial Width Expression
_UI_ColumnDescription_isResizableExpression_feature=Is Resizable Expression
_UI_ColumnDescription_filterWidgetExpression_feature=Filter Widget Expression
+_UI_RowDescription_name_feature=Name
+_UI_RowDescription_paginationPredicateExpression_feature=Pagination Predicate Expression
+_UI_RowDescription_preconditionExpression_feature=Precondition Expression
_UI_RowDescription_headerLabelExpression_feature=Header Label Expression
_UI_RowDescription_headerIconExpression_feature=Header Icon Expression
_UI_RowDescription_headerIndexLabelExpression_feature=Header Index Label Expression
_UI_RowDescription_initialHeightExpression_feature=Initial Height Expression
_UI_RowDescription_isResizableExpression_feature=Is Resizable Expression
+_UI_CellDescription_name_feature=Name
+_UI_CellDescription_preconditionExpression_feature=Precondition Expression
_UI_CellDescription_valueExpression_feature=Value Expression
_UI_CellDescription_tooltipExpression_feature=Tooltip Expression
_UI_CellDescription_cellWidgetDescription_feature=Cell Widget Description
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/CellDescription.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/CellDescription.java
index d799a298e9..eeefec8537 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/CellDescription.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/CellDescription.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,8 @@
*******************************************************************************/
package org.eclipse.sirius.components.view.table;
+import org.eclipse.emf.ecore.EObject;
+
/**
* A representation of the model object 'Cell Description '.
@@ -32,7 +34,52 @@
* @generated
* @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription()
*/
-public interface CellDescription extends TableElementDescription {
+public interface CellDescription extends EObject {
+
+ /**
+ * Returns the value of the 'Name ' attribute.
+ *
+ * @return the value of the 'Name ' attribute.
+ * @model dataType="org.eclipse.sirius.components.view.Identifier"
+ * @generated
+ * @see #setName(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_Name()
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.CellDescription#getName Name }'
+ * attribute.
+ *
+ * @param value
+ * the new value of the 'Name ' attribute.
+ * @generated
+ * @see #getName()
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the 'Precondition Expression ' attribute. The default value is
+ * ""
.
+ *
+ * @return the value of the 'Precondition Expression ' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setPreconditionExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_PreconditionExpression()
+ */
+ String getPreconditionExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.CellDescription#getPreconditionExpression
+ * Precondition Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Precondition Expression ' attribute.
+ * @generated
+ * @see #getPreconditionExpression()
+ */
+ void setPreconditionExpression(String value);
/**
* Returns the value of the 'Value Expression ' attribute. The default value is ""
.
*
* @param value
- * the new value of the 'Value Expression ' attribute.
- * @see #getValueExpression()
+ * the new value of the 'Value Expression ' attribute.
* @generated
+ * @see #getValueExpression()
*/
void setValueExpression(String value);
@@ -62,10 +109,10 @@ public interface CellDescription extends TableElementDescription {
*
*
* @return the value of the 'Tooltip Expression ' attribute.
- * @see #setTooltipExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_TooltipExpression()
* @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setTooltipExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_TooltipExpression()
*/
String getTooltipExpression();
@@ -74,9 +121,9 @@ public interface CellDescription extends TableElementDescription {
* Tooltip Expression }' attribute.
*
* @param value
- * the new value of the 'Tooltip Expression ' attribute.
- * @see #getTooltipExpression()
+ * the new value of the 'Tooltip Expression ' attribute.
* @generated
+ * @see #getTooltipExpression()
*/
void setTooltipExpression(String value);
@@ -85,10 +132,10 @@ public interface CellDescription extends TableElementDescription {
*
*
* @return the value of the 'Cell Widget Description ' containment reference.
- * @see #setCellWidgetDescription(CellWidgetDescription)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_CellWidgetDescription()
* @model containment="true"
* @generated
+ * @see #setCellWidgetDescription(CellWidgetDescription)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getCellDescription_CellWidgetDescription()
*/
CellWidgetDescription getCellWidgetDescription();
@@ -97,9 +144,9 @@ public interface CellDescription extends TableElementDescription {
* Cell Widget Description }' containment reference.
*
* @param value
- * the new value of the 'Cell Widget Description ' containment reference.
- * @see #getCellWidgetDescription()
+ * the new value of the 'Cell Widget Description ' containment reference.
* @generated
+ * @see #getCellWidgetDescription()
*/
void setCellWidgetDescription(CellWidgetDescription value);
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/ColumnDescription.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/ColumnDescription.java
index 3326f576d0..c3bd060b92 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/ColumnDescription.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/ColumnDescription.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,8 @@
*******************************************************************************/
package org.eclipse.sirius.components.view.table;
+import org.eclipse.emf.ecore.EObject;
+
/**
* A representation of the model object 'Column Description '.
@@ -38,7 +40,100 @@
* @generated
* @see org.eclipse.sirius.components.view.table.TablePackage#getColumnDescription()
*/
-public interface ColumnDescription extends TableElementDescription {
+public interface ColumnDescription extends EObject {
+
+ /**
+ * Returns the value of the 'Name ' attribute.
+ *
+ * @return the value of the 'Name ' attribute.
+ * @model dataType="org.eclipse.sirius.components.view.Identifier"
+ * @generated
+ * @see #setName(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getColumnDescription_Name()
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getName Name }'
+ * attribute.
+ *
+ * @param value
+ * the new value of the 'Name ' attribute.
+ * @generated
+ * @see #getName()
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the 'Domain Type ' attribute. The default value is ""
.
+ *
+ * @return the value of the 'Domain Type ' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.DomainType"
+ * @generated
+ * @see #setDomainType(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getColumnDescription_DomainType()
+ */
+ String getDomainType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getDomainType Domain
+ * Type }' attribute.
+ *
+ * @param value
+ * the new value of the 'Domain Type ' attribute.
+ * @generated
+ * @see #getDomainType()
+ */
+ void setDomainType(String value);
+
+ /**
+ * Returns the value of the 'Semantic Candidates Expression ' attribute.
+ *
+ * @return the value of the 'Semantic Candidates Expression ' attribute.
+ * @model dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setSemanticCandidatesExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getColumnDescription_SemanticCandidatesExpression()
+ */
+ String getSemanticCandidatesExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getSemanticCandidatesExpression Semantic
+ * Candidates Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Semantic Candidates Expression ' attribute.
+ * @generated
+ * @see #getSemanticCandidatesExpression()
+ */
+ void setSemanticCandidatesExpression(String value);
+
+ /**
+ * Returns the value of the 'Precondition Expression ' attribute. The default value is
+ * ""
.
+ *
+ * @return the value of the 'Precondition Expression ' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setPreconditionExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getColumnDescription_PreconditionExpression()
+ */
+ String getPreconditionExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getPreconditionExpression Precondition
+ * Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Precondition Expression ' attribute.
+ * @generated
+ * @see #getPreconditionExpression()
+ */
+ void setPreconditionExpression(String value);
/**
* Returns the value of the 'Header Index Label Expression ' attribute. The default value is
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/RowDescription.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/RowDescription.java
index 51e603f956..7291384627 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/RowDescription.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/RowDescription.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,8 @@
*******************************************************************************/
package org.eclipse.sirius.components.view.table;
+import org.eclipse.emf.ecore.EObject;
+
/**
* A representation of the model object 'Row Description '.
*
@@ -19,6 +21,11 @@
* The following features are supported:
*
*
+ * {@link org.eclipse.sirius.components.view.table.RowDescription#getName Name }
+ * {@link org.eclipse.sirius.components.view.table.RowDescription#getPaginationPredicateExpression Pagination
+ * Predicate Expression }
+ * {@link org.eclipse.sirius.components.view.table.RowDescription#getPreconditionExpression Precondition
+ * Expression }
* {@link org.eclipse.sirius.components.view.table.RowDescription#getHeaderLabelExpression Header Label
* Expression }
* {@link org.eclipse.sirius.components.view.table.RowDescription#getHeaderIconExpression Header Icon
@@ -35,7 +42,76 @@
* @generated
* @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription()
*/
-public interface RowDescription extends TableElementDescription {
+public interface RowDescription extends EObject {
+
+ /**
+ * Returns the value of the 'Name ' attribute.
+ *
+ * @return the value of the 'Name ' attribute.
+ * @model dataType="org.eclipse.sirius.components.view.Identifier"
+ * @generated
+ * @see #setName(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_Name()
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.RowDescription#getName Name }'
+ * attribute.
+ *
+ * @param value
+ * the new value of the 'Name ' attribute.
+ * @generated
+ * @see #getName()
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the 'Pagination Predicate Expression ' attribute. The default value is
+ * ""
.
+ *
+ * @return the value of the 'Pagination Predicate Expression ' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setPaginationPredicateExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_PaginationPredicateExpression()
+ */
+ String getPaginationPredicateExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.table.RowDescription#getPaginationPredicateExpression Pagination
+ * Predicate Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Pagination Predicate Expression ' attribute.
+ * @generated
+ * @see #getPaginationPredicateExpression()
+ */
+ void setPaginationPredicateExpression(String value);
+
+ /**
+ * Returns the value of the 'Precondition Expression ' attribute. The default value is
+ * ""
.
+ *
+ * @return the value of the 'Precondition Expression ' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setPreconditionExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_PreconditionExpression()
+ */
+ String getPreconditionExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.sirius.components.view.table.RowDescription#getPreconditionExpression
+ * Precondition Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Precondition Expression ' attribute.
+ * @generated
+ * @see #getPreconditionExpression()
+ */
+ void setPreconditionExpression(String value);
/**
* Returns the value of the 'Header Label Expression ' attribute. The default value is
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableDescription.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableDescription.java
index 1b180f993b..1e8554abd7 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableDescription.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableDescription.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -67,7 +67,7 @@ public interface TableDescription extends RepresentationDescription {
* end-user-doc -->
*
* @return the value of the 'Column Descriptions ' containment reference list.
- * @model containment="true" keys="name"
+ * @model containment="true"
* @generated
* @see org.eclipse.sirius.components.view.table.TablePackage#getTableDescription_ColumnDescriptions()
*/
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableElementDescription.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableElementDescription.java
deleted file mode 100644
index 6d36891af9..0000000000
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TableElementDescription.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.sirius.components.view.table;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * A representation of the model object 'Element Description '.
- *
- *
- * The following features are supported:
- *
- *
- * {@link org.eclipse.sirius.components.view.table.TableElementDescription#getName Name }
- * {@link org.eclipse.sirius.components.view.table.TableElementDescription#getDomainType Domain Type }
- * {@link org.eclipse.sirius.components.view.table.TableElementDescription#getSemanticCandidatesExpression
- * Semantic Candidates Expression }
- * {@link org.eclipse.sirius.components.view.table.TableElementDescription#getPreconditionExpression
- * Precondition Expression }
- *
- *
- * @model abstract="true"
- * @generated
- * @see org.eclipse.sirius.components.view.table.TablePackage#getTableElementDescription()
- */
-public interface TableElementDescription extends EObject {
-
- /**
- * Returns the value of the 'Name ' attribute.
- *
- * @return the value of the 'Name ' attribute.
- * @see #setName(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getTableElementDescription_Name()
- * @model dataType="org.eclipse.sirius.components.view.Identifier"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getName
- * Name }' attribute.
- *
- * @param value
- * the new value of the 'Name ' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the 'Domain Type ' attribute. The default value is ""
.
- *
- * @return the value of the 'Domain Type ' attribute.
- * @model default="" dataType="org.eclipse.sirius.components.view.DomainType"
- * @generated
- * @see #setDomainType(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getTableElementDescription_DomainType()
- */
- String getDomainType();
-
- /**
- * Sets the value of the '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getDomainType
- * Domain Type }' attribute.
- *
- * @param value
- * the new value of the 'Domain Type ' attribute.
- * @see #getDomainType()
- * @generated
- */
- void setDomainType(String value);
-
- /**
- * Returns the value of the 'Semantic Candidates Expression ' attribute.
- *
- * @return the value of the 'Semantic Candidates Expression ' attribute.
- * @see #setSemanticCandidatesExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getTableElementDescription_SemanticCandidatesExpression()
- * @model dataType="org.eclipse.sirius.components.view.InterpretedExpression"
- * @generated
- */
- String getSemanticCandidatesExpression();
-
- /**
- * Sets the value of the
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getSemanticCandidatesExpression
- * Semantic Candidates Expression }' attribute.
- *
- * @param value
- * the new value of the 'Semantic Candidates Expression ' attribute.
- * @see #getSemanticCandidatesExpression()
- * @generated
- */
- void setSemanticCandidatesExpression(String value);
-
- /**
- * Returns the value of the 'Precondition Expression ' attribute. The default value is
- * ""
.
- *
- * @return the value of the 'Precondition Expression ' attribute.
- * @see #setPreconditionExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getTableElementDescription_PreconditionExpression()
- * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
- * @generated
- */
- String getPreconditionExpression();
-
- /**
- * Sets the value of the
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getPreconditionExpression
- * Precondition Expression }' attribute.
- *
- * @param value
- * the new value of the 'Precondition Expression ' attribute.
- * @see #getPreconditionExpression()
- * @generated
- */
- void setPreconditionExpression(String value);
-
-} // TableElementDescription
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TablePackage.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TablePackage.java
index 47bdb31d7e..2f1c13ef5f 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TablePackage.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/TablePackage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -115,7 +115,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int TABLE_DESCRIPTION__USE_STRIPED_ROWS_EXPRESSION = ViewPackage.REPRESENTATION_DESCRIPTION_FEATURE_COUNT;
+ int TABLE_DESCRIPTION__USE_STRIPED_ROWS_EXPRESSION = ViewPackage.REPRESENTATION_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Column Descriptions ' containment reference list.
@@ -159,69 +159,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int TABLE_DESCRIPTION_OPERATION_COUNT = ViewPackage.REPRESENTATION_DESCRIPTION_OPERATION_COUNT;
-
- /**
- * The meta object id for the '{@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl
- * Element Description }' class.
- *
- * @generated
- * @see org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl
- * @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getTableElementDescription()
- */
- int TABLE_ELEMENT_DESCRIPTION = 1;
-
- /**
- * The feature id for the 'Name ' attribute.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION__NAME = 0;
-
- /**
- * The feature id for the 'Domain Type ' attribute.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE = 1;
-
- /**
- * The feature id for the 'Semantic Candidates Expression ' attribute.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 2;
-
- /**
- * The feature id for the 'Precondition Expression ' attribute.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION = 3;
-
- /**
- * The number of structural features of the 'Element Description ' class.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION_FEATURE_COUNT = 4;
-
- /**
- * The number of operations of the 'Element Description ' class.
- *
- * @generated
- * @ordered
- */
- int TABLE_ELEMENT_DESCRIPTION_OPERATION_COUNT = 0;
+ int TABLE_DESCRIPTION_OPERATION_COUNT = ViewPackage.REPRESENTATION_DESCRIPTION_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl Column
@@ -231,7 +169,7 @@ public interface TablePackage extends EPackage {
* @see org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl
* @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getColumnDescription()
*/
- int COLUMN_DESCRIPTION = 2;
+ int COLUMN_DESCRIPTION = 1;
/**
* The feature id for the 'Name ' attribute.
@@ -239,7 +177,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int COLUMN_DESCRIPTION__NAME = TABLE_ELEMENT_DESCRIPTION__NAME;
+ int COLUMN_DESCRIPTION__NAME = 0;
/**
* The feature id for the 'Domain Type ' attribute.
@@ -247,7 +185,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int COLUMN_DESCRIPTION__DOMAIN_TYPE = TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE;
+ int COLUMN_DESCRIPTION__DOMAIN_TYPE = 1;
/**
* The feature id for the 'Semantic Candidates Expression ' attribute.
@@ -355,24 +293,16 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int ROW_DESCRIPTION__NAME = TABLE_ELEMENT_DESCRIPTION__NAME;
-
- /**
- * The feature id for the 'Domain Type ' attribute.
- *
- * @generated
- * @ordered
- */
- int ROW_DESCRIPTION__DOMAIN_TYPE = TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE;
+ int ROW_DESCRIPTION__NAME = 0;
/**
- * The feature id for the 'Semantic Candidates Expression ' attribute.
*
* @generated
* @ordered
*/
- int ROW_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION;
+ int ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION = 1;
/**
* The feature id for the 'Precondition Expression ' attribute.
@@ -443,7 +373,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int ROW_DESCRIPTION_OPERATION_COUNT = TABLE_ELEMENT_DESCRIPTION_OPERATION_COUNT;
+ int ROW_DESCRIPTION_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.table.impl.CellDescriptionImpl Cell
@@ -453,7 +383,7 @@ public interface TablePackage extends EPackage {
* @see org.eclipse.sirius.components.view.table.impl.CellDescriptionImpl
* @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getCellDescription()
*/
- int CELL_DESCRIPTION = 4;
+ int CELL_DESCRIPTION = 3;
/**
* The feature id for the 'Name ' attribute.
@@ -461,24 +391,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int CELL_DESCRIPTION__NAME = TABLE_ELEMENT_DESCRIPTION__NAME;
-
- /**
- * The feature id for the 'Domain Type ' attribute.
- *
- * @generated
- * @ordered
- */
- int CELL_DESCRIPTION__DOMAIN_TYPE = TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE;
-
- /**
- * The feature id for the 'Semantic Candidates Expression ' attribute.
- *
- * @generated
- * @ordered
- */
- int CELL_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION;
+ int CELL_DESCRIPTION__NAME = 0;
/**
* The feature id for the 'Precondition Expression ' attribute.
@@ -514,7 +427,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int CELL_DESCRIPTION__CELL_WIDGET_DESCRIPTION = TABLE_ELEMENT_DESCRIPTION_FEATURE_COUNT + 2;
+ int CELL_DESCRIPTION__CELL_WIDGET_DESCRIPTION = 4;
/**
* The number of structural features of the 'Cell Description ' class.
@@ -531,7 +444,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int CELL_DESCRIPTION_OPERATION_COUNT = TABLE_ELEMENT_DESCRIPTION_OPERATION_COUNT;
+ int CELL_DESCRIPTION_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.table.CellWidgetDescription Cell Widget
@@ -541,7 +454,7 @@ public interface TablePackage extends EPackage {
* @see org.eclipse.sirius.components.view.table.CellWidgetDescription
* @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getCellWidgetDescription()
*/
- int CELL_WIDGET_DESCRIPTION = 5;
+ int CELL_WIDGET_DESCRIPTION = 4;
/**
* The number of structural features of the 'Cell Widget Description ' class.
@@ -615,7 +528,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int CELL_LABEL_WIDGET_DESCRIPTION__ICON_EXPRESSION = CELL_WIDGET_DESCRIPTION_FEATURE_COUNT;
+ int CELL_LABEL_WIDGET_DESCRIPTION__ICON_EXPRESSION = CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The singleton instance of the package.
@@ -640,7 +553,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int CELL_LABEL_WIDGET_DESCRIPTION_OPERATION_COUNT = CELL_WIDGET_DESCRIPTION_OPERATION_COUNT;
+ int CELL_LABEL_WIDGET_DESCRIPTION_OPERATION_COUNT = CELL_WIDGET_DESCRIPTION_OPERATION_COUNT + 0;
/**
* Returns the meta object for class '{@link org.eclipse.sirius.components.view.table.TableDescription
@@ -701,72 +614,62 @@ public interface TablePackage extends EPackage {
EReference getTableDescription_CellDescriptions();
/**
- * Returns the meta object for class '{@link org.eclipse.sirius.components.view.table.TableElementDescription
- * Element Description }'.
+ * Returns the meta object for class '{@link org.eclipse.sirius.components.view.table.ColumnDescription Column
+ * Description }'.
*
- * @return the meta object for class 'Element Description '.
+ * @return the meta object for class 'Column Description '.
* @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription
*/
- EClass getTableElementDescription();
+ EClass getColumnDescription();
/**
* Returns the meta object for the attribute
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getName Name }'.
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getName Name }'.
*
* @return the meta object for the attribute 'Name '.
* @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription#getName()
- * @see #getTableElementDescription()
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription#getName()
+ * @see #getColumnDescription()
*/
- EAttribute getTableElementDescription_Name();
+ EAttribute getColumnDescription_Name();
/**
* Returns the meta object for the attribute
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getDomainType Domain Type }'.
- *
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getDomainType Domain Type }'.
*
* @return the meta object for the attribute 'Domain Type '.
* @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription#getDomainType()
- * @see #getTableElementDescription()
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription#getDomainType()
+ * @see #getColumnDescription()
*/
- EAttribute getTableElementDescription_DomainType();
+ EAttribute getColumnDescription_DomainType();
/**
* Returns the meta object for the attribute
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getSemanticCandidatesExpression
- * Semantic Candidates Expression }'.
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getSemanticCandidatesExpression Semantic
+ * Candidates Expression }'.
*
* @return the meta object for the attribute 'Semantic Candidates Expression '.
* @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription#getSemanticCandidatesExpression()
- * @see #getTableElementDescription()
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription#getSemanticCandidatesExpression()
+ * @see #getColumnDescription()
*/
- EAttribute getTableElementDescription_SemanticCandidatesExpression();
+ EAttribute getColumnDescription_SemanticCandidatesExpression();
/**
* Returns the meta object for the attribute
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription#getPreconditionExpression
- * Precondition Expression }'.
+ * '{@link org.eclipse.sirius.components.view.table.ColumnDescription#getPreconditionExpression Precondition
+ * Expression }'.
*
* @return the meta object for the attribute 'Precondition Expression '.
* @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription#getPreconditionExpression()
- * @see #getTableElementDescription()
- */
- EAttribute getTableElementDescription_PreconditionExpression();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.sirius.components.view.table.ColumnDescription Column
- * Description }'.
- *
- * @return the meta object for class 'Column Description '.
- * @generated
- * @see org.eclipse.sirius.components.view.table.ColumnDescription
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription#getPreconditionExpression()
+ * @see #getColumnDescription()
*/
- EClass getColumnDescription();
+ EAttribute getColumnDescription_PreconditionExpression();
/**
* Returns the meta object for the attribute
@@ -850,6 +753,41 @@ public interface TablePackage extends EPackage {
*/
EClass getRowDescription();
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.sirius.components.view.table.RowDescription#getName
+ * Name }'.
+ *
+ * @return the meta object for the attribute 'Name '.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.RowDescription#getName()
+ * @see #getRowDescription()
+ */
+ EAttribute getRowDescription_Name();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.table.RowDescription#getPaginationPredicateExpression Pagination
+ * Predicate Expression }'.
+ *
+ * @return the meta object for the attribute 'Pagination Predicate Expression '.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.RowDescription#getPaginationPredicateExpression()
+ * @see #getRowDescription()
+ */
+ EAttribute getRowDescription_PaginationPredicateExpression();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.table.RowDescription#getPreconditionExpression Precondition
+ * Expression }'.
+ *
+ * @return the meta object for the attribute 'Precondition Expression '.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.RowDescription#getPreconditionExpression()
+ * @see #getRowDescription()
+ */
+ EAttribute getRowDescription_PreconditionExpression();
+
/**
* Returns the meta object for the attribute
* '{@link org.eclipse.sirius.components.view.table.RowDescription#getHeaderLabelExpression Header Label
@@ -920,6 +858,30 @@ public interface TablePackage extends EPackage {
*/
EClass getCellDescription();
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.table.CellDescription#getName Name }'.
+ *
+ *
+ * @return the meta object for the attribute 'Name '.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.CellDescription#getName()
+ * @see #getCellDescription()
+ */
+ EAttribute getCellDescription_Name();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.table.CellDescription#getPreconditionExpression Precondition
+ * Expression }'.
+ *
+ * @return the meta object for the attribute 'Precondition Expression '.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.CellDescription#getPreconditionExpression()
+ * @see #getCellDescription()
+ */
+ EAttribute getCellDescription_PreconditionExpression();
+
/**
* Returns the meta object for the attribute
* '{@link org.eclipse.sirius.components.view.table.CellDescription#getValueExpression Value Expression }'.
@@ -1076,15 +1038,14 @@ interface Literals {
EReference TABLE_DESCRIPTION__CELL_DESCRIPTIONS = eINSTANCE.getTableDescription_CellDescriptions();
/**
- * The meta object literal for the
- * '{@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl Element
- * Description }' class.
+ * The meta object literal for the '{@link org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl
+ * Column Description }' class.
*
* @generated
- * @see org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl
- * @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getTableElementDescription()
+ * @see org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl
+ * @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getColumnDescription()
*/
- EClass TABLE_ELEMENT_DESCRIPTION = eINSTANCE.getTableElementDescription();
+ EClass COLUMN_DESCRIPTION = eINSTANCE.getColumnDescription();
/**
* The meta object literal for the 'Name ' attribute feature.
- *
- * @generated
- * @see org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl
- * @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getColumnDescription()
- */
- EClass COLUMN_DESCRIPTION = eINSTANCE.getColumnDescription();
+ EAttribute COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getColumnDescription_PreconditionExpression();
/**
* The meta object literal for the 'Header Index Label Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute ROW_DESCRIPTION__NAME = eINSTANCE.getRowDescription_Name();
+
+ /**
+ * The meta object literal for the 'Pagination Predicate Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION = eINSTANCE.getRowDescription_PaginationPredicateExpression();
+
+ /**
+ * The meta object literal for the 'Precondition Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute ROW_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getRowDescription_PreconditionExpression();
+
/**
* The meta object literal for the 'Header Label Expression ' attribute feature.
@@ -1236,6 +1211,22 @@ interface Literals {
*/
EClass CELL_DESCRIPTION = eINSTANCE.getCellDescription();
+ /**
+ * The meta object literal for the 'Name ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute CELL_DESCRIPTION__NAME = eINSTANCE.getCellDescription_Name();
+
+ /**
+ * The meta object literal for the 'Precondition Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute CELL_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getCellDescription_PreconditionExpression();
+
/**
* The meta object literal for the 'Value Expression ' attribute feature.
*
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/CellDescriptionImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/CellDescriptionImpl.java
index 9116ab3d1f..2f199f80ce 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/CellDescriptionImpl.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/CellDescriptionImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -17,6 +17,7 @@
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.sirius.components.view.table.CellDescription;
import org.eclipse.sirius.components.view.table.CellWidgetDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -38,28 +39,35 @@
*
* @generated
*/
-public class CellDescriptionImpl extends TableElementDescriptionImpl implements CellDescription {
+public class CellDescriptionImpl extends MinimalEObjectImpl.Container implements CellDescription {
/**
- * The default value of the '{@link #getValueExpression() Value Expression }' attribute.
+ * The default value of the '{@link #getName() Name }' attribute.
*
- * @see #getValueExpression()
* @generated
* @ordered
+ * @see #getName()
*/
- protected static final String VALUE_EXPRESSION_EDEFAULT = "";
-
+ protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getValueExpression() Value Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected static final String PRECONDITION_EXPRESSION_EDEFAULT = "";
+ /**
+ * The default value of the '{@link #getValueExpression() Value Expression }' attribute.
*
- * @see #getValueExpression()
* @generated
* @ordered
+ * @see #getValueExpression()
*/
- protected String valueExpression = VALUE_EXPRESSION_EDEFAULT;
-
+ protected static final String VALUE_EXPRESSION_EDEFAULT = "";
/**
* The default value of the '{@link #getTooltipExpression() Tooltip Expression }' attribute.
@@ -69,7 +77,33 @@ public class CellDescriptionImpl extends TableElementDescriptionImpl implements
* @see #getTooltipExpression()
*/
protected static final String TOOLTIP_EXPRESSION_EDEFAULT = "";
-
+ /**
+ * The cached value of the '{@link #getName() Name }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getName()
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getValueExpression() Value Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getValueExpression()
+ */
+ protected String valueExpression = VALUE_EXPRESSION_EDEFAULT;
/**
* The cached value of the '{@link #getTooltipExpression() Tooltip Expression }' attribute.
@@ -84,9 +118,9 @@ public class CellDescriptionImpl extends TableElementDescriptionImpl implements
* The cached value of the '{@link #getCellWidgetDescription() Cell Widget Description }' containment
* reference.
*
- * @see #getCellWidgetDescription()
* @generated
* @ordered
+ * @see #getCellWidgetDescription()
*/
protected CellWidgetDescription cellWidgetDescription;
@@ -109,6 +143,52 @@ protected EClass eStaticClass() {
return TablePackage.Literals.CELL_DESCRIPTION;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setName(String newName) {
+ String oldName = this.name;
+ this.name = newName;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.CELL_DESCRIPTION__NAME, oldName, this.name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getPreconditionExpression() {
+ return this.preconditionExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setPreconditionExpression(String newPreconditionExpression) {
+ String oldPreconditionExpression = this.preconditionExpression;
+ this.preconditionExpression = newPreconditionExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, this.preconditionExpression));
+ }
+
/**
*
*
@@ -225,6 +305,10 @@ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case TablePackage.CELL_DESCRIPTION__NAME:
+ return this.getName();
+ case TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return this.getPreconditionExpression();
case TablePackage.CELL_DESCRIPTION__VALUE_EXPRESSION:
return this.getValueExpression();
case TablePackage.CELL_DESCRIPTION__TOOLTIP_EXPRESSION:
@@ -243,6 +327,12 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case TablePackage.CELL_DESCRIPTION__NAME:
+ this.setName((String) newValue);
+ return;
+ case TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression((String) newValue);
+ return;
case TablePackage.CELL_DESCRIPTION__VALUE_EXPRESSION:
this.setValueExpression((String) newValue);
return;
@@ -264,6 +354,12 @@ public void eSet(int featureID, Object newValue) {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case TablePackage.CELL_DESCRIPTION__NAME:
+ this.setName(NAME_EDEFAULT);
+ return;
+ case TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT);
+ return;
case TablePackage.CELL_DESCRIPTION__VALUE_EXPRESSION:
this.setValueExpression(VALUE_EXPRESSION_EDEFAULT);
return;
@@ -285,6 +381,10 @@ public void eUnset(int featureID) {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case TablePackage.CELL_DESCRIPTION__NAME:
+ return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
+ case TablePackage.CELL_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return PRECONDITION_EXPRESSION_EDEFAULT == null ? this.preconditionExpression != null : !PRECONDITION_EXPRESSION_EDEFAULT.equals(this.preconditionExpression);
case TablePackage.CELL_DESCRIPTION__VALUE_EXPRESSION:
return VALUE_EXPRESSION_EDEFAULT == null ? this.valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(this.valueExpression);
case TablePackage.CELL_DESCRIPTION__TOOLTIP_EXPRESSION:
@@ -306,7 +406,11 @@ public String toString() {
return super.toString();
StringBuilder result = new StringBuilder(super.toString());
- result.append(" (valueExpression: ");
+ result.append(" (name: ");
+ result.append(this.name);
+ result.append(", preconditionExpression: ");
+ result.append(this.preconditionExpression);
+ result.append(", valueExpression: ");
result.append(this.valueExpression);
result.append(", tooltipExpression: ");
result.append(this.tooltipExpression);
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/ColumnDescriptionImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/ColumnDescriptionImpl.java
index cf70dd37b9..8844f26c8d 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/ColumnDescriptionImpl.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/ColumnDescriptionImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -15,6 +15,7 @@
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.sirius.components.view.table.ColumnDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -41,8 +42,44 @@
*
* @generated
*/
-public class ColumnDescriptionImpl extends TableElementDescriptionImpl implements ColumnDescription {
+public class ColumnDescriptionImpl extends MinimalEObjectImpl.Container implements ColumnDescription {
+ /**
+ * The default value of the '{@link #getName() Name }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getName()
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The default value of the '{@link #getDomainType() Domain Type }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getDomainType()
+ */
+ protected static final String DOMAIN_TYPE_EDEFAULT = "";
+ /**
+ * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression }'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getSemanticCandidatesExpression()
+ */
+ protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null;
+ /**
+ * The default value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected static final String PRECONDITION_EXPRESSION_EDEFAULT = "";
/**
* The default value of the '{@link #getHeaderIndexLabelExpression() Header Index Label Expression }'
* attribute.
@@ -97,6 +134,42 @@ public class ColumnDescriptionImpl extends TableElementDescriptionImpl implement
* @see #getFilterWidgetExpression()
*/
protected static final String FILTER_WIDGET_EXPRESSION_EDEFAULT = "";
+ /**
+ * The cached value of the '{@link #getName() Name }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getName()
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getDomainType() Domain Type }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getDomainType()
+ */
+ protected String domainType = DOMAIN_TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression }'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getSemanticCandidatesExpression()
+ */
+ protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT;
/**
* The cached value of the '{@link #getHeaderIndexLabelExpression() Header Index Label Expression }'
* attribute.
@@ -171,6 +244,99 @@ protected EClass eStaticClass() {
return TablePackage.Literals.COLUMN_DESCRIPTION;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setName(String newName) {
+ String oldName = this.name;
+ this.name = newName;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.COLUMN_DESCRIPTION__NAME, oldName, this.name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getDomainType() {
+ return this.domainType;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setDomainType(String newDomainType) {
+ String oldDomainType = this.domainType;
+ this.domainType = newDomainType;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE, oldDomainType, this.domainType));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getSemanticCandidatesExpression() {
+ return this.semanticCandidatesExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) {
+ String oldSemanticCandidatesExpression = this.semanticCandidatesExpression;
+ this.semanticCandidatesExpression = newSemanticCandidatesExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(
+ new ENotificationImpl(this, Notification.SET, TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, this.semanticCandidatesExpression));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getPreconditionExpression() {
+ return this.preconditionExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setPreconditionExpression(String newPreconditionExpression) {
+ String oldPreconditionExpression = this.preconditionExpression;
+ this.preconditionExpression = newPreconditionExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, this.preconditionExpression));
+ }
+
/**
*
*
@@ -317,6 +483,14 @@ public void setFilterWidgetExpression(String newFilterWidgetExpression) {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case TablePackage.COLUMN_DESCRIPTION__NAME:
+ return this.getName();
+ case TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE:
+ return this.getDomainType();
+ case TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
+ return this.getSemanticCandidatesExpression();
+ case TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return this.getPreconditionExpression();
case TablePackage.COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
return this.getHeaderIndexLabelExpression();
case TablePackage.COLUMN_DESCRIPTION__HEADER_LABEL_EXPRESSION:
@@ -341,6 +515,18 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case TablePackage.COLUMN_DESCRIPTION__NAME:
+ this.setName((String) newValue);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE:
+ this.setDomainType((String) newValue);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
+ this.setSemanticCandidatesExpression((String) newValue);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression((String) newValue);
+ return;
case TablePackage.COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
this.setHeaderIndexLabelExpression((String) newValue);
return;
@@ -371,6 +557,18 @@ public void eSet(int featureID, Object newValue) {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case TablePackage.COLUMN_DESCRIPTION__NAME:
+ this.setName(NAME_EDEFAULT);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE:
+ this.setDomainType(DOMAIN_TYPE_EDEFAULT);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
+ this.setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT);
+ return;
+ case TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT);
+ return;
case TablePackage.COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
this.setHeaderIndexLabelExpression(HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT);
return;
@@ -401,6 +599,14 @@ public void eUnset(int featureID) {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case TablePackage.COLUMN_DESCRIPTION__NAME:
+ return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
+ case TablePackage.COLUMN_DESCRIPTION__DOMAIN_TYPE:
+ return DOMAIN_TYPE_EDEFAULT == null ? this.domainType != null : !DOMAIN_TYPE_EDEFAULT.equals(this.domainType);
+ case TablePackage.COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
+ return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? this.semanticCandidatesExpression != null : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(this.semanticCandidatesExpression);
+ case TablePackage.COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return PRECONDITION_EXPRESSION_EDEFAULT == null ? this.preconditionExpression != null : !PRECONDITION_EXPRESSION_EDEFAULT.equals(this.preconditionExpression);
case TablePackage.COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
return HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT == null ? this.headerIndexLabelExpression != null : !HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT.equals(this.headerIndexLabelExpression);
case TablePackage.COLUMN_DESCRIPTION__HEADER_LABEL_EXPRESSION:
@@ -427,20 +633,29 @@ public String toString() {
if (this.eIsProxy())
return super.toString();
- String result = super.toString() + " (headerIndexLabelExpression: " +
- this.headerIndexLabelExpression +
- ", headerLabelExpression: " +
- this.headerLabelExpression +
- ", headerIconExpression: " +
- this.headerIconExpression +
- ", initialWidthExpression: " +
- this.initialWidthExpression +
- ", isResizableExpression: " +
- this.isResizableExpression +
- ", filterWidgetExpression: " +
- this.filterWidgetExpression +
- ')';
- return result;
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (name: ");
+ result.append(this.name);
+ result.append(", domainType: ");
+ result.append(this.domainType);
+ result.append(", semanticCandidatesExpression: ");
+ result.append(this.semanticCandidatesExpression);
+ result.append(", preconditionExpression: ");
+ result.append(this.preconditionExpression);
+ result.append(", headerIndexLabelExpression: ");
+ result.append(this.headerIndexLabelExpression);
+ result.append(", headerLabelExpression: ");
+ result.append(this.headerLabelExpression);
+ result.append(", headerIconExpression: ");
+ result.append(this.headerIconExpression);
+ result.append(", initialWidthExpression: ");
+ result.append(this.initialWidthExpression);
+ result.append(", isResizableExpression: ");
+ result.append(this.isResizableExpression);
+ result.append(", filterWidgetExpression: ");
+ result.append(this.filterWidgetExpression);
+ result.append(')');
+ return result.toString();
}
} // ColumnDescriptionImpl
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/RowDescriptionImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/RowDescriptionImpl.java
index 49a63e2a59..9e9738ee89 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/RowDescriptionImpl.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/RowDescriptionImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -12,11 +12,10 @@
*******************************************************************************/
package org.eclipse.sirius.components.view.table.impl;
-import java.util.Objects;
-
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.sirius.components.view.table.RowDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -35,8 +34,35 @@
*
* @generated
*/
-public class RowDescriptionImpl extends TableElementDescriptionImpl implements RowDescription {
+public class RowDescriptionImpl extends MinimalEObjectImpl.Container implements RowDescription {
+ /**
+ * The default value of the '{@link #getName() Name }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getName()
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The default value of the '{@link #getPaginationPredicateExpression() Pagination Predicate Expression }'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPaginationPredicateExpression()
+ */
+ protected static final String PAGINATION_PREDICATE_EXPRESSION_EDEFAULT = "";
+ /**
+ * The default value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected static final String PRECONDITION_EXPRESSION_EDEFAULT = "";
/**
* The default value of the '{@link #getHeaderLabelExpression() Header Label Expression }' attribute.
@@ -82,6 +108,33 @@ public class RowDescriptionImpl extends TableElementDescriptionImpl implements R
* @see #getIsResizableExpression()
*/
protected static final String IS_RESIZABLE_EXPRESSION_EDEFAULT = "";
+ /**
+ * The cached value of the '{@link #getName() Name }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getName()
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getPaginationPredicateExpression() Pagination Predicate Expression }'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPaginationPredicateExpression()
+ */
+ protected String paginationPredicateExpression = PAGINATION_PREDICATE_EXPRESSION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getPreconditionExpression()
+ */
+ protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT;
/**
* The cached value of the '{@link #getHeaderLabelExpression() Header Label Expression }' attribute.
@@ -147,6 +200,76 @@ protected EClass eStaticClass() {
return TablePackage.Literals.ROW_DESCRIPTION;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setName(String newName) {
+ String oldName = this.name;
+ this.name = newName;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.ROW_DESCRIPTION__NAME, oldName, this.name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getPaginationPredicateExpression() {
+ return this.paginationPredicateExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setPaginationPredicateExpression(String newPaginationPredicateExpression) {
+ String oldPaginationPredicateExpression = this.paginationPredicateExpression;
+ this.paginationPredicateExpression = newPaginationPredicateExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(
+ new ENotificationImpl(this, Notification.SET, TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION, oldPaginationPredicateExpression, this.paginationPredicateExpression));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getPreconditionExpression() {
+ return this.preconditionExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setPreconditionExpression(String newPreconditionExpression) {
+ String oldPreconditionExpression = this.preconditionExpression;
+ this.preconditionExpression = newPreconditionExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, this.preconditionExpression));
+ }
+
/**
*
*
@@ -270,6 +393,12 @@ public void setIsResizableExpression(String newIsResizableExpression) {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ return this.getName();
+ case TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION:
+ return this.getPaginationPredicateExpression();
+ case TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return this.getPreconditionExpression();
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
return this.getHeaderLabelExpression();
case TablePackage.ROW_DESCRIPTION__HEADER_ICON_EXPRESSION:
@@ -292,6 +421,15 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ this.setName((String) newValue);
+ return;
+ case TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION:
+ this.setPaginationPredicateExpression((String) newValue);
+ return;
+ case TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression((String) newValue);
+ return;
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
this.setHeaderLabelExpression((String) newValue);
return;
@@ -319,6 +457,15 @@ public void eSet(int featureID, Object newValue) {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ this.setName(NAME_EDEFAULT);
+ return;
+ case TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION:
+ this.setPaginationPredicateExpression(PAGINATION_PREDICATE_EXPRESSION_EDEFAULT);
+ return;
+ case TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION:
+ this.setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT);
+ return;
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
this.setHeaderLabelExpression(HEADER_LABEL_EXPRESSION_EDEFAULT);
return;
@@ -346,12 +493,19 @@ public void eUnset(int featureID) {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
+ case TablePackage.ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION:
+ return PAGINATION_PREDICATE_EXPRESSION_EDEFAULT == null ? this.paginationPredicateExpression != null
+ : !PAGINATION_PREDICATE_EXPRESSION_EDEFAULT.equals(this.paginationPredicateExpression);
+ case TablePackage.ROW_DESCRIPTION__PRECONDITION_EXPRESSION:
+ return PRECONDITION_EXPRESSION_EDEFAULT == null ? this.preconditionExpression != null : !PRECONDITION_EXPRESSION_EDEFAULT.equals(this.preconditionExpression);
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
return HEADER_LABEL_EXPRESSION_EDEFAULT == null ? this.headerLabelExpression != null : !HEADER_LABEL_EXPRESSION_EDEFAULT.equals(this.headerLabelExpression);
case TablePackage.ROW_DESCRIPTION__HEADER_ICON_EXPRESSION:
return HEADER_ICON_EXPRESSION_EDEFAULT == null ? this.headerIconExpression != null : !HEADER_ICON_EXPRESSION_EDEFAULT.equals(this.headerIconExpression);
case TablePackage.ROW_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION:
- return !Objects.equals(HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT, this.headerIndexLabelExpression);
+ return HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT == null ? this.headerIndexLabelExpression != null : !HEADER_INDEX_LABEL_EXPRESSION_EDEFAULT.equals(this.headerIndexLabelExpression);
case TablePackage.ROW_DESCRIPTION__INITIAL_HEIGHT_EXPRESSION:
return INITIAL_HEIGHT_EXPRESSION_EDEFAULT == null ? this.initialHeightExpression != null : !INITIAL_HEIGHT_EXPRESSION_EDEFAULT.equals(this.initialHeightExpression);
case TablePackage.ROW_DESCRIPTION__IS_RESIZABLE_EXPRESSION:
@@ -370,18 +524,25 @@ public String toString() {
if (this.eIsProxy())
return super.toString();
- String result = super.toString() + " (headerLabelExpression: " +
- this.headerLabelExpression +
- ", headerIconExpression: " +
- this.headerIconExpression +
- ", headerIndexLabelExpression: " +
- this.headerIndexLabelExpression +
- ", initialHeightExpression: " +
- this.initialHeightExpression +
- ", isResizableExpression: " +
- this.isResizableExpression +
- ')';
- return result;
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (name: ");
+ result.append(this.name);
+ result.append(", paginationPredicateExpression: ");
+ result.append(this.paginationPredicateExpression);
+ result.append(", preconditionExpression: ");
+ result.append(this.preconditionExpression);
+ result.append(", headerLabelExpression: ");
+ result.append(this.headerLabelExpression);
+ result.append(", headerIconExpression: ");
+ result.append(this.headerIconExpression);
+ result.append(", headerIndexLabelExpression: ");
+ result.append(this.headerIndexLabelExpression);
+ result.append(", initialHeightExpression: ");
+ result.append(this.initialHeightExpression);
+ result.append(", isResizableExpression: ");
+ result.append(this.isResizableExpression);
+ result.append(')');
+ return result.toString();
}
} // RowDescriptionImpl
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableDescriptionImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableDescriptionImpl.java
index bb532611a9..3a839497d3 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableDescriptionImpl.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableDescriptionImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -13,7 +13,6 @@
package org.eclipse.sirius.components.view.table.impl;
import java.util.Collection;
-import java.util.Objects;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -296,7 +295,7 @@ public void eUnset(int featureID) {
this.getColumnDescriptions().clear();
return;
case TablePackage.TABLE_DESCRIPTION__ROW_DESCRIPTION:
- this.setRowDescription(null);
+ this.setRowDescription((RowDescription) null);
return;
case TablePackage.TABLE_DESCRIPTION__CELL_DESCRIPTIONS:
this.getCellDescriptions().clear();
@@ -314,7 +313,7 @@ public void eUnset(int featureID) {
public boolean eIsSet(int featureID) {
switch (featureID) {
case TablePackage.TABLE_DESCRIPTION__USE_STRIPED_ROWS_EXPRESSION:
- return !Objects.equals(USE_STRIPED_ROWS_EXPRESSION_EDEFAULT, this.useStripedRowsExpression);
+ return USE_STRIPED_ROWS_EXPRESSION_EDEFAULT == null ? this.useStripedRowsExpression != null : !USE_STRIPED_ROWS_EXPRESSION_EDEFAULT.equals(this.useStripedRowsExpression);
case TablePackage.TABLE_DESCRIPTION__COLUMN_DESCRIPTIONS:
return this.columnDescriptions != null && !this.columnDescriptions.isEmpty();
case TablePackage.TABLE_DESCRIPTION__ROW_DESCRIPTION:
@@ -335,10 +334,11 @@ public String toString() {
if (this.eIsProxy())
return super.toString();
- String result = super.toString() + " (useStripedRowsExpression: " +
- this.useStripedRowsExpression +
- ')';
- return result;
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (useStripedRowsExpression: ");
+ result.append(this.useStripedRowsExpression);
+ result.append(')');
+ return result.toString();
}
} // TableDescriptionImpl
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableElementDescriptionImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableElementDescriptionImpl.java
deleted file mode 100644
index 39b19d0cf3..0000000000
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TableElementDescriptionImpl.java
+++ /dev/null
@@ -1,345 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.sirius.components.view.table.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.sirius.components.view.table.TableElementDescription;
-import org.eclipse.sirius.components.view.table.TablePackage;
-
-/**
- * An implementation of the model object 'Element Description '.
- *
- * The following features are implemented:
- *
- *
- * {@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl#getName Name }
- * {@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl#getDomainType Domain
- * Type }
- * {@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl#getSemanticCandidatesExpression
- * Semantic Candidates Expression }
- * {@link org.eclipse.sirius.components.view.table.impl.TableElementDescriptionImpl#getPreconditionExpression
- * Precondition Expression }
- *
- *
- * @generated
- */
-public abstract class TableElementDescriptionImpl extends MinimalEObjectImpl.Container implements TableElementDescription {
-
- /**
- * The default value of the '{@link #getName() Name }' attribute.
- *
- * @generated
- * @ordered
- * @see #getName()
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name }' attribute.
- *
- * @generated
- * @ordered
- * @see #getName()
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDomainType() Domain Type }' attribute.
- *
- * @see #getDomainType()
- * @generated
- * @ordered
- */
- protected static final String DOMAIN_TYPE_EDEFAULT = "";
-
- /**
- * The cached value of the '{@link #getDomainType() Domain Type }' attribute.
- *
- * @see #getDomainType()
- * @generated
- * @ordered
- */
- protected String domainType = DOMAIN_TYPE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression }'
- * attribute.
- *
- * @see #getSemanticCandidatesExpression()
- * @generated
- * @ordered
- */
- protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression }'
- * attribute.
- *
- * @see #getSemanticCandidatesExpression()
- * @generated
- * @ordered
- */
- protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
- *
- * @generated
- * @ordered
- * @see #getPreconditionExpression()
- */
- protected static final String PRECONDITION_EXPRESSION_EDEFAULT = "";
-
- /**
- * The cached value of the '{@link #getPreconditionExpression() Precondition Expression }' attribute.
- *
- * @generated
- * @ordered
- * @see #getPreconditionExpression()
- */
- protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected TableElementDescriptionImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TablePackage.Literals.TABLE_ELEMENT_DESCRIPTION;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getDomainType() {
- return this.domainType;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setDomainType(String newDomainType) {
- String oldDomainType = this.domainType;
- this.domainType = newDomainType;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE, oldDomainType, this.domainType));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getSemanticCandidatesExpression() {
- return this.semanticCandidatesExpression;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) {
- String oldSemanticCandidatesExpression = this.semanticCandidatesExpression;
- this.semanticCandidatesExpression = newSemanticCandidatesExpression;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression,
- this.semanticCandidatesExpression));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getPreconditionExpression() {
- return this.preconditionExpression;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setPreconditionExpression(String newPreconditionExpression) {
- String oldPreconditionExpression = this.preconditionExpression;
- this.preconditionExpression = newPreconditionExpression;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, this.preconditionExpression));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME:
- return this.getName();
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE:
- return this.getDomainType();
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
- return this.getSemanticCandidatesExpression();
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION:
- return this.getPreconditionExpression();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME:
- this.setName((String) newValue);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE:
- this.setDomainType((String) newValue);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
- this.setSemanticCandidatesExpression((String) newValue);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION:
- this.setPreconditionExpression((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE:
- this.setDomainType(DOMAIN_TYPE_EDEFAULT);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
- this.setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT);
- return;
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION:
- this.setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE:
- return DOMAIN_TYPE_EDEFAULT == null ? this.domainType != null : !DOMAIN_TYPE_EDEFAULT.equals(this.domainType);
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION:
- return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? this.semanticCandidatesExpression != null : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(this.semanticCandidatesExpression);
- case TablePackage.TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION:
- return PRECONDITION_EXPRESSION_EDEFAULT == null ? this.preconditionExpression != null : !PRECONDITION_EXPRESSION_EDEFAULT.equals(this.preconditionExpression);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(", domainType: ");
- result.append(this.domainType);
- result.append(", semanticCandidatesExpression: ");
- result.append(this.semanticCandidatesExpression);
- result.append(", preconditionExpression: ");
- result.append(this.preconditionExpression);
- result.append(')');
- return result.toString();
- }
-
-} // TableElementDescriptionImpl
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TablePackageImpl.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TablePackageImpl.java
index d06cbe2470..b67d54ed10 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TablePackageImpl.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/impl/TablePackageImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -25,7 +25,6 @@
import org.eclipse.sirius.components.view.table.ColumnDescription;
import org.eclipse.sirius.components.view.table.RowDescription;
import org.eclipse.sirius.components.view.table.TableDescription;
-import org.eclipse.sirius.components.view.table.TableElementDescription;
import org.eclipse.sirius.components.view.table.TableFactory;
import org.eclipse.sirius.components.view.table.TablePackage;
@@ -43,13 +42,6 @@ public class TablePackageImpl extends EPackageImpl implements TablePackage {
*/
private EClass tableDescriptionEClass = null;
- /**
- *
- *
- * @generated
- */
- private EClass tableElementDescriptionEClass = null;
-
/**
*
*
@@ -226,18 +218,8 @@ public EReference getTableDescription_CellDescriptions() {
* @generated
*/
@Override
- public EClass getTableElementDescription() {
- return this.tableElementDescriptionEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getTableElementDescription_Name() {
- return (EAttribute) this.tableElementDescriptionEClass.getEStructuralFeatures().get(0);
+ public EClass getColumnDescription() {
+ return this.columnDescriptionEClass;
}
/**
@@ -246,8 +228,8 @@ public EAttribute getTableElementDescription_Name() {
* @generated
*/
@Override
- public EAttribute getTableElementDescription_DomainType() {
- return (EAttribute) this.tableElementDescriptionEClass.getEStructuralFeatures().get(1);
+ public EAttribute getColumnDescription_Name() {
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(0);
}
/**
@@ -256,8 +238,8 @@ public EAttribute getTableElementDescription_DomainType() {
* @generated
*/
@Override
- public EAttribute getTableElementDescription_SemanticCandidatesExpression() {
- return (EAttribute) this.tableElementDescriptionEClass.getEStructuralFeatures().get(2);
+ public EAttribute getColumnDescription_DomainType() {
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(1);
}
/**
@@ -266,8 +248,8 @@ public EAttribute getTableElementDescription_SemanticCandidatesExpression() {
* @generated
*/
@Override
- public EAttribute getTableElementDescription_PreconditionExpression() {
- return (EAttribute) this.tableElementDescriptionEClass.getEStructuralFeatures().get(3);
+ public EAttribute getColumnDescription_SemanticCandidatesExpression() {
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(2);
}
/**
@@ -276,8 +258,8 @@ public EAttribute getTableElementDescription_PreconditionExpression() {
* @generated
*/
@Override
- public EClass getColumnDescription() {
- return this.columnDescriptionEClass;
+ public EAttribute getColumnDescription_PreconditionExpression() {
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(3);
}
/**
@@ -287,7 +269,7 @@ public EClass getColumnDescription() {
*/
@Override
public EAttribute getColumnDescription_HeaderIndexLabelExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(4);
}
/**
@@ -297,7 +279,7 @@ public EAttribute getColumnDescription_HeaderIndexLabelExpression() {
*/
@Override
public EAttribute getColumnDescription_HeaderLabelExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(5);
}
/**
@@ -307,7 +289,7 @@ public EAttribute getColumnDescription_HeaderLabelExpression() {
*/
@Override
public EAttribute getColumnDescription_HeaderIconExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(6);
}
/**
@@ -317,7 +299,7 @@ public EAttribute getColumnDescription_HeaderIconExpression() {
*/
@Override
public EAttribute getColumnDescription_InitialWidthExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(7);
}
/**
@@ -327,7 +309,7 @@ public EAttribute getColumnDescription_InitialWidthExpression() {
*/
@Override
public EAttribute getColumnDescription_IsResizableExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(8);
}
/**
@@ -337,7 +319,7 @@ public EAttribute getColumnDescription_IsResizableExpression() {
*/
@Override
public EAttribute getColumnDescription_FilterWidgetExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(9);
}
/**
@@ -356,7 +338,7 @@ public EClass getRowDescription() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderLabelExpression() {
+ public EAttribute getRowDescription_Name() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(0);
}
@@ -366,7 +348,7 @@ public EAttribute getRowDescription_HeaderLabelExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderIconExpression() {
+ public EAttribute getRowDescription_PaginationPredicateExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(1);
}
@@ -376,7 +358,7 @@ public EAttribute getRowDescription_HeaderIconExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderIndexLabelExpression() {
+ public EAttribute getRowDescription_PreconditionExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(2);
}
@@ -386,7 +368,7 @@ public EAttribute getRowDescription_HeaderIndexLabelExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_InitialHeightExpression() {
+ public EAttribute getRowDescription_HeaderLabelExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(3);
}
@@ -396,10 +378,40 @@ public EAttribute getRowDescription_InitialHeightExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_IsResizableExpression() {
+ public EAttribute getRowDescription_HeaderIconExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(4);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getRowDescription_HeaderIndexLabelExpression() {
+ return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getRowDescription_InitialHeightExpression() {
+ return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getRowDescription_IsResizableExpression() {
+ return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(7);
+ }
+
/**
*
*
@@ -416,7 +428,7 @@ public EClass getCellDescription() {
* @generated
*/
@Override
- public EAttribute getCellDescription_ValueExpression() {
+ public EAttribute getCellDescription_Name() {
return (EAttribute) this.cellDescriptionEClass.getEStructuralFeatures().get(0);
}
@@ -426,10 +438,30 @@ public EAttribute getCellDescription_ValueExpression() {
* @generated
*/
@Override
- public EAttribute getCellDescription_TooltipExpression() {
+ public EAttribute getCellDescription_PreconditionExpression() {
return (EAttribute) this.cellDescriptionEClass.getEStructuralFeatures().get(1);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getCellDescription_ValueExpression() {
+ return (EAttribute) this.cellDescriptionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getCellDescription_TooltipExpression() {
+ return (EAttribute) this.cellDescriptionEClass.getEStructuralFeatures().get(3);
+ }
+
/**
*
*
@@ -437,7 +469,7 @@ public EAttribute getCellDescription_TooltipExpression() {
*/
@Override
public EReference getCellDescription_CellWidgetDescription() {
- return (EReference) this.cellDescriptionEClass.getEStructuralFeatures().get(2);
+ return (EReference) this.cellDescriptionEClass.getEStructuralFeatures().get(4);
}
/**
@@ -518,13 +550,11 @@ public void createPackageContents() {
this.createEReference(this.tableDescriptionEClass, TABLE_DESCRIPTION__ROW_DESCRIPTION);
this.createEReference(this.tableDescriptionEClass, TABLE_DESCRIPTION__CELL_DESCRIPTIONS);
- this.tableElementDescriptionEClass = this.createEClass(TABLE_ELEMENT_DESCRIPTION);
- this.createEAttribute(this.tableElementDescriptionEClass, TABLE_ELEMENT_DESCRIPTION__NAME);
- this.createEAttribute(this.tableElementDescriptionEClass, TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE);
- this.createEAttribute(this.tableElementDescriptionEClass, TABLE_ELEMENT_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION);
- this.createEAttribute(this.tableElementDescriptionEClass, TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION);
-
this.columnDescriptionEClass = this.createEClass(COLUMN_DESCRIPTION);
+ this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__NAME);
+ this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__DOMAIN_TYPE);
+ this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION);
+ this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__PRECONDITION_EXPRESSION);
this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION);
this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__HEADER_LABEL_EXPRESSION);
this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__HEADER_ICON_EXPRESSION);
@@ -533,6 +563,9 @@ public void createPackageContents() {
this.createEAttribute(this.columnDescriptionEClass, COLUMN_DESCRIPTION__FILTER_WIDGET_EXPRESSION);
this.rowDescriptionEClass = this.createEClass(ROW_DESCRIPTION);
+ this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__NAME);
+ this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__PAGINATION_PREDICATE_EXPRESSION);
+ this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__PRECONDITION_EXPRESSION);
this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION);
this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__HEADER_ICON_EXPRESSION);
this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__HEADER_INDEX_LABEL_EXPRESSION);
@@ -540,6 +573,8 @@ public void createPackageContents() {
this.createEAttribute(this.rowDescriptionEClass, ROW_DESCRIPTION__IS_RESIZABLE_EXPRESSION);
this.cellDescriptionEClass = this.createEClass(CELL_DESCRIPTION);
+ this.createEAttribute(this.cellDescriptionEClass, CELL_DESCRIPTION__NAME);
+ this.createEAttribute(this.cellDescriptionEClass, CELL_DESCRIPTION__PRECONDITION_EXPRESSION);
this.createEAttribute(this.cellDescriptionEClass, CELL_DESCRIPTION__VALUE_EXPRESSION);
this.createEAttribute(this.cellDescriptionEClass, CELL_DESCRIPTION__TOOLTIP_EXPRESSION);
this.createEReference(this.cellDescriptionEClass, CELL_DESCRIPTION__CELL_WIDGET_DESCRIPTION);
@@ -578,9 +613,6 @@ public void initializePackageContents() {
// Add supertypes to classes
this.tableDescriptionEClass.getESuperTypes().add(theViewPackage.getRepresentationDescription());
- this.columnDescriptionEClass.getESuperTypes().add(this.getTableElementDescription());
- this.rowDescriptionEClass.getESuperTypes().add(this.getTableElementDescription());
- this.cellDescriptionEClass.getESuperTypes().add(this.getTableElementDescription());
this.cellTextfieldWidgetDescriptionEClass.getESuperTypes().add(this.getCellWidgetDescription());
this.cellLabelWidgetDescriptionEClass.getESuperTypes().add(this.getCellWidgetDescription());
@@ -590,25 +622,20 @@ public void initializePackageContents() {
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEReference(this.getTableDescription_ColumnDescriptions(), this.getColumnDescription(), null, "columnDescriptions", null, 0, -1, TableDescription.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.getTableDescription_ColumnDescriptions().getEKeys().add(this.getTableElementDescription_Name());
this.initEReference(this.getTableDescription_RowDescription(), this.getRowDescription(), null, "rowDescription", null, 0, 1, TableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.getTableDescription_RowDescription().getEKeys().add(this.getTableElementDescription_Name());
this.initEReference(this.getTableDescription_CellDescriptions(), this.getCellDescription(), null, "cellDescriptions", null, 0, -1, TableDescription.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.getTableDescription_CellDescriptions().getEKeys().add(this.getTableElementDescription_Name());
- this.initEClass(this.tableElementDescriptionEClass, TableElementDescription.class, "TableElementDescription", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getTableElementDescription_Name(), theViewPackage.getIdentifier(), "name", null, 0, 1, TableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ this.initEClass(this.columnDescriptionEClass, ColumnDescription.class, "ColumnDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEAttribute(this.getColumnDescription_Name(), theViewPackage.getIdentifier(), "name", null, 0, 1, ColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getColumnDescription_DomainType(), theViewPackage.getDomainType(), "domainType", "", 0, 1, ColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getTableElementDescription_DomainType(), theViewPackage.getDomainType(), "domainType", "", 0, 1, TableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getTableElementDescription_SemanticCandidatesExpression(), theViewPackage.getInterpretedExpression(), "semanticCandidatesExpression", null, 0, 1,
- TableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getTableElementDescription_PreconditionExpression(), theViewPackage.getInterpretedExpression(), "preconditionExpression", "", 0, 1, TableElementDescription.class,
+ this.initEAttribute(this.getColumnDescription_SemanticCandidatesExpression(), theViewPackage.getInterpretedExpression(), "semanticCandidatesExpression", null, 0, 1, ColumnDescription.class,
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.columnDescriptionEClass, ColumnDescription.class, "ColumnDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEAttribute(this.getColumnDescription_PreconditionExpression(), theViewPackage.getInterpretedExpression(), "preconditionExpression", "", 0, 1, ColumnDescription.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getColumnDescription_HeaderIndexLabelExpression(), theViewPackage.getInterpretedExpression(), "headerIndexLabelExpression", "", 0, 1, ColumnDescription.class,
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getColumnDescription_HeaderLabelExpression(), theViewPackage.getInterpretedExpression(), "headerLabelExpression", "", 0, 1, ColumnDescription.class, !IS_TRANSIENT,
@@ -623,6 +650,12 @@ public void initializePackageContents() {
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEClass(this.rowDescriptionEClass, RowDescription.class, "RowDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEAttribute(this.getRowDescription_Name(), theViewPackage.getIdentifier(), "name", null, 0, 1, RowDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getRowDescription_PaginationPredicateExpression(), theViewPackage.getInterpretedExpression(), "paginationPredicateExpression", "", 0, 1, RowDescription.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getRowDescription_PreconditionExpression(), theViewPackage.getInterpretedExpression(), "preconditionExpression", "", 0, 1, RowDescription.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getRowDescription_HeaderLabelExpression(), theViewPackage.getInterpretedExpression(), "headerLabelExpression", "", 0, 1, RowDescription.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getRowDescription_HeaderIconExpression(), theViewPackage.getInterpretedExpression(), "headerIconExpression", "", 0, 1, RowDescription.class, !IS_TRANSIENT,
@@ -635,6 +668,10 @@ public void initializePackageContents() {
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEClass(this.cellDescriptionEClass, CellDescription.class, "CellDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEAttribute(this.getCellDescription_Name(), theViewPackage.getIdentifier(), "name", null, 0, 1, CellDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getCellDescription_PreconditionExpression(), theViewPackage.getInterpretedExpression(), "preconditionExpression", "", 0, 1, CellDescription.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getCellDescription_ValueExpression(), theViewPackage.getInterpretedExpression(), "valueExpression", "", 0, 1, CellDescription.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getCellDescription_TooltipExpression(), theViewPackage.getInterpretedExpression(), "tooltipExpression", "", 0, 1, CellDescription.class, !IS_TRANSIENT, !IS_VOLATILE,
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableAdapterFactory.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableAdapterFactory.java
index 9e6e1b5509..2f58c4c93e 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableAdapterFactory.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableAdapterFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -24,15 +24,14 @@
import org.eclipse.sirius.components.view.table.ColumnDescription;
import org.eclipse.sirius.components.view.table.RowDescription;
import org.eclipse.sirius.components.view.table.TableDescription;
-import org.eclipse.sirius.components.view.table.TableElementDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
/**
* The Adapter Factory for the model. It provides an adapter createXXX
* method for each class of the model.
*
- * @see org.eclipse.sirius.components.view.table.TablePackage
* @generated
+ * @see org.eclipse.sirius.components.view.table.TablePackage
*/
public class TableAdapterFactory extends AdapterFactoryImpl {
@@ -54,11 +53,6 @@ public Adapter caseTableDescription(TableDescription object) {
return TableAdapterFactory.this.createTableDescriptionAdapter();
}
- @Override
- public Adapter caseTableElementDescription(TableElementDescription object) {
- return TableAdapterFactory.this.createTableElementDescriptionAdapter();
- }
-
@Override
public Adapter caseColumnDescription(ColumnDescription object) {
return TableAdapterFactory.this.createColumnDescriptionAdapter();
@@ -134,7 +128,7 @@ public boolean isFactoryForType(Object object) {
* Creates an adapter for the target
.
*
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -157,20 +151,6 @@ public Adapter createTableDescriptionAdapter() {
return null;
}
- /**
- * Creates a new adapter for an object of class
- * '{@link org.eclipse.sirius.components.view.table.TableElementDescription Element Description }'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @generated
- * @see org.eclipse.sirius.components.view.table.TableElementDescription
- */
- public Adapter createTableElementDescriptionAdapter() {
- return null;
- }
-
/**
* Creates a new adapter for an object of class '{@link org.eclipse.sirius.components.view.table.ColumnDescription
* Column Description }'. This default implementation returns null so that we can
@@ -178,8 +158,8 @@ public Adapter createTableElementDescriptionAdapter() {
* end-user-doc -->
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.table.ColumnDescription
* @generated
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription
*/
public Adapter createColumnDescriptionAdapter() {
return null;
@@ -192,8 +172,8 @@ public Adapter createColumnDescriptionAdapter() {
* end-user-doc -->
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.table.RowDescription
* @generated
+ * @see org.eclipse.sirius.components.view.table.RowDescription
*/
public Adapter createRowDescriptionAdapter() {
return null;
@@ -206,8 +186,8 @@ public Adapter createRowDescriptionAdapter() {
* end-user-doc -->
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.table.CellDescription
* @generated
+ * @see org.eclipse.sirius.components.view.table.CellDescription
*/
public Adapter createCellDescriptionAdapter() {
return null;
@@ -234,8 +214,8 @@ public Adapter createCellWidgetDescriptionAdapter() {
* cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.table.CellTextfieldWidgetDescription
* @generated
+ * @see org.eclipse.sirius.components.view.table.CellTextfieldWidgetDescription
*/
public Adapter createCellTextfieldWidgetDescriptionAdapter() {
return null;
@@ -248,8 +228,8 @@ public Adapter createCellTextfieldWidgetDescriptionAdapter() {
* cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.table.CellLabelWidgetDescription
* @generated
+ * @see org.eclipse.sirius.components.view.table.CellLabelWidgetDescription
*/
public Adapter createCellLabelWidgetDescriptionAdapter() {
return null;
@@ -262,8 +242,8 @@ public Adapter createCellLabelWidgetDescriptionAdapter() {
* end-user-doc -->
*
* @return the new adapter.
- * @see org.eclipse.sirius.components.view.RepresentationDescription
* @generated
+ * @see org.eclipse.sirius.components.view.RepresentationDescription
*/
public Adapter createRepresentationDescriptionAdapter() {
return null;
diff --git a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableSwitch.java b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableSwitch.java
index e15a4a238b..f8ed8e2346 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableSwitch.java
+++ b/packages/view/backend/sirius-components-view-table/src/main/java/org/eclipse/sirius/components/view/table/util/TableSwitch.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2024 CEA LIST.
+ * Copyright (c) 2024, 2025 CEA LIST.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -23,7 +23,6 @@
import org.eclipse.sirius.components.view.table.ColumnDescription;
import org.eclipse.sirius.components.view.table.RowDescription;
import org.eclipse.sirius.components.view.table.TableDescription;
-import org.eclipse.sirius.components.view.table.TableElementDescription;
import org.eclipse.sirius.components.view.table.TablePackage;
/**
@@ -32,8 +31,8 @@
* starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
* returned, which is the result of the switch.
*
- * @see org.eclipse.sirius.components.view.table.TablePackage
* @generated
+ * @see org.eclipse.sirius.components.view.table.TablePackage
*/
public class TableSwitch extends Switch {
@@ -59,7 +58,7 @@ public TableSwitch() {
* Checks whether this is a switch for the given package.
*
* @param ePackage
- * the package in question.
+ * the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@@ -87,18 +86,9 @@ protected T doSwitch(int classifierID, EObject theEObject) {
result = this.defaultCase(theEObject);
return result;
}
- case TablePackage.TABLE_ELEMENT_DESCRIPTION: {
- TableElementDescription tableElementDescription = (TableElementDescription) theEObject;
- T result = this.caseTableElementDescription(tableElementDescription);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
case TablePackage.COLUMN_DESCRIPTION: {
ColumnDescription columnDescription = (ColumnDescription) theEObject;
T result = this.caseColumnDescription(columnDescription);
- if (result == null)
- result = this.caseTableElementDescription(columnDescription);
if (result == null)
result = this.defaultCase(theEObject);
return result;
@@ -106,8 +96,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
case TablePackage.ROW_DESCRIPTION: {
RowDescription rowDescription = (RowDescription) theEObject;
T result = this.caseRowDescription(rowDescription);
- if (result == null)
- result = this.caseTableElementDescription(rowDescription);
if (result == null)
result = this.defaultCase(theEObject);
return result;
@@ -115,8 +103,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
case TablePackage.CELL_DESCRIPTION: {
CellDescription cellDescription = (CellDescription) theEObject;
T result = this.caseCellDescription(cellDescription);
- if (result == null)
- result = this.caseTableElementDescription(cellDescription);
if (result == null)
result = this.defaultCase(theEObject);
return result;
@@ -156,27 +142,12 @@ protected T doSwitch(int classifierID, EObject theEObject) {
* This implementation returns null; returning a non-null result will terminate the switch.
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Description '.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTableDescription(TableDescription object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Element Description '. This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Element Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
*/
- public T caseTableElementDescription(TableElementDescription object) {
+ public T caseTableDescription(TableDescription object) {
return null;
}
@@ -186,7 +157,7 @@ public T caseTableElementDescription(TableElementDescription object) {
* end-user-doc -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Column Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -201,7 +172,7 @@ public T caseColumnDescription(ColumnDescription object) {
* -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Row Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -216,7 +187,7 @@ public T caseRowDescription(RowDescription object) {
* -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Cell Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -231,7 +202,7 @@ public T caseCellDescription(CellDescription object) {
* end-user-doc -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Cell Widget Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -246,10 +217,10 @@ public T caseCellWidgetDescription(CellWidgetDescription object) {
*
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Cell Textfield Widget Description '.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
*/
public T caseCellTextfieldWidgetDescription(CellTextfieldWidgetDescription object) {
return null;
@@ -261,7 +232,7 @@ public T caseCellTextfieldWidgetDescription(CellTextfieldWidgetDescription objec
* end-user-doc -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Cell Label Widget Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -276,7 +247,7 @@ public T caseCellLabelWidgetDescription(CellLabelWidgetDescription object) {
* end-user-doc -->
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'Representation Description '.
* @generated
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
@@ -291,10 +262,10 @@ public T caseRepresentationDescription(RepresentationDescription object) {
* anyway.
*
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of 'EObject '.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
*/
@Override
public T defaultCase(EObject object) {
diff --git a/packages/view/backend/sirius-components-view-table/src/main/resources/model/table.ecore b/packages/view/backend/sirius-components-view-table/src/main/resources/model/table.ecore
index 7bfc419966..4116f75a80 100644
--- a/packages/view/backend/sirius-components-view-table/src/main/resources/model/table.ecore
+++ b/packages/view/backend/sirius-components-view-table/src/main/resources/model/table.ecore
@@ -5,13 +5,13 @@
+ eType="#//ColumnDescription" containment="true"/>
+ containment="true"/>
+ eType="#//CellDescription" containment="true"/>
-
+
@@ -20,8 +20,6 @@
-
-
@@ -40,7 +38,14 @@
eType="ecore:EDataType ../../../../../sirius-components-view/src/main/resources/model/view.ecore#//InterpretedExpression"
defaultValueLiteral=""/>
-
+
+
+
+
@@ -55,7 +60,11 @@
eType="ecore:EDataType ../../../../../sirius-components-view/src/main/resources/model/view.ecore#//InterpretedExpression"
defaultValueLiteral=""/>
-
+
+
+
-
-
-
-
-
-
+
+
+
+
@@ -34,6 +32,9 @@
+
+
+
@@ -41,6 +42,8 @@
+
+