diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 4f7fa435be..d0ce351cf7 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -141,7 +141,7 @@ Note that you may need to encode special characters like `[`(by `%5B`) and `]` (
- https://github.com/eclipse-sirius/sirius-web/issues/4345[#4345] [table] Make table cells independently selectable
- https://github.com/eclipse-sirius/sirius-web/issues/4352[#4352] [table] Add support to range column filters in table
- https://github.com/eclipse-sirius/sirius-web/issues/4474[#4474] [query] Add EMF Services (eSet, eUnset) for the Query View.
-
+- https://github.com/eclipse-sirius/sirius-web/issues/4354[#4354] [table] Add support for cursor based pagination in table view DSL
== v2025.1.0
@@ -251,7 +251,7 @@ This is now fixed
- https://github.com/eclipse-sirius/sirius-web/issues/4291[#4291] [core] Implement REST API documentation with openAPI v3 and swagger
* Documentation is availlable in the url : /v3/api-docs
* Swagger UI is availlable in the url : /swagger-ui/index.html#/
-- https://github.com/eclipse-sirius/sirius-web/issues/4335[#4335] [table] Add support of column reordering in table representation
+- https://github.com/eclipse-sirius/sirius-web/issues/4335[#4335] [table] Add support of column reordering in table representation
=== Improvements
diff --git a/packages/emf/backend/pom.xml b/packages/emf/backend/pom.xml
index bf5c115372..55b55012cb 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..9fd7a4925e
--- /dev/null
+++ b/packages/emf/backend/sirius-components-emf-tables/README.adoc
@@ -0,0 +1,10 @@
+= sirius-components-emf-tables
+
+== 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..898823263b
--- /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.2
+ 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.2
+
+
+ org.eclipse.sirius
+ sirius-components-tables
+ 2025.1.2
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.eclipse.sirius
+ sirius-components-tests
+ 2025.1.2
+ test
+
+
+ org.eclipse.sirius
+ sirius-components-spring-tests
+ 2025.1.2
+ 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 69%
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..d85b57b6ca 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,11 +69,24 @@ 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) {
+ private Iterator getNextRelatives(EObject eObject, boolean onlyChildOfRootObject) {
Iterator nextRelativesIterator = null;
var currentEObject = eObject;
@@ -82,13 +95,20 @@ 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;
+ }
}
}
}
- currentEObject = currentEObject.eContainer();
+ if (onlyChildOfRootObject && this.rootEObject.equals(currentEObject.eContainer())) {
+ currentEObject = null;
+ } else {
+ currentEObject = currentEObject.eContainer();
+ }
}
if (nextRelativesIterator == null) {
@@ -124,14 +144,14 @@ private boolean hasMoreElements() {
}
private boolean hasNextRelative() {
- return this.getNextRelatives(this.rootEObject).hasNext();
+ return this.getNextRelatives(this.rootEObject, false).hasNext();
}
@Override
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);
@@ -140,7 +160,7 @@ public EObject next() {
result = this.rootEObject;
}
} else if (this.iterators.isEmpty()) {
- var currentIterator = this.getNextRelatives(this.rootEObject);
+ var currentIterator = this.getNextRelatives(this.rootEObject, false);
result = currentIterator.next();
this.rootEObject = result;
@@ -152,21 +172,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, true);
+
+ 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 f7e1d38f99..0a42f0e7e5 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));
@@ -199,9 +244,20 @@ protected void collectNewChildDescriptors(Collection
*
+ * - {@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#getSemanticCandidatesExpression Semantic
+ * Candidates 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,21 +41,91 @@
* Entries}
*
*
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription()
* @model
* @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 'Semantic Candidates Expression' attribute. The default value is
+ * ""
.
+ *
+ * @return the value of the 'Semantic Candidates Expression' attribute.
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ * @see #setSemanticCandidatesExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_SemanticCandidatesExpression()
+ */
+ String getSemanticCandidatesExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.table.RowDescription#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 'Header Label Expression' attribute. The default value is
* ""
.
*
* @return the value of the 'Header Label Expression' attribute.
- * @see #setHeaderLabelExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderLabelExpression()
* @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setHeaderLabelExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderLabelExpression()
*/
String getHeaderLabelExpression();
@@ -58,9 +134,9 @@ public interface RowDescription extends TableElementDescription {
* Header Label Expression}' attribute.
*
* @param value
- * the new value of the 'Header Label Expression' attribute.
- * @see #getHeaderLabelExpression()
+ * the new value of the 'Header Label Expression' attribute.
* @generated
+ * @see #getHeaderLabelExpression()
*/
void setHeaderLabelExpression(String value);
@@ -69,10 +145,10 @@ public interface RowDescription extends TableElementDescription {
* ""
.
*
* @return the value of the 'Header Icon Expression' attribute.
- * @see #setHeaderIconExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderIconExpression()
* @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setHeaderIconExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderIconExpression()
*/
String getHeaderIconExpression();
@@ -81,9 +157,9 @@ public interface RowDescription extends TableElementDescription {
* Header Icon Expression}' attribute.
*
* @param value
- * the new value of the 'Header Icon Expression' attribute.
- * @see #getHeaderIconExpression()
+ * the new value of the 'Header Icon Expression' attribute.
* @generated
+ * @see #getHeaderIconExpression()
*/
void setHeaderIconExpression(String value);
@@ -92,10 +168,10 @@ public interface RowDescription extends TableElementDescription {
* end-user-doc -->
*
* @return the value of the 'Header Index Label Expression' attribute.
- * @see #setHeaderIndexLabelExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderIndexLabelExpression()
* @model dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setHeaderIndexLabelExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_HeaderIndexLabelExpression()
*/
String getHeaderIndexLabelExpression();
@@ -105,9 +181,9 @@ public interface RowDescription extends TableElementDescription {
* Label Expression}' attribute.
*
* @param value
- * the new value of the 'Header Index Label Expression' attribute.
- * @see #getHeaderIndexLabelExpression()
+ * the new value of the 'Header Index Label Expression' attribute.
* @generated
+ * @see #getHeaderIndexLabelExpression()
*/
void setHeaderIndexLabelExpression(String value);
@@ -116,10 +192,10 @@ public interface RowDescription extends TableElementDescription {
* ""
.
*
* @return the value of the 'Initial Height Expression' attribute.
- * @see #setInitialHeightExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_InitialHeightExpression()
* @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setInitialHeightExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_InitialHeightExpression()
*/
String getInitialHeightExpression();
@@ -128,9 +204,9 @@ public interface RowDescription extends TableElementDescription {
* Initial Height Expression}' attribute.
*
* @param value
- * the new value of the 'Initial Height Expression' attribute.
- * @see #getInitialHeightExpression()
+ * the new value of the 'Initial Height Expression' attribute.
* @generated
+ * @see #getInitialHeightExpression()
*/
void setInitialHeightExpression(String value);
@@ -139,10 +215,10 @@ public interface RowDescription extends TableElementDescription {
* ""
.
*
* @return the value of the 'Is Resizable Expression' attribute.
- * @see #setIsResizableExpression(String)
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_IsResizableExpression()
* @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
* @generated
+ * @see #setIsResizableExpression(String)
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_IsResizableExpression()
*/
String getIsResizableExpression();
@@ -151,9 +227,9 @@ public interface RowDescription extends TableElementDescription {
* Is Resizable Expression}' attribute.
*
* @param value
- * the new value of the 'Is Resizable Expression' attribute.
- * @see #getIsResizableExpression()
+ * the new value of the 'Is Resizable Expression' attribute.
* @generated
+ * @see #getIsResizableExpression()
*/
void setIsResizableExpression(String value);
@@ -163,9 +239,9 @@ public interface RowDescription extends TableElementDescription {
* end-user-doc -->
*
* @return the value of the 'Context Menu Entries' containment reference list.
- * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_ContextMenuEntries()
* @model containment="true"
* @generated
+ * @see org.eclipse.sirius.components.view.table.TablePackage#getRowDescription_ContextMenuEntries()
*/
EList getContextMenuEntries();
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 53db3925ac..97bbd547e4 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
@@ -161,68 +161,6 @@ public interface TablePackage extends EPackage {
*/
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;
-
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.table.impl.ColumnDescriptionImpl Column
* Description}' class.
@@ -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,33 +293,25 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int ROW_DESCRIPTION__NAME = TABLE_ELEMENT_DESCRIPTION__NAME;
+ int ROW_DESCRIPTION__NAME = 0;
/**
- * The feature id for the 'Domain Type' attribute.
- *
- * @generated
- * @ordered
- */
- int ROW_DESCRIPTION__DOMAIN_TYPE = TABLE_ELEMENT_DESCRIPTION__DOMAIN_TYPE;
-
- /**
- * 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.
*
* @generated
* @ordered
*/
- int ROW_DESCRIPTION__PRECONDITION_EXPRESSION = TABLE_ELEMENT_DESCRIPTION__PRECONDITION_EXPRESSION;
+ int ROW_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 2;
/**
* The feature id for the 'Header Label Expression' attribute.
@@ -435,7 +365,7 @@ public interface TablePackage extends EPackage {
* @generated
* @ordered
*/
- int ROW_DESCRIPTION__CONTEXT_MENU_ENTRIES = TABLE_ELEMENT_DESCRIPTION_FEATURE_COUNT + 5;
+ int ROW_DESCRIPTION__CONTEXT_MENU_ENTRIES = 8;
/**
* The number of structural features of the 'Row Description' class.
@@ -452,7 +382,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
@@ -462,7 +392,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.
@@ -470,24 +400,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.
@@ -523,7 +436,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.
@@ -540,7 +453,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
@@ -550,7 +463,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.
@@ -625,6 +538,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int CELL_LABEL_WIDGET_DESCRIPTION__ICON_EXPRESSION = CELL_WIDGET_DESCRIPTION_FEATURE_COUNT;
+
/**
* The number of structural features of the 'Cell Label Widget Description' class.
*
@@ -633,6 +547,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int CELL_LABEL_WIDGET_DESCRIPTION_FEATURE_COUNT = CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1;
+
/**
* The number of operations of the 'Cell Label Widget Description' class.
@@ -641,6 +556,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int CELL_LABEL_WIDGET_DESCRIPTION_OPERATION_COUNT = CELL_WIDGET_DESCRIPTION_OPERATION_COUNT;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.table.impl.RowContextMenuEntryImpl Row
* Context Menu Entry}' class.
@@ -649,7 +565,8 @@ public interface TablePackage extends EPackage {
* @see org.eclipse.sirius.components.view.table.impl.RowContextMenuEntryImpl
* @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getRowContextMenuEntry()
*/
- int ROW_CONTEXT_MENU_ENTRY = 8;
+ int ROW_CONTEXT_MENU_ENTRY = 7;
+
/**
* The feature id for the 'Name' attribute.
*
@@ -657,6 +574,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY__NAME = 0;
+
/**
* The feature id for the 'Label Expression' attribute.
@@ -665,6 +583,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY__LABEL_EXPRESSION = 1;
+
/**
* The feature id for the 'Icon URL Expression' attribute.
@@ -673,6 +592,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY__ICON_URL_EXPRESSION = 2;
+
/**
* The feature id for the 'Precondition Expression' attribute.
@@ -681,6 +601,7 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY__PRECONDITION_EXPRESSION = 3;
+
/**
* The feature id for the 'Body' containment reference list.
@@ -689,12 +610,6 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY__BODY = 4;
- /**
- * The singleton instance of the package.
- *
- * @generated
- */
- TablePackage eINSTANCE = org.eclipse.sirius.components.view.table.impl.TablePackageImpl.init();
/**
* The number of structural features of the 'Row Context Menu Entry' class.
@@ -703,7 +618,6 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY_FEATURE_COUNT = 5;
-
/**
* The number of operations of the 'Row Context Menu Entry' class.
@@ -712,7 +626,6 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int ROW_CONTEXT_MENU_ENTRY_OPERATION_COUNT = 0;
-
/**
* The meta object id for the
* '{@link org.eclipse.sirius.components.view.table.impl.CellTextareaWidgetDescriptionImpl Cell Textarea Widget
@@ -722,8 +635,7 @@ public interface TablePackage extends EPackage {
* @see org.eclipse.sirius.components.view.table.impl.CellTextareaWidgetDescriptionImpl
* @see org.eclipse.sirius.components.view.table.impl.TablePackageImpl#getCellTextareaWidgetDescription()
*/
- int CELL_TEXTAREA_WIDGET_DESCRIPTION = 9;
-
+ int CELL_TEXTAREA_WIDGET_DESCRIPTION = 8;
/**
* The feature id for the 'Body' containment reference list.
@@ -732,7 +644,12 @@ public interface TablePackage extends EPackage {
* @ordered
*/
int CELL_TEXTAREA_WIDGET_DESCRIPTION__BODY = CELL_WIDGET_DESCRIPTION_FEATURE_COUNT;
-
+ /**
+ * The singleton instance of the package.
+ *
+ * @generated
+ */
+ TablePackage eINSTANCE = org.eclipse.sirius.components.view.table.impl.TablePackageImpl.init();
/**
* The number of structural features of the 'Cell Textarea Widget Description' class.
@@ -810,72 +727,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()
+ * @see org.eclipse.sirius.components.view.table.ColumnDescription#getPreconditionExpression()
+ * @see #getColumnDescription()
*/
- 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
- */
- EClass getColumnDescription();
+ EAttribute getColumnDescription_PreconditionExpression();
/**
* Returns the meta object for the attribute
@@ -959,6 +866,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#getSemanticCandidatesExpression Semantic
+ * Candidates Expression}'.
+ *
+ * @return the meta object for the attribute 'Semantic Candidates Expression'.
+ * @generated
+ * @see org.eclipse.sirius.components.view.table.RowDescription#getSemanticCandidatesExpression()
+ * @see #getRowDescription()
+ */
+ EAttribute getRowDescription_SemanticCandidatesExpression();
+
/**
* Returns the meta object for the attribute
* '{@link org.eclipse.sirius.components.view.table.RowDescription#getHeaderLabelExpression Header Label
@@ -1041,6 +983,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}'.
@@ -1289,15 +1255,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 'Semantic Candidates Expression' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute ROW_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE.getRowDescription_SemanticCandidatesExpression();
+
/**
* The meta object literal for the 'Header Label Expression' attribute feature.
@@ -1457,6 +1436,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 cd64a76e32..38626f1314 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
@@ -21,6 +21,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.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.sirius.components.view.table.RowContextMenuEntry;
@@ -42,8 +43,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 #getSemanticCandidatesExpression() Semantic Candidates Expression}'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getSemanticCandidatesExpression()
+ */
+ protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = "";
/**
* The default value of the '{@link #getHeaderLabelExpression() Header Label Expression}' attribute.
@@ -89,6 +117,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 #getSemanticCandidatesExpression() Semantic Candidates Expression}'
+ * attribute.
+ *
+ * @generated
+ * @ordered
+ * @see #getSemanticCandidatesExpression()
+ */
+ protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT;
/**
* The cached value of the '{@link #getHeaderLabelExpression() Header Label Expression}' attribute.
@@ -164,6 +219,77 @@ 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 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.ROW_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, this.semanticCandidatesExpression));
+ }
+
/**
*
*
@@ -314,6 +440,12 @@ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
@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__SEMANTIC_CANDIDATES_EXPRESSION:
+ return this.getSemanticCandidatesExpression();
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
return this.getHeaderLabelExpression();
case TablePackage.ROW_DESCRIPTION__HEADER_ICON_EXPRESSION:
@@ -339,6 +471,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__SEMANTIC_CANDIDATES_EXPRESSION:
+ this.setSemanticCandidatesExpression((String) newValue);
+ return;
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
this.setHeaderLabelExpression((String) newValue);
return;
@@ -370,6 +511,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__SEMANTIC_CANDIDATES_EXPRESSION:
+ this.setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT);
+ return;
case TablePackage.ROW_DESCRIPTION__HEADER_LABEL_EXPRESSION:
this.setHeaderLabelExpression(HEADER_LABEL_EXPRESSION_EDEFAULT);
return;
@@ -400,6 +550,13 @@ public void eUnset(int featureID) {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case TablePackage.ROW_DESCRIPTION__NAME:
+ return !Objects.equals(NAME_EDEFAULT, 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__SEMANTIC_CANDIDATES_EXPRESSION:
+ return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? this.semanticCandidatesExpression != null : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(this.semanticCandidatesExpression);
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:
@@ -426,7 +583,13 @@ public String toString() {
if (this.eIsProxy())
return super.toString();
- String result = super.toString() + " (headerLabelExpression: " +
+ String result = super.toString() + " (name: " +
+ this.name +
+ ", paginationPredicateExpression: " +
+ this.paginationPredicateExpression +
+ ", semanticCandidatesExpression: " +
+ this.semanticCandidatesExpression +
+ ", headerLabelExpression: " +
this.headerLabelExpression +
", headerIconExpression: " +
this.headerIconExpression +
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 1e359ec63b..b2060680a8 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
@@ -27,7 +27,6 @@
import org.eclipse.sirius.components.view.table.RowContextMenuEntry;
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;
@@ -45,13 +44,6 @@ public class TablePackageImpl extends EPackageImpl implements TablePackage {
*/
private EClass tableDescriptionEClass = null;
- /**
- *
- *
- * @generated
- */
- private EClass tableElementDescriptionEClass = null;
-
/**
*
*
@@ -242,18 +234,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;
}
/**
@@ -262,8 +244,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);
}
/**
@@ -272,8 +254,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);
}
/**
@@ -282,8 +264,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);
}
/**
@@ -292,8 +274,8 @@ public EAttribute getTableElementDescription_PreconditionExpression() {
* @generated
*/
@Override
- public EClass getColumnDescription() {
- return this.columnDescriptionEClass;
+ public EAttribute getColumnDescription_PreconditionExpression() {
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(3);
}
/**
@@ -303,7 +285,7 @@ public EClass getColumnDescription() {
*/
@Override
public EAttribute getColumnDescription_HeaderIndexLabelExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(4);
}
/**
@@ -313,7 +295,7 @@ public EAttribute getColumnDescription_HeaderIndexLabelExpression() {
*/
@Override
public EAttribute getColumnDescription_HeaderLabelExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(5);
}
/**
@@ -323,7 +305,7 @@ public EAttribute getColumnDescription_HeaderLabelExpression() {
*/
@Override
public EAttribute getColumnDescription_HeaderIconExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(6);
}
/**
@@ -333,7 +315,7 @@ public EAttribute getColumnDescription_HeaderIconExpression() {
*/
@Override
public EAttribute getColumnDescription_InitialWidthExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(7);
}
/**
@@ -343,7 +325,7 @@ public EAttribute getColumnDescription_InitialWidthExpression() {
*/
@Override
public EAttribute getColumnDescription_IsResizableExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(8);
}
/**
@@ -353,7 +335,7 @@ public EAttribute getColumnDescription_IsResizableExpression() {
*/
@Override
public EAttribute getColumnDescription_FilterWidgetExpression() {
- return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) this.columnDescriptionEClass.getEStructuralFeatures().get(9);
}
/**
@@ -372,7 +354,7 @@ public EClass getRowDescription() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderLabelExpression() {
+ public EAttribute getRowDescription_Name() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(0);
}
@@ -382,7 +364,7 @@ public EAttribute getRowDescription_HeaderLabelExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderIconExpression() {
+ public EAttribute getRowDescription_PaginationPredicateExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(1);
}
@@ -392,7 +374,7 @@ public EAttribute getRowDescription_HeaderIconExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_HeaderIndexLabelExpression() {
+ public EAttribute getRowDescription_SemanticCandidatesExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(2);
}
@@ -402,7 +384,7 @@ public EAttribute getRowDescription_HeaderIndexLabelExpression() {
* @generated
*/
@Override
- public EAttribute getRowDescription_InitialHeightExpression() {
+ public EAttribute getRowDescription_HeaderLabelExpression() {
return (EAttribute) this.rowDescriptionEClass.getEStructuralFeatures().get(3);
}
@@ -412,10 +394,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);
+ }
+
/**
*
*
@@ -423,7 +435,7 @@ public EAttribute getRowDescription_IsResizableExpression() {
*/
@Override
public EReference getRowDescription_ContextMenuEntries() {
- return (EReference) this.rowDescriptionEClass.getEStructuralFeatures().get(5);
+ return (EReference) this.rowDescriptionEClass.getEStructuralFeatures().get(8);
}
/**
@@ -442,7 +454,7 @@ public EClass getCellDescription() {
* @generated
*/
@Override
- public EAttribute getCellDescription_ValueExpression() {
+ public EAttribute getCellDescription_Name() {
return (EAttribute) this.cellDescriptionEClass.getEStructuralFeatures().get(0);
}
@@ -452,10 +464,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);
+ }
+
/**
*
*
@@ -463,7 +495,7 @@ public EAttribute getCellDescription_TooltipExpression() {
*/
@Override
public EReference getCellDescription_CellWidgetDescription() {
- return (EReference) this.cellDescriptionEClass.getEStructuralFeatures().get(2);
+ return (EReference) this.cellDescriptionEClass.getEStructuralFeatures().get(4);
}
/**
@@ -624,13 +656,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);
@@ -639,6 +669,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__SEMANTIC_CANDIDATES_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);
@@ -647,6 +680,8 @@ public void createPackageContents() {
this.createEReference(this.rowDescriptionEClass, ROW_DESCRIPTION__CONTEXT_MENU_ENTRIES);
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);
@@ -659,15 +694,15 @@ public void createPackageContents() {
this.cellLabelWidgetDescriptionEClass = this.createEClass(CELL_LABEL_WIDGET_DESCRIPTION);
this.createEAttribute(this.cellLabelWidgetDescriptionEClass, CELL_LABEL_WIDGET_DESCRIPTION__ICON_EXPRESSION);
- this.cellTextareaWidgetDescriptionEClass = this.createEClass(CELL_TEXTAREA_WIDGET_DESCRIPTION);
- this.createEReference(this.cellTextareaWidgetDescriptionEClass, CELL_TEXTAREA_WIDGET_DESCRIPTION__BODY);
-
this.rowContextMenuEntryEClass = this.createEClass(ROW_CONTEXT_MENU_ENTRY);
this.createEAttribute(this.rowContextMenuEntryEClass, ROW_CONTEXT_MENU_ENTRY__NAME);
this.createEAttribute(this.rowContextMenuEntryEClass, ROW_CONTEXT_MENU_ENTRY__LABEL_EXPRESSION);
this.createEAttribute(this.rowContextMenuEntryEClass, ROW_CONTEXT_MENU_ENTRY__ICON_URL_EXPRESSION);
this.createEAttribute(this.rowContextMenuEntryEClass, ROW_CONTEXT_MENU_ENTRY__PRECONDITION_EXPRESSION);
this.createEReference(this.rowContextMenuEntryEClass, ROW_CONTEXT_MENU_ENTRY__BODY);
+
+ this.cellTextareaWidgetDescriptionEClass = this.createEClass(CELL_TEXTAREA_WIDGET_DESCRIPTION);
+ this.createEReference(this.cellTextareaWidgetDescriptionEClass, CELL_TEXTAREA_WIDGET_DESCRIPTION__BODY);
}
/**
@@ -695,9 +730,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());
this.cellTextareaWidgetDescriptionEClass.getESuperTypes().add(this.getCellWidgetDescription());
@@ -708,25 +740,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,
@@ -741,6 +768,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_SemanticCandidatesExpression(), theViewPackage.getInterpretedExpression(), "semanticCandidatesExpression", "", 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,
@@ -755,6 +788,10 @@ public void initializePackageContents() {
IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, 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 c44fd490d1..d9b3468033 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
@@ -26,15 +26,14 @@
import org.eclipse.sirius.components.view.table.RowContextMenuEntry;
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 {
@@ -56,11 +55,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();
@@ -146,7 +140,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
*/
@@ -169,20 +163,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
@@ -190,8 +170,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;
@@ -204,8 +184,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;
@@ -218,8 +198,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;
@@ -246,8 +226,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;
@@ -260,8 +240,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;
@@ -302,8 +282,8 @@ public Adapter createRowContextMenuEntryAdapter() {
* 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 596fed30d4..62c8691f90 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
@@ -25,7 +25,6 @@
import org.eclipse.sirius.components.view.table.RowContextMenuEntry;
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;
/**
@@ -34,8 +33,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 {
@@ -61,7 +60,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
*/
@@ -89,18 +88,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;
@@ -108,8 +98,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;
@@ -117,8 +105,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;
@@ -174,27 +160,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;
}
@@ -204,7 +175,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)
@@ -219,7 +190,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)
@@ -234,7 +205,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)
@@ -249,7 +220,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)
@@ -264,10 +235,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;
@@ -279,7 +250,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)
@@ -324,7 +295,7 @@ public T caseRowContextMenuEntry(RowContextMenuEntry 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)
@@ -339,10 +310,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 7e90028c30..1550c98a60 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=""/>
-
+
+
+
+
@@ -57,7 +62,11 @@
-
+
+
+
-
-
-
-
-
-
+
+
+
+
@@ -34,6 +32,9 @@
+
+
+
@@ -42,6 +43,8 @@
+
+