From ce47ceae31c2cf7c4643e0595aced1cad0e3481b Mon Sep 17 00:00:00 2001
From: Florian Barbin
Date: Mon, 12 Aug 2024 17:10:10 +0200
Subject: [PATCH] [3763] Split the SelectionDialogDescription to prepare the
Tree support
The SelectionDialogDescription will now just hold the message
information
The SelectionDialogDescription will now have a
selectionDialogTreeDescription to make it possible for the specifier to
display the selectable elements as a tree.
The selectionDialogTreeDescription will be relatively simple at first
time.
Bug: https://github.com/eclipse-sirius/sirius-web/issues/3763
Signed-off-by: Florian Barbin
---
CHANGELOG.adoc | 1 +
acceleoGeneratorSample.patch | 97 ++
...didatesExpressionMigrationParticipant.java | 57 +
.../sirius/web/data/MigrationIdentifiers.java | 6 +
...elOperationDiagramDescriptionProvider.java | 8 +-
...esExpressionMigrationParticipantTests.java | 80 ++
.../src/test/resources/scripts/migration.sql | 105 ++
.../builder/generated/DiagramBuilders.java | 10 +
.../SelectionDialogDescriptionBuilder.java | 13 +-
...SelectionDialogTreeDescriptionBuilder.java | 76 +
.../diagram/provider/DiagramEditPlugin.java | 11 +-
.../DiagramItemProviderAdapterFactory.java | 26 +
...electionDialogDescriptionItemProvider.java | 53 +-
...tionDialogTreeDescriptionItemProvider.java | 182 +++
.../obj16/SelectionDialogTreeDescription.svg | 1 +
.../src/main/resources/plugin.properties | 446 +++---
.../view/diagram/DiagramFactory.java | 9 +
.../view/diagram/DiagramPackage.java | 1229 ++++++++++-------
.../diagram/SelectionDialogDescription.java | 52 +-
.../SelectionDialogTreeDescription.java | 110 ++
.../view/diagram/impl/DiagramFactoryImpl.java | 14 +
.../view/diagram/impl/DiagramPackageImpl.java | 73 +-
.../impl/SelectionDialogDescriptionImpl.java | 132 +-
.../SelectionDialogTreeDescriptionImpl.java | 300 ++++
.../diagram/util/DiagramAdapterFactory.java | 20 +
.../view/diagram/util/DiagramSwitch.java | 23 +
.../src/main/resources/model/diagram.ecore | 13 +-
.../src/main/resources/model/diagram.genmodel | 7 +-
.../components/view/emf/ViewConverter.java | 6 +-
29 files changed, 2320 insertions(+), 840 deletions(-)
create mode 100644 acceleoGeneratorSample.patch
create mode 100644 packages/sirius-web/backend/sirius-web-application/src/main/java/org/eclipse/sirius/web/application/editingcontext/migration/participants/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant.java
create mode 100644 packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/migration/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipantTests.java
create mode 100644 packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogTreeDescriptionBuilder.java
create mode 100644 packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogTreeDescriptionItemProvider.java
create mode 100644 packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/icons/full/obj16/SelectionDialogTreeDescription.svg
create mode 100644 packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogTreeDescription.java
create mode 100644 packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogTreeDescriptionImpl.java
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index a5a6e87a81e..5e02a738e4c 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -100,6 +100,7 @@ A migration participant has been added to automatically keep compatible all diag
- https://github.com/eclipse-sirius/sirius-web/issues/3782[#3782] [sirius-web] Add an extension point to contribute custom widgets
- https://github.com/eclipse-sirius/sirius-web/issues/3801[#3801] Add an equivalent of IViewDiagramDescriptionSearchService for Form descriptions
- https://github.com/eclipse-sirius/sirius-web/issues/3557[#3550] [sirius-web] Add an extension point to contribute setting pages
+- https://github.com/eclipse-sirius/sirius-web/issues/3763[#3763] [diagram] Split the SelectionDialogDescription to prepare the Tree support
== v2024.7.0
diff --git a/acceleoGeneratorSample.patch b/acceleoGeneratorSample.patch
new file mode 100644
index 00000000000..e24068a9bd9
--- /dev/null
+++ b/acceleoGeneratorSample.patch
@@ -0,0 +1,97 @@
+diff --git a/packages/sirius-web/backend/sirius-web-sample-application/pom.xml b/packages/sirius-web/backend/sirius-web-sample-application/pom.xml
+index a3958639e..17be72d2f 100644
+--- a/packages/sirius-web/backend/sirius-web-sample-application/pom.xml
++++ b/packages/sirius-web/backend/sirius-web-sample-application/pom.xml
+@@ -12,8 +12,8 @@
+ Obeo - initial API and implementation
+ -->
+
++ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
+
+ org.springframework.boot
+@@ -58,6 +58,14 @@
+ true
+
+
++
++ Eclipse - Acceleo Snapshots
++ https://repo.eclipse.org/content/repositories/acceleo-snapshots
++
++
++ Eclipse - Acceleo Release
++ https://repo.eclipse.org/content/repositories/acceleo-releases
++
+
+
+
+@@ -211,7 +219,8 @@
+
+
+ org.eclipse.sirius
+- sirius-components-collaborative-formdescriptioneditors-widget-reference
++
++ sirius-components-collaborative-formdescriptioneditors-widget-reference
+ 2024.3.0
+
+
+@@ -257,6 +266,46 @@
+ 2024.3.0
+ compile
+
++
++ SampleGenerator
++ org.eclipse.acceleo.module.sample
++ 1.0.0
++
++
++ org.eclipse.acceleo
++ org.eclipse.acceleo.engine
++ 3.6.4-SNAPSHOT
++
++
++ org.eclipse.acceleo
++ org.eclipse.acceleo.common
++ 3.6.4-SNAPSHOT
++
++
++ org.eclipse.acceleo
++ org.eclipse.acceleo.model
++ 3.6.4-SNAPSHOT
++
++
++ org.eclipse.ocl
++ org.eclipse.ocl.ecore
++ 3.3.0.v20130520-1222
++
++
++ org.eclipse.ocl
++ org.eclipse.ocl
++ 3.3.0.v20130909-1552
++
++
++ org.eclipse.ocl
++ org.eclipse.ocl.common
++ 1.1.0.v20130531-0544
++
++
++ lpg.runtime.java
++ lpg.runtime.java
++ 2.0.17.v201004271640
++
+
+
+
+@@ -277,7 +326,8 @@
+ maven-checkstyle-plugin
+ 3.2.0
+
+- ../../../releng/backend/sirius-components-resources/checkstyle/CheckstyleConfiguration.xml
++
++ ../../../releng/backend/sirius-components-resources/checkstyle/CheckstyleConfiguration.xml
+ true
+ true
+ true
diff --git a/packages/sirius-web/backend/sirius-web-application/src/main/java/org/eclipse/sirius/web/application/editingcontext/migration/participants/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant.java b/packages/sirius-web/backend/sirius-web-application/src/main/java/org/eclipse/sirius/web/application/editingcontext/migration/participants/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant.java
new file mode 100644
index 00000000000..0f9e83de2bd
--- /dev/null
+++ b/packages/sirius-web/backend/sirius-web-application/src/main/java/org/eclipse/sirius/web/application/editingcontext/migration/participants/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2024 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 org.eclipse.sirius.web.application.editingcontext.migration.participants;
+
+import com.google.gson.JsonObject;
+
+import java.util.Optional;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.sirius.components.emf.migration.api.IMigrationParticipant;
+import org.eclipse.sirius.components.view.builder.generated.SelectionDialogTreeDescriptionBuilder;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
+import org.springframework.stereotype.Service;
+
+/**
+ * MigrationParticipant that create a new SelectionDialogTreeDescription in the SelectionDialogDescription to replace the former SelectionDialogDescription#selectionCandidatesExpression.
+ * SelectionDialogDescription#selectionCandidatesExpression value is moved toward SelectionDialogDescription#selectionDialogTreeDescription#elementsExpression
+ *
+ * @author fbarbin
+ */
+@Service
+public class SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant implements IMigrationParticipant {
+
+ private static final String PARTICIPANT_VERSION = "2024.9.0-202408121400";
+
+ @Override
+ public String getVersion() {
+ return PARTICIPANT_VERSION;
+ }
+
+ @Override
+ public void postObjectLoading(EObject eObject, JsonObject jsonObject) {
+ if (eObject instanceof SelectionDialogDescription selectionDialogDescription) {
+ var optionalSelectionDialogDescriptionData = Optional.ofNullable(jsonObject.getAsJsonObject("data"));
+ optionalSelectionDialogDescriptionData.ifPresent(selectionDialogDescriptionData -> {
+ var optionalSelectionCandidatesExpression = Optional.ofNullable(selectionDialogDescriptionData.get("selectionCandidatesExpression"));
+ optionalSelectionCandidatesExpression.ifPresent(selectionCandidatesExpression -> {
+ SelectionDialogTreeDescription selectionDialogTreeDescription = new SelectionDialogTreeDescriptionBuilder()
+ .elementsExpression(selectionCandidatesExpression.getAsString())
+ .build();
+ selectionDialogDescription.setSelectionDialogTreeDescription(selectionDialogTreeDescription);
+ });
+ });
+ }
+ }
+}
diff --git a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/data/MigrationIdentifiers.java b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/data/MigrationIdentifiers.java
index c1e796affcd..c5ca99fd86e 100644
--- a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/data/MigrationIdentifiers.java
+++ b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/data/MigrationIdentifiers.java
@@ -49,6 +49,12 @@ public final class MigrationIdentifiers {
public static final String MIGRATION_NODE_LABEL_STYLE_SHOW_ICON_STUDIO_DIAGRAM = "NodeLabelStyle#showIcon migration";
+ public static final UUID MIGRATION_SELECTION_DIALOG_DESCRIPTION_SELECTION_CANDIDATES_EXPRESSION_STUDIO = UUID.fromString("19d73d38-3de2-4d03-a8f1-ce36c2ed36db");
+
+ public static final String MIGRATION_SELECTION_DIALOG_DESCRIPTION_SELECTION_CANDIDATES_EXPRESSION_STUDIO_DIAGRAM = "SelectionDialogDescription#selectionCandidatesExpression migration";
+
+
+
private MigrationIdentifiers() {
// Prevent instantiation
}
diff --git a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/diagrams/ModelOperationDiagramDescriptionProvider.java b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/diagrams/ModelOperationDiagramDescriptionProvider.java
index 587b704c799..2893dee9fae 100644
--- a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/diagrams/ModelOperationDiagramDescriptionProvider.java
+++ b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/diagrams/ModelOperationDiagramDescriptionProvider.java
@@ -31,12 +31,14 @@
import org.eclipse.sirius.components.view.builder.generated.NodeToolBuilder;
import org.eclipse.sirius.components.view.builder.generated.RectangularNodeStyleDescriptionBuilder;
import org.eclipse.sirius.components.view.builder.generated.SelectionDialogDescriptionBuilder;
+import org.eclipse.sirius.components.view.builder.generated.SelectionDialogTreeDescriptionBuilder;
import org.eclipse.sirius.components.view.builder.generated.ViewBuilder;
import org.eclipse.sirius.components.view.builder.generated.ViewBuilders;
import org.eclipse.sirius.components.view.diagram.DiagramDescription;
import org.eclipse.sirius.components.view.diagram.DiagramFactory;
import org.eclipse.sirius.components.view.diagram.InsideLabelPosition;
import org.eclipse.sirius.components.view.diagram.NodeTool;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
import org.eclipse.sirius.components.view.diagram.SynchronizationPolicy;
import org.eclipse.sirius.components.view.emf.diagram.IDiagramIdProvider;
import org.eclipse.sirius.emfjson.resource.JsonResource;
@@ -193,9 +195,13 @@ private void createCreateNodeTool() {
}
private void createRenameElementNodeTool() {
+
+ SelectionDialogTreeDescription selectionDialogTreeDescription = new SelectionDialogTreeDescriptionBuilder()
+ .elementsExpression("aql:self.eResource().eAllContents()")
+ .build();
var selectionDialog = new SelectionDialogDescriptionBuilder()
- .selectionCandidatesExpression("aql:self.eResource().eAllContents()")
.selectionMessage("Select a new element")
+ .selectionDialogTreeDescription(selectionDialogTreeDescription)
.build();
var setSelectedComponentName = new ViewBuilders().newSetValue()
diff --git a/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/migration/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipantTests.java b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/migration/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipantTests.java
new file mode 100644
index 00000000000..6ed4ac9f4a7
--- /dev/null
+++ b/packages/sirius-web/backend/sirius-web/src/test/java/org/eclipse/sirius/web/services/migration/SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipantTests.java
@@ -0,0 +1,80 @@
+/*******************************************************************************
+ * Copyright (c) 2024 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 org.eclipse.sirius.web.services.migration;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import org.eclipse.sirius.components.core.api.IEditingContext;
+import org.eclipse.sirius.components.core.api.IEditingContextSearchService;
+import org.eclipse.sirius.components.view.diagram.DiagramDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.web.AbstractIntegrationTests;
+import org.eclipse.sirius.web.application.editingcontext.EditingContext;
+import org.eclipse.sirius.web.data.MigrationIdentifiers;
+import org.junit.jupiter.api.DisplayName;
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.jdbc.Sql;
+import org.springframework.test.context.jdbc.SqlConfig;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * Integration tests of SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant.
+ *
+ * @author fbarbin
+ */
+@Transactional
+@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
+public class SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipantTests extends AbstractIntegrationTests {
+
+ @Autowired
+ private IEditingContextSearchService editingContextSearchService;
+
+ @Test
+ @DisplayName("Given a project with an old model, SelectionDialogDescriptionSelectionCandidatesExpressionMigrationParticipant migrates the model correctly")
+ @Sql(scripts = { "/scripts/migration.sql" }, executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD)
+ @Sql(scripts = { "/scripts/cleanup.sql" }, executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD, config = @SqlConfig(transactionMode = SqlConfig.TransactionMode.ISOLATED))
+ public void givenAnOldModelMigrationParticipantCanBeContributedToUpdateTheModel() {
+ var optionalEditingContext = this.editingContextSearchService.findById(MigrationIdentifiers.MIGRATION_SELECTION_DIALOG_DESCRIPTION_SELECTION_CANDIDATES_EXPRESSION_STUDIO.toString());
+ assertThat(optionalEditingContext).isPresent();
+ this.testIsMigrationSuccessful(optionalEditingContext.get());
+ }
+
+ private void testIsMigrationSuccessful(IEditingContext editingContext) {
+ if (editingContext instanceof EditingContext siriusWebEditingContext) {
+ var optionalDiagramDescription = siriusWebEditingContext.getViews().stream().flatMap(view -> view.getDescriptions().stream()).filter(
+ representationDescription -> representationDescription.getName().equals(MigrationIdentifiers.MIGRATION_SELECTION_DIALOG_DESCRIPTION_SELECTION_CANDIDATES_EXPRESSION_STUDIO_DIAGRAM))
+ .findFirst();
+ assertThat(optionalDiagramDescription).isPresent();
+ assertThat(optionalDiagramDescription.get()).isInstanceOf(DiagramDescription.class);
+ optionalDiagramDescription.ifPresent(representationDescription -> {
+ if (representationDescription instanceof DiagramDescription diagramDescription) {
+ assertThat(diagramDescription.getPalette()).isNotNull();
+ var palette = diagramDescription.getPalette();
+ assertThat(palette.getNodeTools()).hasSize(1);
+ var nodeTool = palette.getNodeTools().get(0);
+ var dialogDescription = nodeTool.getDialogDescription();
+ assertThat(dialogDescription).isNotNull();
+ assertThat(dialogDescription).isInstanceOf(SelectionDialogDescription.class);
+ if (dialogDescription instanceof SelectionDialogDescription selectionDialogDescription) {
+ var selectionDialogTreeDescription = selectionDialogDescription.getSelectionDialogTreeDescription();
+ assertThat(selectionDialogTreeDescription).isNotNull();
+ assertThat(selectionDialogTreeDescription.getElementsExpression()).isEqualTo("aql:self.eContents()");
+ }
+ }
+ });
+ }
+ }
+
+}
diff --git a/packages/sirius-web/backend/sirius-web/src/test/resources/scripts/migration.sql b/packages/sirius-web/backend/sirius-web/src/test/resources/scripts/migration.sql
index 4b8efcf4ad7..8c79e92bb26 100644
--- a/packages/sirius-web/backend/sirius-web/src/test/resources/scripts/migration.sql
+++ b/packages/sirius-web/backend/sirius-web/src/test/resources/scripts/migration.sql
@@ -913,3 +913,108 @@ INSERT INTO document (
'2024-07-18 15:00:0.000',
'2024-07-18 15:00:0.000'
);
+
+
+INSERT INTO project (
+ id,
+ name,
+ created_on,
+ last_modified_on
+) VALUES (
+ '19d73d38-3de2-4d03-a8f1-ce36c2ed36db',
+ 'Migration SelectionDialogDescription#selectionCandidatesExpression Studio',
+ '2024-07-18 15:00:0.000',
+ '2024-07-18 15:00:0.000'
+);
+INSERT INTO nature (
+ project_id,
+ name
+) VALUES (
+ '19d73d38-3de2-4d03-a8f1-ce36c2ed36db',
+ 'siriusComponents://nature?kind=studio'
+);
+INSERT INTO semantic_data (
+ id,
+ project_id,
+ created_on,
+ last_modified_on
+) VALUES (
+ '06d828d9-c2c6-46d0-a9c4-7fabd588755b',
+ '19d73d38-3de2-4d03-a8f1-ce36c2ed36db',
+ '2024-07-01 15:00:0.000',
+ '2024-07-01 15:00:0.000'
+);
+INSERT INTO semantic_data_domain (
+ semantic_data_id,
+ uri
+) VALUES (
+ '06d828d9-c2c6-46d0-a9c4-7fabd588755b',
+ 'http://www.eclipse.org/sirius-web/view'
+);
+INSERT INTO semantic_data_domain (
+ semantic_data_id,
+ uri
+) VALUES (
+ '06d828d9-c2c6-46d0-a9c4-7fabd588755b',
+ 'http://www.eclipse.org/sirius-web/diagram'
+);
+INSERT INTO document (
+ id,
+ semantic_data_id,
+ name,
+ content,
+ created_on,
+ last_modified_on
+) VALUES (
+ '8652ae06-6754-4c46-aa4c-2c8db2c3b602',
+ '06d828d9-c2c6-46d0-a9c4-7fabd588755b',
+ 'SelectionDialogDescription#selectionCandidatesExpression migration',
+ '{
+ "json": { "version": "1.0", "encoding": "utf-8" },
+ "ns": { "diagram": "http://www.eclipse.org/sirius-web/diagram", "view": "http://www.eclipse.org/sirius-web/view" },
+ "content": [
+ {
+ "id": "00deb638-5c32-4d94-983d-1d00517ac82f",
+ "eClass": "view:View",
+ "data": {
+ "descriptions": [
+ {
+ "id": "683b678c-6263-4d21-b25a-502661859198",
+ "eClass": "diagram:DiagramDescription",
+ "data": {
+ "name": "SelectionDialogDescription#selectionCandidatesExpression migration",
+ "domainType": "wilson::Root",
+ "titleExpression": "wilson diagram",
+ "palette": {
+ "id": "3e54cf6c-a1d0-4eaa-bfca-48fbb9a25695",
+ "eClass": "diagram:DiagramPalette",
+ "data": {
+ "nodeTools": [
+ {
+ "id": "b5b0dfc1-566c-48ae-9907-00f50a553dae",
+ "eClass": "diagram:NodeTool",
+ "data": {
+ "name": "Selection Tool",
+ "dialogDescription": {
+ "id": "6a4e7200-2040-46fb-89c3-9060f321ecf4",
+ "eClass": "diagram:SelectionDialogDescription",
+ "data": {
+ "selectionCandidatesExpression": "aql:self.eContents()",
+ "selectionMessage": "Select an element"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+}',
+ '2024-07-18 15:00:0.000',
+ '2024-07-18 15:00:0.000'
+);
\ No newline at end of file
diff --git a/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/DiagramBuilders.java b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/DiagramBuilders.java
index 0e23e028330..324e3d93df3 100644
--- a/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/DiagramBuilders.java
+++ b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/DiagramBuilders.java
@@ -360,5 +360,15 @@ public DropNodeToolBuilder newDropNodeTool() {
return new DropNodeToolBuilder();
}
+ /**
+ * Instantiate a SelectionDialogTreeDescriptionBuilder .
+ *
+ * @author BuilderGenerator
+ * @generated
+ */
+ public SelectionDialogTreeDescriptionBuilder newSelectionDialogTreeDescription() {
+ return new SelectionDialogTreeDescriptionBuilder();
+ }
+
}
diff --git a/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogDescriptionBuilder.java b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogDescriptionBuilder.java
index 35de1b11d04..c9515b503ea 100644
--- a/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogDescriptionBuilder.java
+++ b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogDescriptionBuilder.java
@@ -43,21 +43,22 @@ public org.eclipse.sirius.components.view.diagram.SelectionDialogDescription bui
}
/**
- * Setter for SelectionCandidatesExpression.
+ * Setter for SelectionMessage.
*
* @generated
*/
- public SelectionDialogDescriptionBuilder selectionCandidatesExpression(java.lang.String value) {
- this.getSelectionDialogDescription().setSelectionCandidatesExpression(value);
+ public SelectionDialogDescriptionBuilder selectionMessage(java.lang.String value) {
+ this.getSelectionDialogDescription().setSelectionMessage(value);
return this;
}
+
/**
- * Setter for SelectionMessage.
+ * Setter for SelectionDialogTreeDescription.
*
* @generated
*/
- public SelectionDialogDescriptionBuilder selectionMessage(java.lang.String value) {
- this.getSelectionDialogDescription().setSelectionMessage(value);
+ public SelectionDialogDescriptionBuilder selectionDialogTreeDescription(org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription value) {
+ this.getSelectionDialogDescription().setSelectionDialogTreeDescription(value);
return this;
}
diff --git a/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogTreeDescriptionBuilder.java b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogTreeDescriptionBuilder.java
new file mode 100644
index 00000000000..5ecff2c572f
--- /dev/null
+++ b/packages/view/backend/sirius-components-view-builder/src/main/java/org/eclipse/sirius/components/view/builder/generated/SelectionDialogTreeDescriptionBuilder.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2023, 2024 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 org.eclipse.sirius.components.view.builder.generated;
+
+/**
+ * Builder for SelectionDialogTreeDescriptionBuilder.
+ *
+ * @author BuilderGenerator
+ * @generated
+ */
+public class SelectionDialogTreeDescriptionBuilder {
+
+ /**
+ * Create instance org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription.
+ * @generated
+ */
+ private org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription selectionDialogTreeDescription = org.eclipse.sirius.components.view.diagram.DiagramFactory.eINSTANCE.createSelectionDialogTreeDescription();
+
+ /**
+ * Return instance org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription.
+ * @generated
+ */
+ protected org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription getSelectionDialogTreeDescription() {
+ return this.selectionDialogTreeDescription;
+ }
+
+ /**
+ * Return instance org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription.
+ * @generated
+ */
+ public org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription build() {
+ return this.getSelectionDialogTreeDescription();
+ }
+
+ /**
+ * Setter for ElementsExpression.
+ *
+ * @generated
+ */
+ public SelectionDialogTreeDescriptionBuilder elementsExpression(java.lang.String value) {
+ this.getSelectionDialogTreeDescription().setElementsExpression(value);
+ return this;
+ }
+
+ /**
+ * Setter for ChildrenExpression.
+ *
+ * @generated
+ */
+ public SelectionDialogTreeDescriptionBuilder childrenExpression(java.lang.String value) {
+ this.getSelectionDialogTreeDescription().setChildrenExpression(value);
+ return this;
+ }
+
+ /**
+ * Setter for IsSelectableExpression.
+ *
+ * @generated
+ */
+ public SelectionDialogTreeDescriptionBuilder isSelectableExpression(java.lang.String value) {
+ this.getSelectionDialogTreeDescription().setIsSelectableExpression(value);
+ return this;
+ }
+
+}
+
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramEditPlugin.java b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramEditPlugin.java
index 56573085c88..3bc21829f9e 100644
--- a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramEditPlugin.java
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramEditPlugin.java
@@ -90,15 +90,8 @@ protected static String extensionFor(String key) {
int index = key.lastIndexOf('.');
if (index != -1) {
String extension = key.substring(index + 1);
- if ("png".equalsIgnoreCase(extension)
- || "gif".equalsIgnoreCase(extension)
- || "bmp".equalsIgnoreCase(extension)
- || "ico".equalsIgnoreCase(extension)
- || "jpg".equalsIgnoreCase(extension)
- || "jpeg".equalsIgnoreCase(extension)
- || "tif".equalsIgnoreCase(extension)
- || "tiff".equalsIgnoreCase(extension)
- || "svg".equalsIgnoreCase(extension)) {
+ if ("png".equalsIgnoreCase(extension) || "gif".equalsIgnoreCase(extension) || "bmp".equalsIgnoreCase(extension) || "ico".equalsIgnoreCase(extension) || "jpg".equalsIgnoreCase(extension)
+ || "jpeg".equalsIgnoreCase(extension) || "tif".equalsIgnoreCase(extension) || "tiff".equalsIgnoreCase(extension) || "svg".equalsIgnoreCase(extension)) {
result = "";
}
}
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramItemProviderAdapterFactory.java b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramItemProviderAdapterFactory.java
index ecd5b030ddf..677d56dceb7 100644
--- a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramItemProviderAdapterFactory.java
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/DiagramItemProviderAdapterFactory.java
@@ -905,6 +905,30 @@ public Adapter createDropNodeToolAdapter() {
return this.dropNodeToolItemProvider;
}
+ /**
+ * This keeps track of the one adapter used for all
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription} instances.
+ *
+ * @generated
+ */
+ protected SelectionDialogTreeDescriptionItemProvider selectionDialogTreeDescriptionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createSelectionDialogTreeDescriptionAdapter() {
+ if (this.selectionDialogTreeDescriptionItemProvider == null) {
+ this.selectionDialogTreeDescriptionItemProvider = new SelectionDialogTreeDescriptionItemProvider(this);
+ }
+
+ return this.selectionDialogTreeDescriptionItemProvider;
+ }
+
/**
* This returns the root adapter factory that contains this factory.
*
@@ -1102,6 +1126,8 @@ public void dispose() {
this.edgeToolSectionItemProvider.dispose();
if (this.dropNodeToolItemProvider != null)
this.dropNodeToolItemProvider.dispose();
+ if (this.selectionDialogTreeDescriptionItemProvider != null)
+ this.selectionDialogTreeDescriptionItemProvider.dispose();
}
/**
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogDescriptionItemProvider.java
index 521b630a0b2..2999946fc0c 100644
--- a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogDescriptionItemProvider.java
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogDescriptionItemProvider.java
@@ -17,10 +17,12 @@
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.eclipse.sirius.components.view.diagram.DiagramFactory;
import org.eclipse.sirius.components.view.diagram.DiagramPackage;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
@@ -50,35 +52,51 @@ public List getPropertyDescriptors(Object object) {
if (this.itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
- this.addSelectionCandidatesExpressionPropertyDescriptor(object);
this.addSelectionMessagePropertyDescriptor(object);
}
return this.itemPropertyDescriptors;
}
/**
- * This adds a property descriptor for the Selection Candidates Expression feature.
+ * This adds a property descriptor for the Selection Message feature.
*
* @generated
*/
- protected void addSelectionCandidatesExpressionPropertyDescriptor(Object object) {
+ protected void addSelectionMessagePropertyDescriptor(Object object) {
this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
- this.getString("_UI_SelectionDialogDescription_selectionCandidatesExpression_feature"),
- this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogDescription_selectionCandidatesExpression_feature", "_UI_SelectionDialogDescription_type"),
- DiagramPackage.Literals.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ this.getString("_UI_SelectionDialogDescription_selectionMessage_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogDescription_selectionMessage_feature", "_UI_SelectionDialogDescription_type"),
+ DiagramPackage.Literals.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
- * This adds a property descriptor for the Selection Message feature.
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
*
* @generated
*/
- protected void addSelectionMessagePropertyDescriptor(Object object) {
- this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
- this.getString("_UI_SelectionDialogDescription_selectionMessage_feature"),
- this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogDescription_selectionMessage_feature", "_UI_SelectionDialogDescription_type"),
- DiagramPackage.Literals.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (this.childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ this.childrenFeatures.add(DiagramPackage.Literals.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION);
+ }
+ return this.childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
}
/**
@@ -108,7 +126,7 @@ protected boolean shouldComposeCreationImage() {
*/
@Override
public String getText(Object object) {
- String label = ((SelectionDialogDescription) object).getSelectionCandidatesExpression();
+ String label = ((SelectionDialogDescription) object).getSelectionMessage();
return label == null || label.length() == 0 ? this.getString("_UI_SelectionDialogDescription_type") : this.getString("_UI_SelectionDialogDescription_type") + " " + label;
}
@@ -124,10 +142,12 @@ public void notifyChanged(Notification notification) {
this.updateChildren(notification);
switch (notification.getFeatureID(SelectionDialogDescription.class)) {
- case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION:
case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE:
this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -141,6 +161,9 @@ public void notifyChanged(Notification notification) {
@Override
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(
+ this.createChildParameter(DiagramPackage.Literals.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION, DiagramFactory.eINSTANCE.createSelectionDialogTreeDescription()));
}
}
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogTreeDescriptionItemProvider.java b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogTreeDescriptionItemProvider.java
new file mode 100644
index 00000000000..001ec4df97b
--- /dev/null
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/java/org/eclipse/sirius/components/view/diagram/provider/SelectionDialogTreeDescriptionItemProvider.java
@@ -0,0 +1,182 @@
+/*******************************************************************************
+ * Copyright (c) 2024 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 org.eclipse.sirius.components.view.diagram.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IChildCreationExtender;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.eclipse.sirius.components.view.diagram.DiagramPackage;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
+
+/**
+ * This is the item provider adapter for a
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription} object.
+ *
+ *
+ * @generated
+ */
+public class SelectionDialogTreeDescriptionItemProvider extends ItemProviderAdapter
+ implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ * @generated
+ */
+ public SelectionDialogTreeDescriptionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (this.itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ this.addElementsExpressionPropertyDescriptor(object);
+ this.addChildrenExpressionPropertyDescriptor(object);
+ this.addIsSelectableExpressionPropertyDescriptor(object);
+ }
+ return this.itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Elements Expression feature.
+ *
+ * @generated
+ */
+ protected void addElementsExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_SelectionDialogTreeDescription_elementsExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogTreeDescription_elementsExpression_feature", "_UI_SelectionDialogTreeDescription_type"),
+ DiagramPackage.Literals.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Children Expression feature.
+ *
+ * @generated
+ */
+ protected void addChildrenExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_SelectionDialogTreeDescription_childrenExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogTreeDescription_childrenExpression_feature", "_UI_SelectionDialogTreeDescription_type"),
+ DiagramPackage.Literals.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Is Selectable Expression feature.
+ *
+ * @generated
+ */
+ protected void addIsSelectableExpressionPropertyDescriptor(Object object) {
+ this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(),
+ this.getString("_UI_SelectionDialogTreeDescription_isSelectableExpression_feature"),
+ this.getString("_UI_PropertyDescriptor_description", "_UI_SelectionDialogTreeDescription_isSelectableExpression_feature", "_UI_SelectionDialogTreeDescription_type"),
+ DiagramPackage.Literals.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns SelectionDialogTreeDescription.gif.
+ *
+ * @generated NOT
+ */
+ @Override
+ public Object getImage(Object object) {
+ return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/SelectionDialogTreeDescription.svg"));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((SelectionDialogTreeDescription) object).getElementsExpression();
+ return label == null || label.length() == 0 ? this.getString("_UI_SelectionDialogTreeDescription_type") : this.getString("_UI_SelectionDialogTreeDescription_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating
+ * a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ this.updateChildren(notification);
+
+ switch (notification.getFeatureID(SelectionDialogTreeDescription.class)) {
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION:
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION:
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION:
+ this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created
+ * under this object.
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ((IChildCreationExtender) this.adapterFactory).getResourceLocator();
+ }
+
+}
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/icons/full/obj16/SelectionDialogTreeDescription.svg b/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/icons/full/obj16/SelectionDialogTreeDescription.svg
new file mode 100644
index 00000000000..d6c72c4e225
--- /dev/null
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/icons/full/obj16/SelectionDialogTreeDescription.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/plugin.properties b/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/plugin.properties
index 532e02f5b78..943202c10ff 100644
--- a/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/plugin.properties
+++ b/packages/view/backend/sirius-components-view-diagram-edit/src/main/resources/plugin.properties
@@ -4,239 +4,245 @@
# 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
#################################################################################
-pluginName=Diagram Edit Support
-providerName=www.example.org
+pluginName = Diagram Edit Support
+providerName = www.example.org
-_UI_CreateChild_text={0}
-_UI_CreateChild_text2={1} {0}
-_UI_CreateChild_text3={1}
-_UI_CreateChild_tooltip=Create New {0} Under {1} Feature
-_UI_CreateChild_description=Create a new child of type {0} for the {1} feature of the selected {2}.
-_UI_CreateSibling_description=Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
+_UI_CreateChild_text = {0}
+_UI_CreateChild_text2 = {1} {0}
+_UI_CreateChild_text3 = {1}
+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
-_UI_PropertyDescriptor_description=The {0} of the {1}
+_UI_PropertyDescriptor_description = The {0} of the {1}
_UI_DiagramDescription_type=Diagram Description
_UI_DiagramElementDescription_type=Diagram Element Description
-_UI_NodeDescription_type=Node Description
-_UI_EdgeDescription_type=Edge Description
-_UI_LayoutStrategyDescription_type=Layout Strategy Description
-_UI_ListLayoutStrategyDescription_type=List Layout Strategy Description
-_UI_FreeFormLayoutStrategyDescription_type=Free Form Layout Strategy Description
-_UI_LabelDescription_type=Label Description
-_UI_InsideLabelDescription_type=Inside Label Description
-_UI_OutsideLabelDescription_type=Outside Label Description
-_UI_Style_type=Style
-_UI_BorderStyle_type=Border Style
-_UI_InsideLabelStyle_type=Inside Label Style
-_UI_OutsideLabelStyle_type=Outside Label Style
-_UI_NodeLabelStyle_type=Node Label Style
-_UI_NodeStyleDescription_type=Node Style Description
-_UI_ConditionalNodeStyle_type=Conditional Node Style
-_UI_ConditionalInsideLabelStyle_type=Conditional Inside Label Style
-_UI_ConditionalOutsideLabelStyle_type=Conditional Outside Label Style
-_UI_RectangularNodeStyleDescription_type=Rectangular Node Style Description
-_UI_ImageNodeStyleDescription_type=Image Node Style Description
-_UI_IconLabelNodeStyleDescription_type=Icon Label Node Style Description
-_UI_EdgeStyle_type=Edge Style
-_UI_ConditionalEdgeStyle_type=Conditional Edge Style
-_UI_DiagramPalette_type=Palette
-_UI_NodePalette_type=Node Palette
-_UI_EdgePalette_type=Edge Palette
-_UI_Tool_type=Tool
-_UI_DeleteTool_type=Delete Tool
-_UI_DropTool_type=Drop Tool
-_UI_EdgeTool_type=Edge Tool
-_UI_EdgeReconnectionTool_type=Edge Reconnection Tool
-_UI_LabelEditTool_type=Label Edit Tool
-_UI_NodeTool_type=Node Tool
-_UI_SourceEdgeEndReconnectionTool_type=Source Edge End Reconnection Tool
-_UI_TargetEdgeEndReconnectionTool_type=Target Edge End Reconnection Tool
-_UI_CreateView_type=Create View
-_UI_DeleteView_type=Delete View
-_UI_SelectionDialogDescription_type=Selection Dialog Description
-_UI_ToolSection_type=Tool Section
+_UI_NodeDescription_type = Node Description
+_UI_EdgeDescription_type = Edge Description
+_UI_LayoutStrategyDescription_type = Layout Strategy Description
+_UI_ListLayoutStrategyDescription_type = List Layout Strategy Description
+_UI_FreeFormLayoutStrategyDescription_type = Free Form Layout Strategy Description
+_UI_LabelDescription_type = Label Description
+_UI_InsideLabelDescription_type = Inside Label Description
+_UI_OutsideLabelDescription_type = Outside Label Description
+_UI_Style_type = Style
+_UI_BorderStyle_type = Border Style
+_UI_InsideLabelStyle_type = Inside Label Style
+_UI_OutsideLabelStyle_type = Outside Label Style
+_UI_NodeLabelStyle_type = Node Label Style
+_UI_NodeStyleDescription_type = Node Style Description
+_UI_ConditionalNodeStyle_type = Conditional Node Style
+_UI_ConditionalInsideLabelStyle_type = Conditional Inside Label Style
+_UI_ConditionalOutsideLabelStyle_type = Conditional Outside Label Style
+_UI_RectangularNodeStyleDescription_type = Rectangular Node Style Description
+_UI_ImageNodeStyleDescription_type = Image Node Style Description
+_UI_IconLabelNodeStyleDescription_type = Icon Label Node Style Description
+_UI_EdgeStyle_type = Edge Style
+_UI_ConditionalEdgeStyle_type = Conditional Edge Style
+_UI_DiagramPalette_type = Palette
+_UI_NodePalette_type = Node Palette
+_UI_EdgePalette_type = Edge Palette
+_UI_Tool_type = Tool
+_UI_DeleteTool_type = Delete Tool
+_UI_DropTool_type = Drop Tool
+_UI_EdgeTool_type = Edge Tool
+_UI_EdgeReconnectionTool_type = Edge Reconnection Tool
+_UI_LabelEditTool_type = Label Edit Tool
+_UI_NodeTool_type = Node Tool
+_UI_SourceEdgeEndReconnectionTool_type = Source Edge End Reconnection Tool
+_UI_TargetEdgeEndReconnectionTool_type = Target Edge End Reconnection Tool
+_UI_CreateView_type = Create View
+_UI_DeleteView_type = Delete View
+_UI_SelectionDialogDescription_type = Selection Dialog Description
+_UI_ToolSection_type = Tool Section
_UI_DiagramToolSection_type=Diagram Tool Section
-_UI_NodeToolSection_type=Node Tool Section
-_UI_EdgeToolSection_type=Edge Tool Section
-_UI_DropNodeTool_type=Drop Node Tool
-_UI_Unknown_type=Object
+_UI_NodeToolSection_type = Node Tool Section
+_UI_EdgeToolSection_type = Edge Tool Section
+_UI_DropNodeTool_type = Drop Node Tool
+_UI_DialogDescription_type = Dialog Description
+_UI_SelectionDialogTreeDescription_type = Selection Dialog Tree Description
+_UI_Unknown_type = Object
-_UI_Unknown_datatype=Value
-_UI_DiagramDescription_autoLayout_feature=Auto Layout
-_UI_DiagramDescription_palette_feature=Palette
-_UI_DiagramDescription_nodeDescriptions_feature=Node Descriptions
-_UI_DiagramDescription_edgeDescriptions_feature=Edge Descriptions
-_UI_DiagramDescription_arrangeLayoutDirection_feature=Arrange Layout Direction
-_UI_DiagramElementDescription_name_feature=Name
-_UI_DiagramElementDescription_domainType_feature=Domain Type
-_UI_DiagramElementDescription_semanticCandidatesExpression_feature=Semantic Candidates Expression
-_UI_DiagramElementDescription_preconditionExpression_feature=Precondition Expression
-_UI_DiagramElementDescription_synchronizationPolicy_feature=Synchronization Policy
-_UI_NodeDescription_collapsible_feature=Collapsible
-_UI_NodeDescription_palette_feature=Palette
-_UI_NodeDescription_childrenLayoutStrategy_feature=Children Layout Strategy
-_UI_NodeDescription_style_feature=Style
-_UI_NodeDescription_conditionalStyles_feature=Conditional Styles
-_UI_NodeDescription_childrenDescriptions_feature=Children Descriptions
-_UI_NodeDescription_borderNodesDescriptions_feature=Border Nodes Descriptions
-_UI_NodeDescription_reusedChildNodeDescriptions_feature=Reused Child Node Descriptions
-_UI_NodeDescription_reusedBorderNodeDescriptions_feature=Reused Border Node Descriptions
-_UI_NodeDescription_userResizable_feature=User Resizable
-_UI_NodeDescription_defaultWidthExpression_feature=Default Width Expression
-_UI_NodeDescription_defaultHeightExpression_feature=Default Height Expression
-_UI_NodeDescription_keepAspectRatio_feature=Keep Aspect Ratio
-_UI_NodeDescription_isCollapsedByDefaultExpression_feature=Is Collapsed By Default Expression
+_UI_Unknown_datatype= Value
+
+_UI_DiagramDescription_autoLayout_feature = Auto Layout
+_UI_DiagramDescription_palette_feature = Palette
+_UI_DiagramDescription_nodeDescriptions_feature = Node Descriptions
+_UI_DiagramDescription_edgeDescriptions_feature = Edge Descriptions
+_UI_DiagramDescription_arrangeLayoutDirection_feature = Arrange Layout Direction
+_UI_DiagramElementDescription_name_feature = Name
+_UI_DiagramElementDescription_domainType_feature = Domain Type
+_UI_DiagramElementDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression
+_UI_DiagramElementDescription_preconditionExpression_feature = Precondition Expression
+_UI_DiagramElementDescription_synchronizationPolicy_feature = Synchronization Policy
+_UI_NodeDescription_collapsible_feature = Collapsible
+_UI_NodeDescription_palette_feature = Palette
+_UI_NodeDescription_childrenLayoutStrategy_feature = Children Layout Strategy
+_UI_NodeDescription_style_feature = Style
+_UI_NodeDescription_conditionalStyles_feature = Conditional Styles
+_UI_NodeDescription_childrenDescriptions_feature = Children Descriptions
+_UI_NodeDescription_borderNodesDescriptions_feature = Border Nodes Descriptions
+_UI_NodeDescription_reusedChildNodeDescriptions_feature = Reused Child Node Descriptions
+_UI_NodeDescription_reusedBorderNodeDescriptions_feature = Reused Border Node Descriptions
+_UI_NodeDescription_userResizable_feature = User Resizable
+_UI_NodeDescription_defaultWidthExpression_feature = Default Width Expression
+_UI_NodeDescription_defaultHeightExpression_feature = Default Height Expression
+_UI_NodeDescription_keepAspectRatio_feature = Keep Aspect Ratio
+_UI_NodeDescription_isCollapsedByDefaultExpression_feature = Is Collapsed By Default Expression
_UI_NodeDescription_isHiddenByDefaultExpression_feature=Is Hidden By Default Expression
_UI_NodeDescription_isFadedByDefaultExpression_feature=Is Faded By Default Expression
-_UI_NodeDescription_insideLabel_feature=Inside Label
-_UI_NodeDescription_outsideLabels_feature=Outside Labels
-_UI_EdgeDescription_beginLabelExpression_feature=Begin Label Expression
-_UI_EdgeDescription_centerLabelExpression_feature=Center Label Expression
-_UI_EdgeDescription_endLabelExpression_feature=End Label Expression
-_UI_EdgeDescription_isDomainBasedEdge_feature=Is Domain Based Edge
-_UI_EdgeDescription_palette_feature=Palette
-_UI_EdgeDescription_sourceNodeDescriptions_feature=Source Node Descriptions
-_UI_EdgeDescription_targetNodeDescriptions_feature=Target Node Descriptions
-_UI_EdgeDescription_sourceNodesExpression_feature=Source Nodes Expression
-_UI_EdgeDescription_targetNodesExpression_feature=Target Nodes Expression
-_UI_EdgeDescription_style_feature=Style
-_UI_EdgeDescription_conditionalStyles_feature=Conditional Styles
-_UI_ListLayoutStrategyDescription_areChildNodesDraggableExpression_feature=Are Child Nodes Draggable Expression
-_UI_ListLayoutStrategyDescription_topGapExpression_feature=Top Gap Expression
-_UI_ListLayoutStrategyDescription_bottomGapExpression_feature=Bottom Gap Expression
-_UI_LabelDescription_labelExpression_feature=Label Expression
-_UI_LabelDescription_overflowStrategy_feature=Overflow Strategy
-_UI_LabelDescription_textAlign_feature=Text Align
-_UI_InsideLabelDescription_position_feature=Position
-_UI_InsideLabelDescription_style_feature=Style
-_UI_InsideLabelDescription_conditionalStyles_feature=Conditional Styles
-_UI_OutsideLabelDescription_position_feature=Position
-_UI_OutsideLabelDescription_style_feature=Style
-_UI_OutsideLabelDescription_conditionalStyles_feature=Conditional Styles
+_UI_NodeDescription_insideLabel_feature = Inside Label
+_UI_NodeDescription_outsideLabels_feature = Outside Labels
+_UI_EdgeDescription_beginLabelExpression_feature = Begin Label Expression
+_UI_EdgeDescription_centerLabelExpression_feature = Center Label Expression
+_UI_EdgeDescription_endLabelExpression_feature = End Label Expression
+_UI_EdgeDescription_isDomainBasedEdge_feature = Is Domain Based Edge
+_UI_EdgeDescription_palette_feature = Palette
+_UI_EdgeDescription_sourceNodeDescriptions_feature = Source Node Descriptions
+_UI_EdgeDescription_targetNodeDescriptions_feature = Target Node Descriptions
+_UI_EdgeDescription_sourceNodesExpression_feature = Source Nodes Expression
+_UI_EdgeDescription_targetNodesExpression_feature = Target Nodes Expression
+_UI_EdgeDescription_style_feature = Style
+_UI_EdgeDescription_conditionalStyles_feature = Conditional Styles
+_UI_ListLayoutStrategyDescription_areChildNodesDraggableExpression_feature = Are Child Nodes Draggable Expression
+_UI_ListLayoutStrategyDescription_topGapExpression_feature = Top Gap Expression
+_UI_ListLayoutStrategyDescription_bottomGapExpression_feature = Bottom Gap Expression
+_UI_LabelDescription_labelExpression_feature = Label Expression
+_UI_LabelDescription_overflowStrategy_feature = Overflow Strategy
+_UI_LabelDescription_textAlign_feature = Text Align
+_UI_InsideLabelDescription_position_feature = Position
+_UI_InsideLabelDescription_style_feature = Style
+_UI_InsideLabelDescription_conditionalStyles_feature = Conditional Styles
+_UI_OutsideLabelDescription_position_feature = Position
+_UI_OutsideLabelDescription_style_feature = Style
+_UI_OutsideLabelDescription_conditionalStyles_feature = Conditional Styles
_UI_ListLayoutStrategyDescription_growableNodes_feature=Growable Nodes
-_UI_Style_color_feature=Color
-_UI_BorderStyle_borderColor_feature=Border Color
-_UI_BorderStyle_borderRadius_feature=Border Radius
-_UI_BorderStyle_borderSize_feature=Border Size
-_UI_BorderStyle_borderLineStyle_feature=Border Line Style
-_UI_InsideLabelStyle_withHeader_feature=With Header
-_UI_InsideLabelStyle_displayHeaderSeparator_feature=Display Header Separator
-_UI_NodeLabelStyle_labelColor_feature=Label Color
-_UI_NodeLabelStyle_background_feature=Background
-_UI_NodeLabelStyle_showIconExpression_feature=Show Icon Expression
-_UI_NodeLabelStyle_labelIcon_feature=Label Icon
-_UI_NodeLabelStyle_maxWidthExpression_feature=Max Width Expression
-_UI_ConditionalNodeStyle_style_feature=Style
-_UI_ConditionalInsideLabelStyle_style_feature=Style
-_UI_ConditionalOutsideLabelStyle_style_feature=Style
-_UI_RectangularNodeStyleDescription_background_feature=Background
-_UI_ImageNodeStyleDescription_shape_feature=Shape
+_UI_Style_color_feature = Color
+_UI_BorderStyle_borderColor_feature = Border Color
+_UI_BorderStyle_borderRadius_feature = Border Radius
+_UI_BorderStyle_borderSize_feature = Border Size
+_UI_BorderStyle_borderLineStyle_feature = Border Line Style
+_UI_InsideLabelStyle_withHeader_feature = With Header
+_UI_InsideLabelStyle_displayHeaderSeparator_feature = Display Header Separator
+_UI_NodeLabelStyle_labelColor_feature = Label Color
+_UI_NodeLabelStyle_background_feature = Background
+_UI_NodeLabelStyle_showIconExpression_feature = Show Icon Expression
+_UI_NodeLabelStyle_labelIcon_feature = Label Icon
+_UI_NodeLabelStyle_maxWidthExpression_feature = Max Width Expression
+_UI_ConditionalNodeStyle_style_feature = Style
+_UI_ConditionalInsideLabelStyle_style_feature = Style
+_UI_ConditionalOutsideLabelStyle_style_feature = Style
+_UI_RectangularNodeStyleDescription_background_feature = Background
+_UI_ImageNodeStyleDescription_shape_feature = Shape
_UI_ImageNodeStyleDescription_positionDependentRotation_feature=Position-Dependent Rotation
-_UI_IconLabelNodeStyleDescription_background_feature=Background
-_UI_EdgeStyle_lineStyle_feature=Line Style
-_UI_EdgeStyle_sourceArrowStyle_feature=Source Arrow Style
-_UI_EdgeStyle_targetArrowStyle_feature=Target Arrow Style
-_UI_EdgeStyle_edgeWidth_feature=Edge Width
-_UI_EdgeStyle_showIcon_feature=Show Icon
-_UI_EdgeStyle_labelIcon_feature=Label Icon
-_UI_EdgeStyle_background_feature=Background
-_UI_EdgeStyle_maxWidthExpression_feature=Max Width Expression
-_UI_DiagramPalette_dropTool_feature=Drop Tool
-_UI_DiagramPalette_dropNodeTool_feature=Drop Node Tool
-_UI_DiagramPalette_nodeTools_feature=Node Tools
-_UI_DiagramPalette_toolSections_feature=Tool Sections
-_UI_NodePalette_deleteTool_feature=Delete Tool
-_UI_NodePalette_labelEditTool_feature=Label Edit Tool
-_UI_NodePalette_dropNodeTool_feature=Drop Node Tool
-_UI_NodePalette_nodeTools_feature=Node Tools
-_UI_NodePalette_edgeTools_feature=Edge Tools
-_UI_NodePalette_toolSections_feature=Tool Sections
-_UI_EdgePalette_deleteTool_feature=Delete Tool
-_UI_EdgePalette_centerLabelEditTool_feature=Center Label Edit Tool
-_UI_EdgePalette_beginLabelEditTool_feature=Begin Label Edit Tool
-_UI_EdgePalette_endLabelEditTool_feature=End Label Edit Tool
-_UI_EdgePalette_nodeTools_feature=Node Tools
-_UI_EdgePalette_edgeReconnectionTools_feature=Edge Reconnection Tools
-_UI_EdgePalette_toolSections_feature=Tool Sections
-_UI_Tool_name_feature=Name
-_UI_Tool_preconditionExpression_feature=Precondition Expression
-_UI_Tool_body_feature=Body
-_UI_EdgeTool_targetElementDescriptions_feature=Target Element Descriptions
-_UI_EdgeTool_iconURLsExpression_feature=Icon URLs Expression
-_UI_LabelEditTool_initialDirectEditLabelExpression_feature=Initial Direct Edit Label Expression
-_UI_NodeTool_dialogDescription_feature=Dialog Description
-_UI_NodeTool_iconURLsExpression_feature=Icon URLs Expression
-_UI_CreateView_parentViewExpression_feature=Parent View Expression
-_UI_CreateView_elementDescription_feature=Element Description
-_UI_CreateView_semanticElementExpression_feature=Semantic Element Expression
-_UI_CreateView_variableName_feature=Variable Name
-_UI_CreateView_containmentKind_feature=Containment Kind
-_UI_DeleteView_viewExpression_feature=View Expression
-_UI_SelectionDialogDescription_selectionCandidatesExpression_feature=Selection Candidates Expression
-_UI_SelectionDialogDescription_selectionMessage_feature=Selection Message
-_UI_ToolSection_name_feature=Name
-_UI_DiagramToolSection_nodeTools_feature=Node Tools
-_UI_NodeToolSection_nodeTools_feature=Node Tools
-_UI_NodeToolSection_edgeTools_feature=Edge Tools
-_UI_EdgeToolSection_nodeTools_feature=Node Tools
-_UI_DropNodeTool_acceptedNodeTypes_feature=Accepted Node Types
-_UI_Unknown_feature=Unspecified
+_UI_IconLabelNodeStyleDescription_background_feature = Background
+_UI_EdgeStyle_lineStyle_feature = Line Style
+_UI_EdgeStyle_sourceArrowStyle_feature = Source Arrow Style
+_UI_EdgeStyle_targetArrowStyle_feature = Target Arrow Style
+_UI_EdgeStyle_edgeWidth_feature = Edge Width
+_UI_EdgeStyle_showIcon_feature = Show Icon
+_UI_EdgeStyle_labelIcon_feature = Label Icon
+_UI_EdgeStyle_background_feature = Background
+_UI_EdgeStyle_maxWidthExpression_feature = Max Width Expression
+_UI_DiagramPalette_dropTool_feature = Drop Tool
+_UI_DiagramPalette_dropNodeTool_feature = Drop Node Tool
+_UI_DiagramPalette_nodeTools_feature = Node Tools
+_UI_DiagramPalette_toolSections_feature = Tool Sections
+_UI_NodePalette_deleteTool_feature = Delete Tool
+_UI_NodePalette_labelEditTool_feature = Label Edit Tool
+_UI_NodePalette_dropNodeTool_feature = Drop Node Tool
+_UI_NodePalette_nodeTools_feature = Node Tools
+_UI_NodePalette_edgeTools_feature = Edge Tools
+_UI_NodePalette_toolSections_feature = Tool Sections
+_UI_EdgePalette_deleteTool_feature = Delete Tool
+_UI_EdgePalette_centerLabelEditTool_feature = Center Label Edit Tool
+_UI_EdgePalette_beginLabelEditTool_feature = Begin Label Edit Tool
+_UI_EdgePalette_endLabelEditTool_feature = End Label Edit Tool
+_UI_EdgePalette_nodeTools_feature = Node Tools
+_UI_EdgePalette_edgeReconnectionTools_feature = Edge Reconnection Tools
+_UI_EdgePalette_toolSections_feature = Tool Sections
+_UI_Tool_name_feature = Name
+_UI_Tool_preconditionExpression_feature = Precondition Expression
+_UI_Tool_body_feature = Body
+_UI_EdgeTool_targetElementDescriptions_feature = Target Element Descriptions
+_UI_EdgeTool_iconURLsExpression_feature = Icon UR Ls Expression
+_UI_LabelEditTool_initialDirectEditLabelExpression_feature = Initial Direct Edit Label Expression
+_UI_NodeTool_dialogDescription_feature = Dialog Description
+_UI_NodeTool_iconURLsExpression_feature = Icon UR Ls Expression
+_UI_CreateView_parentViewExpression_feature = Parent View Expression
+_UI_CreateView_elementDescription_feature = Element Description
+_UI_CreateView_semanticElementExpression_feature = Semantic Element Expression
+_UI_CreateView_variableName_feature = Variable Name
+_UI_CreateView_containmentKind_feature = Containment Kind
+_UI_DeleteView_viewExpression_feature = View Expression
+_UI_SelectionDialogDescription_selectionMessage_feature = Selection Message
+_UI_SelectionDialogDescription_selectionDialogTreeDescription_feature = Selection Dialog Tree Description
+_UI_ToolSection_name_feature = Name
+_UI_DiagramToolSection_nodeTools_feature = Node Tools
+_UI_NodeToolSection_nodeTools_feature = Node Tools
+_UI_NodeToolSection_edgeTools_feature = Edge Tools
+_UI_EdgeToolSection_nodeTools_feature = Node Tools
+_UI_DropNodeTool_acceptedNodeTypes_feature = Accepted Node Types
+_UI_SelectionDialogTreeDescription_elementsExpression_feature = Elements Expression
+_UI_SelectionDialogTreeDescription_childrenExpression_feature = Children Expression
+_UI_SelectionDialogTreeDescription_isSelectableExpression_feature = Is Selectable Expression
+_UI_Unknown_feature = Unspecified
-_UI_ArrowStyle_None_literal=None
-_UI_ArrowStyle_OutputArrow_literal=OutputArrow
-_UI_ArrowStyle_InputArrow_literal=InputArrow
-_UI_ArrowStyle_OutputClosedArrow_literal=OutputClosedArrow
-_UI_ArrowStyle_InputClosedArrow_literal=InputClosedArrow
-_UI_ArrowStyle_OutputFillClosedArrow_literal=OutputFillClosedArrow
-_UI_ArrowStyle_InputFillClosedArrow_literal=InputFillClosedArrow
-_UI_ArrowStyle_Diamond_literal=Diamond
-_UI_ArrowStyle_FillDiamond_literal=FillDiamond
-_UI_ArrowStyle_InputArrowWithDiamond_literal=InputArrowWithDiamond
-_UI_ArrowStyle_InputArrowWithFillDiamond_literal=InputArrowWithFillDiamond
-_UI_ArrowStyle_Circle_literal=Circle
-_UI_ArrowStyle_FillCircle_literal=FillCircle
-_UI_ArrowStyle_CrossedCircle_literal=CrossedCircle
-_UI_ArrowStyle_ClosedArrowWithVerticalBar_literal=ClosedArrowWithVerticalBar
-_UI_ArrowStyle_ClosedArrowWithDots_literal=ClosedArrowWithDots
-_UI_LayoutDirection_Column_literal=Column
-_UI_LineStyle_Solid_literal=Solid
-_UI_LineStyle_Dash_literal=Dash
-_UI_LineStyle_Dot_literal=Dot
-_UI_LineStyle_Dash_Dot_literal=Dash_Dot
-_UI_NodeContainmentKind_CHILD_NODE_literal=CHILD_NODE
-_UI_NodeContainmentKind_BORDER_NODE_literal=BORDER_NODE
-_UI_SynchronizationPolicy_SYNCHRONIZED_literal=SYNCHRONIZED
-_UI_SynchronizationPolicy_UNSYNCHRONIZED_literal=UNSYNCHRONIZED
-_UI_InsideLabelPosition_TOP_CENTER_literal=TOP_CENTER
-_UI_InsideLabelPosition_TOP_LEFT_literal=TOP_LEFT
-_UI_InsideLabelPosition_TOP_RIGHT_literal=TOP_RIGHT
-_UI_InsideLabelPosition_MIDDLE_LEFT_literal=MIDDLE_LEFT
-_UI_InsideLabelPosition_MIDDLE_CENTER_literal=MIDDLE_CENTER
-_UI_InsideLabelPosition_MIDDLE_RIGHT_literal=MIDDLE_RIGHT
-_UI_InsideLabelPosition_BOTTOM_LEFT_literal=BOTTOM_LEFT
-_UI_InsideLabelPosition_BOTTOM_CENTER_literal=BOTTOM_CENTER
-_UI_InsideLabelPosition_BOTTOM_RIGHT_literal=BOTTOM_RIGHT
-_UI_OutsideLabelPosition_BOTTOM_CENTER_literal=BOTTOM_CENTER
-_UI_LabelOverflowStrategy_NONE_literal=NONE
-_UI_LabelOverflowStrategy_WRAP_literal=WRAP
-_UI_LabelOverflowStrategy_ELLIPSIS_literal=ELLIPSIS
-_UI_ArrangeLayoutDirection_UNDEFINED_literal=UNDEFINED
-_UI_ArrangeLayoutDirection_RIGHT_literal=RIGHT
-_UI_ArrangeLayoutDirection_DOWN_literal=DOWN
-_UI_ArrangeLayoutDirection_LEFT_literal=LEFT
-_UI_ArrangeLayoutDirection_UP_literal=UP
-_UI_LabelTextAlign_LEFT_literal=LEFT
-_UI_LabelTextAlign_RIGHT_literal=RIGHT
-_UI_LabelTextAlign_CENTER_literal=CENTER
-_UI_LabelTextAlign_JUSTIFY_literal=JUSTIFY
-_UI_UserResizableDirection_BOTH_literal=BOTH
-_UI_UserResizableDirection_HORIZONTAL_literal=HORIZONTAL
-_UI_UserResizableDirection_VERTICAL_literal=VERTICAL
-_UI_UserResizableDirection_NONE_literal=NONE
+_UI_ArrowStyle_None_literal = None
+_UI_ArrowStyle_OutputArrow_literal = OutputArrow
+_UI_ArrowStyle_InputArrow_literal = InputArrow
+_UI_ArrowStyle_OutputClosedArrow_literal = OutputClosedArrow
+_UI_ArrowStyle_InputClosedArrow_literal = InputClosedArrow
+_UI_ArrowStyle_OutputFillClosedArrow_literal = OutputFillClosedArrow
+_UI_ArrowStyle_InputFillClosedArrow_literal = InputFillClosedArrow
+_UI_ArrowStyle_Diamond_literal = Diamond
+_UI_ArrowStyle_FillDiamond_literal = FillDiamond
+_UI_ArrowStyle_InputArrowWithDiamond_literal = InputArrowWithDiamond
+_UI_ArrowStyle_InputArrowWithFillDiamond_literal = InputArrowWithFillDiamond
+_UI_ArrowStyle_Circle_literal = Circle
+_UI_ArrowStyle_FillCircle_literal = FillCircle
+_UI_ArrowStyle_CrossedCircle_literal = CrossedCircle
+_UI_ArrowStyle_ClosedArrowWithVerticalBar_literal = ClosedArrowWithVerticalBar
+_UI_ArrowStyle_ClosedArrowWithDots_literal = ClosedArrowWithDots
+_UI_LayoutDirection_Column_literal = Column
+_UI_LineStyle_Solid_literal = Solid
+_UI_LineStyle_Dash_literal = Dash
+_UI_LineStyle_Dot_literal = Dot
+_UI_LineStyle_Dash_Dot_literal = Dash_Dot
+_UI_NodeContainmentKind_CHILD_NODE_literal = CHILD_NODE
+_UI_NodeContainmentKind_BORDER_NODE_literal = BORDER_NODE
+_UI_SynchronizationPolicy_SYNCHRONIZED_literal = SYNCHRONIZED
+_UI_SynchronizationPolicy_UNSYNCHRONIZED_literal = UNSYNCHRONIZED
+_UI_InsideLabelPosition_TOP_CENTER_literal = TOP_CENTER
+_UI_InsideLabelPosition_TOP_LEFT_literal = TOP_LEFT
+_UI_InsideLabelPosition_TOP_RIGHT_literal = TOP_RIGHT
+_UI_InsideLabelPosition_MIDDLE_LEFT_literal = MIDDLE_LEFT
+_UI_InsideLabelPosition_MIDDLE_CENTER_literal = MIDDLE_CENTER
+_UI_InsideLabelPosition_MIDDLE_RIGHT_literal = MIDDLE_RIGHT
+_UI_InsideLabelPosition_BOTTOM_LEFT_literal = BOTTOM_LEFT
+_UI_InsideLabelPosition_BOTTOM_CENTER_literal = BOTTOM_CENTER
+_UI_InsideLabelPosition_BOTTOM_RIGHT_literal = BOTTOM_RIGHT
+_UI_OutsideLabelPosition_BOTTOM_CENTER_literal = BOTTOM_CENTER
+_UI_LabelOverflowStrategy_NONE_literal = NONE
+_UI_LabelOverflowStrategy_WRAP_literal = WRAP
+_UI_LabelOverflowStrategy_ELLIPSIS_literal = ELLIPSIS
+_UI_ArrangeLayoutDirection_UNDEFINED_literal = UNDEFINED
+_UI_ArrangeLayoutDirection_RIGHT_literal = RIGHT
+_UI_ArrangeLayoutDirection_DOWN_literal = DOWN
+_UI_ArrangeLayoutDirection_LEFT_literal = LEFT
+_UI_ArrangeLayoutDirection_UP_literal = UP
+_UI_LabelTextAlign_LEFT_literal = LEFT
+_UI_LabelTextAlign_RIGHT_literal = RIGHT
+_UI_LabelTextAlign_CENTER_literal = CENTER
+_UI_LabelTextAlign_JUSTIFY_literal = JUSTIFY
+_UI_UserResizableDirection_BOTH_literal = BOTH
+_UI_UserResizableDirection_HORIZONTAL_literal = HORIZONTAL
+_UI_UserResizableDirection_VERTICAL_literal = VERTICAL
+_UI_UserResizableDirection_NONE_literal = NONE
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramFactory.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramFactory.java
index 78b1880f776..709bc130e3a 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramFactory.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramFactory.java
@@ -312,6 +312,15 @@ public interface DiagramFactory extends EFactory {
*/
DropNodeTool createDropNodeTool();
+ /**
+ * Returns a new object of class 'Selection Dialog Tree Description '.
+ *
+ * @return a new object of class 'Selection Dialog Tree Description '.
+ * @generated
+ */
+ SelectionDialogTreeDescription createSelectionDialogTreeDescription();
+
/**
* Returns the package supported by this factory.
*
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramPackage.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramPackage.java
index c2e429e3857..dbeb0e36b93 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramPackage.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/DiagramPackage.java
@@ -30,9 +30,9 @@
*
*
*
+ * @see org.eclipse.sirius.components.view.diagram.DiagramFactory
* @model kind="package"
* @generated
- * @see org.eclipse.sirius.components.view.diagram.DiagramFactory
*/
public interface DiagramPackage extends EPackage {
@@ -61,9 +61,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramDescriptionImpl
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramDescription()
+ * @generated
*/
int DIAGRAM_DESCRIPTION = 0;
@@ -107,7 +107,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DIAGRAM_DESCRIPTION__AUTO_LAYOUT = ViewPackage.REPRESENTATION_DESCRIPTION_FEATURE_COUNT;
+ int DIAGRAM_DESCRIPTION__AUTO_LAYOUT = ViewPackage.REPRESENTATION_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Palette ' containment reference.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramElementDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramElementDescription()
+ * @generated
*/
int DIAGRAM_ELEMENT_DESCRIPTION = 1;
@@ -237,9 +237,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeDescriptionImpl Node
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodeDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeDescription()
+ * @generated
*/
int NODE_DESCRIPTION = 2;
@@ -292,7 +292,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_DESCRIPTION__COLLAPSIBLE = DIAGRAM_ELEMENT_DESCRIPTION_FEATURE_COUNT;
+ int NODE_DESCRIPTION__COLLAPSIBLE = DIAGRAM_ELEMENT_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Palette ' containment reference.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeDescription()
+ * @generated
*/
int EDGE_DESCRIPTION = 3;
@@ -523,7 +523,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int EDGE_DESCRIPTION__BEGIN_LABEL_EXPRESSION = DIAGRAM_ELEMENT_DESCRIPTION_FEATURE_COUNT;
+ int EDGE_DESCRIPTION__BEGIN_LABEL_EXPRESSION = DIAGRAM_ELEMENT_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Center Label Expression ' attribute.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutStrategyDescription
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLayoutStrategyDescription()
+ * @generated
*/
int LAYOUT_STRATEGY_DESCRIPTION = 4;
@@ -665,9 +665,9 @@ public interface DiagramPackage extends EPackage {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ListLayoutStrategyDescriptionImpl List Layout
* Strategy Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ListLayoutStrategyDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getListLayoutStrategyDescription()
+ * @generated
*/
int LIST_LAYOUT_STRATEGY_DESCRIPTION = 5;
@@ -678,7 +678,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int LIST_LAYOUT_STRATEGY_DESCRIPTION__ARE_CHILD_NODES_DRAGGABLE_EXPRESSION = LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT;
+ int LIST_LAYOUT_STRATEGY_DESCRIPTION__ARE_CHILD_NODES_DRAGGABLE_EXPRESSION = LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Top Gap Expression ' attribute.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.FreeFormLayoutStrategyDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getFreeFormLayoutStrategyDescription()
+ * @generated
*/
int FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION = 6;
@@ -743,7 +743,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT = LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT;
+ int FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT = LAYOUT_STRATEGY_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The number of operations of the 'Free Form Layout Strategy Description ' class.
@@ -752,15 +752,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION_OPERATION_COUNT = LAYOUT_STRATEGY_DESCRIPTION_OPERATION_COUNT;
+ int FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION_OPERATION_COUNT = LAYOUT_STRATEGY_DESCRIPTION_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.LabelDescriptionImpl Label
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.LabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelDescription()
+ * @generated
*/
int LABEL_DESCRIPTION = 7;
@@ -811,9 +811,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.InsideLabelDescriptionImpl
* Inside Label Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.InsideLabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelDescription()
+ * @generated
*/
int INSIDE_LABEL_DESCRIPTION = 8;
@@ -849,7 +849,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int INSIDE_LABEL_DESCRIPTION__POSITION = LABEL_DESCRIPTION_FEATURE_COUNT;
+ int INSIDE_LABEL_DESCRIPTION__POSITION = LABEL_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Style ' containment reference.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.OutsideLabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelDescription()
+ * @generated
*/
int OUTSIDE_LABEL_DESCRIPTION = 9;
@@ -929,7 +929,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int OUTSIDE_LABEL_DESCRIPTION__POSITION = LABEL_DESCRIPTION_FEATURE_COUNT;
+ int OUTSIDE_LABEL_DESCRIPTION__POSITION = LABEL_DESCRIPTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Style ' containment reference.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.StyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getStyle()
+ * @generated
*/
int STYLE = 10;
@@ -1005,9 +1005,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.BorderStyle Border Style }'
* class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.BorderStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getBorderStyle()
+ * @generated
*/
int BORDER_STYLE = 11;
@@ -1065,9 +1065,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.NodeLabelStyle Node Label
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeLabelStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeLabelStyle()
+ * @generated
*/
int NODE_LABEL_STYLE = 14;
@@ -1117,7 +1117,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_LABEL_STYLE__BORDER_COLOR = ViewPackage.LABEL_STYLE_FEATURE_COUNT;
+ int NODE_LABEL_STYLE__BORDER_COLOR = ViewPackage.LABEL_STYLE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Border Radius ' attribute.
@@ -1201,15 +1201,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.LABEL_STYLE_OPERATION_COUNT;
+ int NODE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.LABEL_STYLE_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.InsideLabelStyleImpl
* Inside Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.InsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelStyle()
+ * @generated
*/
int INSIDE_LABEL_STYLE = 12;
@@ -1334,7 +1334,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int INSIDE_LABEL_STYLE__WITH_HEADER = NODE_LABEL_STYLE_FEATURE_COUNT;
+ int INSIDE_LABEL_STYLE__WITH_HEADER = NODE_LABEL_STYLE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Display Header Separator ' attribute.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.OutsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelStyle()
+ * @generated
*/
int OUTSIDE_LABEL_STYLE = 13;
@@ -1495,7 +1495,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int OUTSIDE_LABEL_STYLE_FEATURE_COUNT = NODE_LABEL_STYLE_FEATURE_COUNT;
+ int OUTSIDE_LABEL_STYLE_FEATURE_COUNT = NODE_LABEL_STYLE_FEATURE_COUNT + 0;
/**
* The number of operations of the 'Outside Label Style ' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeStyleDescription
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeStyleDescription()
+ * @generated
*/
int NODE_STYLE_DESCRIPTION = 15;
@@ -1523,338 +1523,381 @@ public interface DiagramPackage extends EPackage {
* @ordered
*/
int NODE_STYLE_DESCRIPTION__BORDER_COLOR = BORDER_STYLE__BORDER_COLOR;
+
/**
- * The feature id for the 'Border Color ' reference.
+ * The feature id for the 'Border Radius ' attribute.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+ int NODE_STYLE_DESCRIPTION__BORDER_RADIUS = BORDER_STYLE__BORDER_RADIUS;
+
/**
- * The feature id for the 'Border Color ' reference.
+ * The feature id for the 'Border Size ' attribute.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+ int NODE_STYLE_DESCRIPTION__BORDER_SIZE = BORDER_STYLE__BORDER_SIZE;
+
/**
- * The feature id for the 'Border Color ' reference.
+ * The feature id for the 'Border Line Style ' attribute.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+ int NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = BORDER_STYLE__BORDER_LINE_STYLE;
+
/**
- * The feature id for the 'Border Radius ' attribute.
+ * The number of structural features of the 'Node Style Description ' class.
*
* @generated
* @ordered
*/
- int NODE_STYLE_DESCRIPTION__BORDER_RADIUS = BORDER_STYLE__BORDER_RADIUS;
+ int NODE_STYLE_DESCRIPTION_FEATURE_COUNT = BORDER_STYLE_FEATURE_COUNT + 0;
+
/**
- * The feature id for the 'Border Radius ' attribute.
+ * The number of operations of the 'Node Style Description ' class.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+ int NODE_STYLE_DESCRIPTION_OPERATION_COUNT = BORDER_STYLE_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Border Radius ' attribute.
+ * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl
+ * Conditional Node Style }' class.
*
+ * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalNodeStyle()
* @generated
- * @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+ int CONDITIONAL_NODE_STYLE = 16;
+
/**
- * The feature id for the 'Border Radius ' attribute.
+ * The feature id for the 'Condition ' attribute.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+ int CONDITIONAL_NODE_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+
/**
- * The feature id for the 'Border Size ' attribute.
+ * The feature id for the 'Style ' containment reference.
*
* @generated
* @ordered
*/
- int NODE_STYLE_DESCRIPTION__BORDER_SIZE = BORDER_STYLE__BORDER_SIZE;
+ int CONDITIONAL_NODE_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT + 0;
+
/**
- * The feature id for the 'Border Size ' attribute.
+ * The number of structural features of the 'Conditional Node Style ' class.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+ int CONDITIONAL_NODE_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+
/**
- * The feature id for the 'Border Size ' attribute.
+ * The number of operations of the 'Conditional Node Style ' class.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+ int CONDITIONAL_NODE_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Border Size ' attribute.
+ * The meta object id for the
+ * '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl Conditional Inside
+ * Label Style }' class.
*
+ * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalInsideLabelStyle()
* @generated
- * @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+ int CONDITIONAL_INSIDE_LABEL_STYLE = 17;
+
/**
- * The feature id for the 'Border Line Style ' attribute.
+ * The feature id for the 'Condition ' attribute.
*
* @generated
* @ordered
*/
- int NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = BORDER_STYLE__BORDER_LINE_STYLE;
+ int CONDITIONAL_INSIDE_LABEL_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+
/**
- * The feature id for the 'Border Line Style ' attribute.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+ int CONDITIONAL_INSIDE_LABEL_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT + 0;
+
/**
- * The feature id for the 'Border Line Style ' attribute.
+ * The number of structural features of the 'Conditional Inside Label Style ' class.
+ *
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+ int CONDITIONAL_INSIDE_LABEL_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+
/**
- * The feature id for the 'Border Line Style ' attribute.
+ * The number of operations of the 'Conditional Inside Label Style ' class.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+ int CONDITIONAL_INSIDE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT + 0;
+
/**
- * The number of structural features of the 'Node Style Description ' class.
+ * The meta object id for the
+ * '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl Conditional Outside
+ * Label Style }' class.
+ *
+ * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalOutsideLabelStyle()
+ * @generated
+ */
+ int CONDITIONAL_OUTSIDE_LABEL_STYLE = 18;
+
+ /**
+ * The feature id for the 'Condition ' attribute.
*
* @generated
* @ordered
*/
- int NODE_STYLE_DESCRIPTION_FEATURE_COUNT = BORDER_STYLE_FEATURE_COUNT;
+ int CONDITIONAL_OUTSIDE_LABEL_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+
/**
- * The feature id for the 'Background ' reference.
+ * The feature id for the 'Style ' containment reference.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION__BACKGROUND = NODE_STYLE_DESCRIPTION_FEATURE_COUNT;
+ int CONDITIONAL_OUTSIDE_LABEL_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT + 0;
+
/**
- * The number of structural features of the 'Rectangular Node Style Description ' class.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+ int CONDITIONAL_OUTSIDE_LABEL_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+
/**
- * The feature id for the 'Shape ' attribute.
+ * The number of operations of the 'Conditional Outside Label Style ' class.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__SHAPE = NODE_STYLE_DESCRIPTION_FEATURE_COUNT;
+ int CONDITIONAL_OUTSIDE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Position Dependent Rotation ' attribute.
+ * The feature id for the 'Border Color ' reference.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION__POSITION_DEPENDENT_ROTATION = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+
/**
- * The number of structural features of the 'Image Node Style Description ' class.
- *
+ * The feature id for the 'Border Radius ' attribute.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 2;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+
/**
- * The feature id for the 'Background ' reference.
+ * The feature id for the 'Border Size ' attribute.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION__BACKGROUND = NODE_STYLE_DESCRIPTION_FEATURE_COUNT;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+
/**
- * The number of structural features of the 'Icon Label Node Style Description ' class.
+ * The feature id for the 'Border Line Style ' attribute.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+
/**
- * The number of operations of the 'Node Style Description ' class.
+ * The feature id for the 'Background ' reference.
*
* @generated
* @ordered
*/
- int NODE_STYLE_DESCRIPTION_OPERATION_COUNT = BORDER_STYLE_OPERATION_COUNT;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION__BACKGROUND = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 0;
+
/**
- * The number of operations of the 'Rectangular Node Style Description ' class.
+ * The number of structural features of the 'Rectangular Node Style Description ' class.
*
* @generated
* @ordered
*/
- int RECTANGULAR_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+
/**
- * The number of operations of the 'Image Node Style Description ' class.
*
* @generated
* @ordered
*/
- int IMAGE_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT;
+ int RECTANGULAR_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT + 0;
+
/**
- * The number of operations of the 'Icon Label Node Style Description ' class.
+ * The feature id for the 'Border Color ' reference.
*
* @generated
* @ordered
*/
- int ICON_LABEL_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT;
+ int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+
/**
- * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl
- * Conditional Node Style }' class.
+ * The feature id for the 'Border Radius ' attribute.
*
* @generated
- * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl
- * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalNodeStyle()
+ * @ordered
*/
- int CONDITIONAL_NODE_STYLE = 16;
+ int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+
/**
- * The feature id for the 'Condition ' attribute.
+ * The feature id for the 'Border Size ' attribute.
*
* @generated
* @ordered
*/
- int CONDITIONAL_NODE_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+ int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+
/**
- * The feature id for the 'Style ' containment reference.
*
* @generated
* @ordered
*/
- int CONDITIONAL_NODE_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT;
+ int IMAGE_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+
/**
- * The number of structural features of the 'Conditional Node Style ' class.
+ * The feature id for the 'Shape ' attribute.
*
* @generated
* @ordered
*/
- int CONDITIONAL_NODE_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+ int IMAGE_NODE_STYLE_DESCRIPTION__SHAPE = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 0;
+
/**
- * The number of operations of the 'Conditional Node Style ' class.
*
* @generated
* @ordered
*/
- int CONDITIONAL_NODE_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT;
+ int IMAGE_NODE_STYLE_DESCRIPTION__POSITION_DEPENDENT_ROTATION = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+
/**
- * The meta object id for the
- * '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl Conditional Inside
- * Label Style }' class.
+ * The number of structural features of the 'Image Node Style Description ' class.
+ *
*
* @generated
- * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl
- * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalInsideLabelStyle()
+ * @ordered
*/
- int CONDITIONAL_INSIDE_LABEL_STYLE = 17;
+ int IMAGE_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 2;
+
/**
- * The feature id for the 'Condition ' attribute.
+ * The number of operations of the 'Image Node Style Description ' class.
*
* @generated
* @ordered
*/
- int CONDITIONAL_INSIDE_LABEL_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+ int IMAGE_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Style ' containment reference.
+ * The feature id for the 'Border Color ' reference.
*
* @generated
* @ordered
*/
- int CONDITIONAL_INSIDE_LABEL_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_COLOR = NODE_STYLE_DESCRIPTION__BORDER_COLOR;
+
/**
- * The number of structural features of the 'Conditional Inside Label Style ' class.
- *
+ * The feature id for the 'Border Radius ' attribute.
*
* @generated
* @ordered
*/
- int CONDITIONAL_INSIDE_LABEL_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_RADIUS = NODE_STYLE_DESCRIPTION__BORDER_RADIUS;
+
/**
- * The number of operations of the 'Conditional Inside Label Style ' class.
+ * The feature id for the 'Border Size ' attribute.
*
* @generated
* @ordered
*/
- int CONDITIONAL_INSIDE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_SIZE = NODE_STYLE_DESCRIPTION__BORDER_SIZE;
+
/**
- * The meta object id for the
- * '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl Conditional Outside
- * Label Style }' class.
- *
- * @generated
- * @see org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl
- * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalOutsideLabelStyle()
- */
- int CONDITIONAL_OUTSIDE_LABEL_STYLE = 18;
- /**
- * The feature id for the 'Condition ' attribute.
+ * The feature id for the 'Border Line Style ' attribute.
*
* @generated
* @ordered
*/
- int CONDITIONAL_OUTSIDE_LABEL_STYLE__CONDITION = ViewPackage.CONDITIONAL__CONDITION;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE = NODE_STYLE_DESCRIPTION__BORDER_LINE_STYLE;
+
/**
- * The feature id for the 'Style ' containment reference.
+ * The feature id for the 'Background ' reference.
*
* @generated
* @ordered
*/
- int CONDITIONAL_OUTSIDE_LABEL_STYLE__STYLE = ViewPackage.CONDITIONAL_FEATURE_COUNT;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION__BACKGROUND = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 0;
+
/**
- * The number of structural features of the 'Conditional Outside Label Style ' class.
*
* @generated
* @ordered
*/
- int CONDITIONAL_OUTSIDE_LABEL_STYLE_FEATURE_COUNT = ViewPackage.CONDITIONAL_FEATURE_COUNT + 1;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION_FEATURE_COUNT = NODE_STYLE_DESCRIPTION_FEATURE_COUNT + 1;
+
/**
- * The number of operations of the 'Conditional Outside Label Style ' class.
*
* @generated
* @ordered
*/
- int CONDITIONAL_OUTSIDE_LABEL_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT;
+ int ICON_LABEL_NODE_STYLE_DESCRIPTION_OPERATION_COUNT = NODE_STYLE_DESCRIPTION_OPERATION_COUNT + 0;
+
/**
* The meta object id for the
* '{@link org.eclipse.sirius.components.view.diagram.impl.RectangularNodeStyleDescriptionImpl Rectangular Node
* Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.RectangularNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getRectangularNodeStyleDescription()
+ * @generated
*/
int RECTANGULAR_NODE_STYLE_DESCRIPTION = 19;
@@ -1862,9 +1905,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ImageNodeStyleDescriptionImpl
* Image Node Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ImageNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getImageNodeStyleDescription()
+ * @generated
*/
int IMAGE_NODE_STYLE_DESCRIPTION = 20;
@@ -1873,9 +1916,9 @@ public interface DiagramPackage extends EPackage {
* '{@link org.eclipse.sirius.components.view.diagram.impl.IconLabelNodeStyleDescriptionImpl Icon Label Node
* Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.IconLabelNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getIconLabelNodeStyleDescription()
+ * @generated
*/
int ICON_LABEL_NODE_STYLE_DESCRIPTION = 21;
@@ -1883,9 +1926,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeStyleImpl Edge
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeStyle()
+ * @generated
*/
int EDGE_STYLE = 22;
@@ -1903,7 +1946,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int EDGE_STYLE__FONT_SIZE = STYLE_FEATURE_COUNT;
+ int EDGE_STYLE__FONT_SIZE = STYLE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Italic ' attribute.
@@ -2052,15 +2095,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int EDGE_STYLE_OPERATION_COUNT = STYLE_OPERATION_COUNT;
+ int EDGE_STYLE_OPERATION_COUNT = STYLE_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalEdgeStyleImpl
* Conditional Edge Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ConditionalEdgeStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalEdgeStyle()
+ * @generated
*/
int CONDITIONAL_EDGE_STYLE = 23;
@@ -2078,7 +2121,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int CONDITIONAL_EDGE_STYLE__COLOR = ViewPackage.CONDITIONAL_FEATURE_COUNT;
+ int CONDITIONAL_EDGE_STYLE__COLOR = ViewPackage.CONDITIONAL_FEATURE_COUNT + 0;
/**
* The feature id for the 'Font Size ' attribute.
@@ -2236,15 +2279,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int CONDITIONAL_EDGE_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT;
+ int CONDITIONAL_EDGE_STYLE_OPERATION_COUNT = ViewPackage.CONDITIONAL_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramPaletteImpl
* Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramPalette()
+ * @generated
*/
int DIAGRAM_PALETTE = 24;
@@ -2304,9 +2347,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodePaletteImpl Node
* Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodePaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodePalette()
+ * @generated
*/
int NODE_PALETTE = 25;
@@ -2385,9 +2428,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgePaletteImpl Edge
* Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgePaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgePalette()
+ * @generated
*/
int EDGE_PALETTE = 26;
@@ -2475,9 +2518,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ToolImpl Tool }'
* class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getTool()
+ * @generated
*/
int TOOL = 27;
@@ -2527,9 +2570,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.DeleteToolImpl Delete
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DeleteToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDeleteTool()
+ * @generated
*/
int DELETE_TOOL = 28;
@@ -2566,7 +2609,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DELETE_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT;
+ int DELETE_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 0;
/**
* The number of operations of the 'Delete Tool ' class.
@@ -2574,15 +2617,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DELETE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int DELETE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.DropToolImpl Drop
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DropToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDropTool()
+ * @generated
*/
int DROP_TOOL = 29;
@@ -2619,7 +2662,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DROP_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT;
+ int DROP_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 0;
/**
* The number of operations of the 'Drop Tool ' class.
@@ -2627,15 +2670,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DROP_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int DROP_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeToolImpl Edge
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeTool()
+ * @generated
*/
int EDGE_TOOL = 30;
@@ -2672,7 +2715,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int EDGE_TOOL__TARGET_ELEMENT_DESCRIPTIONS = TOOL_FEATURE_COUNT;
+ int EDGE_TOOL__TARGET_ELEMENT_DESCRIPTIONS = TOOL_FEATURE_COUNT + 0;
/**
* The feature id for the 'Icon UR Ls Expression ' attribute.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeReconnectionTool()
+ * @generated
*/
int EDGE_RECONNECTION_TOOL = 31;
@@ -2717,52 +2760,70 @@ public interface DiagramPackage extends EPackage {
* @ordered
*/
int EDGE_RECONNECTION_TOOL__NAME = TOOL__NAME;
+
/**
- * The feature id for the 'Name ' attribute.
+ * The feature id for the 'Precondition Expression ' attribute.
*
* @generated
* @ordered
*/
- int SOURCE_EDGE_END_RECONNECTION_TOOL__NAME = EDGE_RECONNECTION_TOOL__NAME;
+ int EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+
/**
- * The feature id for the 'Name ' attribute.
+ * The feature id for the 'Body ' containment reference list.
*
* @generated
* @ordered
*/
- int TARGET_EDGE_END_RECONNECTION_TOOL__NAME = EDGE_RECONNECTION_TOOL__NAME;
+ int EDGE_RECONNECTION_TOOL__BODY = TOOL__BODY;
+
/**
- * The feature id for the 'Precondition Expression ' attribute.
*
* @generated
* @ordered
*/
- int EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+ int EDGE_RECONNECTION_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 0;
+
/**
- * The feature id for the 'Precondition Expression ' attribute.
*
* @generated
* @ordered
*/
- int SOURCE_EDGE_END_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION;
+ int EDGE_RECONNECTION_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Precondition Expression ' attribute.
+ * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl Label
+ * Edit Tool }' class.
+ *
+ * @see org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelEditTool()
+ * @generated
+ */
+ int LABEL_EDIT_TOOL = 32;
+
+ /**
+ * The feature id for the 'Name ' attribute.
*
* @generated
* @ordered
*/
- int TARGET_EDGE_END_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION;
+ int LABEL_EDIT_TOOL__NAME = TOOL__NAME;
+
/**
- * The feature id for the 'Body ' containment reference list.
*
* @generated
* @ordered
*/
- int EDGE_RECONNECTION_TOOL__BODY = TOOL__BODY;
+ int LABEL_EDIT_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+
/**
* The feature id for the 'Body ' containment reference list.
@@ -2770,134 +2831,150 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int SOURCE_EDGE_END_RECONNECTION_TOOL__BODY = EDGE_RECONNECTION_TOOL__BODY;
+ int LABEL_EDIT_TOOL__BODY = TOOL__BODY;
+
/**
- * The feature id for the 'Body ' containment reference list.
+ * The feature id for the 'Initial Direct Edit Label Expression ' attribute.
+ *
*
* @generated
* @ordered
*/
- int TARGET_EDGE_END_RECONNECTION_TOOL__BODY = EDGE_RECONNECTION_TOOL__BODY;
+ int LABEL_EDIT_TOOL__INITIAL_DIRECT_EDIT_LABEL_EXPRESSION = TOOL_FEATURE_COUNT + 0;
+
/**
- * The number of structural features of the 'Edge Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int EDGE_RECONNECTION_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT;
+ int LABEL_EDIT_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 1;
+
/**
- * The number of structural features of the 'Source Edge End Reconnection Tool ' class.
+ * The number of operations of the 'Label Edit Tool ' class.
*
* @generated
* @ordered
*/
- int SOURCE_EDGE_END_RECONNECTION_TOOL_FEATURE_COUNT = EDGE_RECONNECTION_TOOL_FEATURE_COUNT;
+ int LABEL_EDIT_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
+
/**
- * The number of structural features of the 'Target Edge End Reconnection Tool ' class.
+ * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl Node
+ * Tool }' class.
*
+ * @see org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeTool()
* @generated
- * @ordered
*/
- int TARGET_EDGE_END_RECONNECTION_TOOL_FEATURE_COUNT = EDGE_RECONNECTION_TOOL_FEATURE_COUNT;
+ int NODE_TOOL = 33;
+
/**
- * The number of operations of the 'Edge Reconnection Tool ' class.
+ * The feature id for the 'Name ' attribute.
*
* @generated
* @ordered
*/
- int EDGE_RECONNECTION_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int NODE_TOOL__NAME = TOOL__NAME;
+
/**
- * The number of operations of the 'Source Edge End Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int SOURCE_EDGE_END_RECONNECTION_TOOL_OPERATION_COUNT = EDGE_RECONNECTION_TOOL_OPERATION_COUNT;
+ int NODE_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+
/**
- * The number of operations of the 'Target Edge End Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int TARGET_EDGE_END_RECONNECTION_TOOL_OPERATION_COUNT = EDGE_RECONNECTION_TOOL_OPERATION_COUNT;
+ int NODE_TOOL__BODY = TOOL__BODY;
+
+ int NODE_TOOL__DIALOG_DESCRIPTION = TOOL_FEATURE_COUNT;
+
/**
- * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl Label
- * Edit Tool }' class.
+ * The feature id for the 'Icon UR Ls Expression ' attribute.
*
* @generated
- * @see org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl
- * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelEditTool()
+ * @ordered
*/
- int LABEL_EDIT_TOOL = 32;
+ int NODE_TOOL__ICON_UR_LS_EXPRESSION = TOOL_FEATURE_COUNT + 1;
+
/**
- * The feature id for the 'Name ' attribute.
+ * The number of structural features of the 'Node Tool ' class.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL__NAME = TOOL__NAME;
+ int NODE_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 2;
+
/**
- * The feature id for the 'Precondition Expression ' attribute.
+ * The number of operations of the 'Node Tool ' class.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+ int NODE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
+
/**
- * The feature id for the 'Body ' containment reference list.
+ * The feature id for the 'Name ' attribute.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL__BODY = TOOL__BODY;
+ int SOURCE_EDGE_END_RECONNECTION_TOOL__NAME = EDGE_RECONNECTION_TOOL__NAME;
+
/**
- * The feature id for the 'Initial Direct Edit Label Expression ' attribute.
- *
+ * The feature id for the 'Precondition Expression ' attribute.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL__INITIAL_DIRECT_EDIT_LABEL_EXPRESSION = TOOL_FEATURE_COUNT;
+ int SOURCE_EDGE_END_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION;
+
/**
- * The number of structural features of the 'Label Edit Tool ' class.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 1;
+ int SOURCE_EDGE_END_RECONNECTION_TOOL__BODY = EDGE_RECONNECTION_TOOL__BODY;
+
/**
- * The number of operations of the 'Label Edit Tool ' class.
+ * The number of structural features of the 'Source Edge End Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int LABEL_EDIT_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int SOURCE_EDGE_END_RECONNECTION_TOOL_FEATURE_COUNT = EDGE_RECONNECTION_TOOL_FEATURE_COUNT + 0;
+
/**
- * The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl Node
- * Tool }' class.
+ * The number of operations of the 'Source Edge End Reconnection Tool ' class.
*
* @generated
- * @see org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl
- * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeTool()
+ * @ordered
*/
- int NODE_TOOL = 33;
+ int SOURCE_EDGE_END_RECONNECTION_TOOL_OPERATION_COUNT = EDGE_RECONNECTION_TOOL_OPERATION_COUNT + 0;
+
/**
* The feature id for the 'Name ' attribute.
*
* @generated
* @ordered
*/
- int NODE_TOOL__NAME = TOOL__NAME;
+ int TARGET_EDGE_END_RECONNECTION_TOOL__NAME = EDGE_RECONNECTION_TOOL__NAME;
+
/**
* The feature id for the 'Precondition Expression ' attribute.
@@ -2905,7 +2982,8 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_TOOL__PRECONDITION_EXPRESSION = TOOL__PRECONDITION_EXPRESSION;
+ int TARGET_EDGE_END_RECONNECTION_TOOL__PRECONDITION_EXPRESSION = EDGE_RECONNECTION_TOOL__PRECONDITION_EXPRESSION;
+
/**
* The feature id for the 'Body ' containment reference list.
@@ -2913,39 +2991,34 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_TOOL__BODY = TOOL__BODY;
- int NODE_TOOL__DIALOG_DESCRIPTION = TOOL_FEATURE_COUNT;
- /**
- * The feature id for the 'Icon UR Ls Expression ' attribute.
- *
- * @generated
- * @ordered
- */
- int NODE_TOOL__ICON_UR_LS_EXPRESSION = TOOL_FEATURE_COUNT + 1;
+ int TARGET_EDGE_END_RECONNECTION_TOOL__BODY = EDGE_RECONNECTION_TOOL__BODY;
+
/**
- * The number of structural features of the 'Node Tool ' class.
+ * The number of structural features of the 'Target Edge End Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int NODE_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 2;
+ int TARGET_EDGE_END_RECONNECTION_TOOL_FEATURE_COUNT = EDGE_RECONNECTION_TOOL_FEATURE_COUNT + 0;
+
/**
- * The number of operations of the 'Node Tool ' class.
+ * The number of operations of the 'Target Edge End Reconnection Tool ' class.
*
* @generated
* @ordered
*/
- int NODE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int TARGET_EDGE_END_RECONNECTION_TOOL_OPERATION_COUNT = EDGE_RECONNECTION_TOOL_OPERATION_COUNT + 0;
+
/**
* The meta object id for the
* '{@link org.eclipse.sirius.components.view.diagram.impl.SourceEdgeEndReconnectionToolImpl Source Edge End
* Reconnection Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.SourceEdgeEndReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSourceEdgeEndReconnectionTool()
+ * @generated
*/
int SOURCE_EDGE_END_RECONNECTION_TOOL = 34;
@@ -2954,9 +3027,9 @@ public interface DiagramPackage extends EPackage {
* '{@link org.eclipse.sirius.components.view.diagram.impl.TargetEdgeEndReconnectionToolImpl Target Edge End
* Reconnection Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.TargetEdgeEndReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getTargetEdgeEndReconnectionTool()
+ * @generated
*/
int TARGET_EDGE_END_RECONNECTION_TOOL = 35;
@@ -2964,9 +3037,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.CreateViewImpl Create
* View }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.CreateViewImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getCreateView()
+ * @generated
*/
int CREATE_VIEW = 36;
@@ -2986,7 +3059,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int CREATE_VIEW__PARENT_VIEW_EXPRESSION = ViewPackage.OPERATION_FEATURE_COUNT;
+ int CREATE_VIEW__PARENT_VIEW_EXPRESSION = ViewPackage.OPERATION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Element Description ' reference.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DeleteViewImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDeleteView()
+ * @generated
*/
int DELETE_VIEW = 37;
@@ -3065,7 +3138,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DELETE_VIEW__VIEW_EXPRESSION = ViewPackage.OPERATION_FEATURE_COUNT;
+ int DELETE_VIEW__VIEW_EXPRESSION = ViewPackage.OPERATION_FEATURE_COUNT + 0;
/**
* The number of structural features of the 'Delete View ' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DialogDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDialogDescription()
+ * @generated
*/
int DIALOG_DESCRIPTION = 44;
@@ -3116,29 +3189,29 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogDescriptionImpl
* Selection Dialog Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.SelectionDialogDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSelectionDialogDescription()
+ * @generated
*/
int SELECTION_DIALOG_DESCRIPTION = 38;
/**
- * The feature id for the 'Selection Candidates Expression ' attribute.
+ * The feature id for the 'Selection Message ' attribute.
*
* @generated
* @ordered
*/
- int SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION = DIALOG_DESCRIPTION_FEATURE_COUNT;
+ int SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE = DIALOG_DESCRIPTION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Selection Message ' attribute.
+ * The feature id for the 'Selection Dialog Tree Description ' containment reference.
*
* @generated
* @ordered
*/
- int SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE = DIALOG_DESCRIPTION_FEATURE_COUNT + 1;
+ int SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION = DIALOG_DESCRIPTION_FEATURE_COUNT + 1;
/**
* The number of structural features of the 'Selection Dialog Description ' class.
@@ -3156,15 +3229,15 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int SELECTION_DIALOG_DESCRIPTION_OPERATION_COUNT = DIALOG_DESCRIPTION_OPERATION_COUNT;
+ int SELECTION_DIALOG_DESCRIPTION_OPERATION_COUNT = DIALOG_DESCRIPTION_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.ToolSectionImpl Tool
* Section }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getToolSection()
+ * @generated
*/
int TOOL_SECTION = 39;
@@ -3197,9 +3270,9 @@ public interface DiagramPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramToolSectionImpl
* Tool Section }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramToolSection()
+ * @generated
*/
int DIAGRAM_TOOL_SECTION = 40;
@@ -3218,7 +3291,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DIAGRAM_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT;
+ int DIAGRAM_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT + 0;
/**
* The number of structural features of the 'Tool Section ' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodeToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeToolSection()
+ * @generated
*/
int NODE_TOOL_SECTION = 41;
@@ -3262,7 +3335,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int NODE_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT;
+ int NODE_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Edge Tools ' containment reference list.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeToolSection()
+ * @generated
*/
int EDGE_TOOL_SECTION = 42;
@@ -3315,7 +3388,7 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int EDGE_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT;
+ int EDGE_TOOL_SECTION__NODE_TOOLS = TOOL_SECTION_FEATURE_COUNT + 0;
/**
* The number of structural features of the 'Edge Tool Section ' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DropNodeToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDropNodeTool()
+ * @generated
*/
int DROP_NODE_TOOL = 43;
@@ -3377,7 +3450,8 @@ public interface DiagramPackage extends EPackage {
* @generated
* @ordered
*/
- int DROP_NODE_TOOL__ACCEPTED_NODE_TYPES = TOOL_FEATURE_COUNT;
+ int DROP_NODE_TOOL__ACCEPTED_NODE_TYPES = TOOL_FEATURE_COUNT + 0;
+
/**
* The number of structural features of the 'Drop Node Tool ' class.
@@ -3386,112 +3460,181 @@ public interface DiagramPackage extends EPackage {
* @ordered
*/
int DROP_NODE_TOOL_FEATURE_COUNT = TOOL_FEATURE_COUNT + 1;
+
/**
* The number of operations of the 'Drop Node Tool ' class.
*
* @generated
* @ordered
*/
- int DROP_NODE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT;
+ int DROP_NODE_TOOL_OPERATION_COUNT = TOOL_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the
+ * '{@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl Selection Dialog
+ * Tree Description }' class.
+ *
+ * @see org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSelectionDialogTreeDescription()
+ * @generated
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION = 45;
+
+ /**
+ * The feature id for the 'Elements Expression ' attribute.
+ *
+ * @generated
+ * @ordered
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION = 0;
+
+ /**
+ * The feature id for the 'Children Expression ' attribute.
+ *
+ * @generated
+ * @ordered
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION = 1;
+
+ /**
+ * The feature id for the 'Is Selectable Expression ' attribute.
+ *
+ * @generated
+ * @ordered
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION = 2;
+
+ /**
+ * The number of structural features of the 'Selection Dialog Tree Description ' class.
+ *
+ * @generated
+ * @ordered
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION_FEATURE_COUNT = 3;
+
+ /**
+ * The number of operations of the 'Selection Dialog Tree Description ' class.
+ *
+ * @generated
+ * @ordered
+ */
+ int SELECTION_DIALOG_TREE_DESCRIPTION_OPERATION_COUNT = 0;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.ArrowStyle Arrow Style }'
* enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrowStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getArrowStyle()
+ * @generated
*/
- int ARROW_STYLE = 45;
+ int ARROW_STYLE = 46;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.LayoutDirection Layout
* Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLayoutDirection()
+ * @generated
*/
- int LAYOUT_DIRECTION = 46;
+ int LAYOUT_DIRECTION = 47;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.LineStyle Line Style }'
* enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LineStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLineStyle()
+ * @generated
*/
- int LINE_STYLE = 47;
+ int LINE_STYLE = 48;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.NodeContainmentKind Node
* Containment Kind }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeContainmentKind
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeContainmentKind()
+ * @generated
*/
- int NODE_CONTAINMENT_KIND = 48;
+ int NODE_CONTAINMENT_KIND = 49;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.SynchronizationPolicy
* Synchronization Policy }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SynchronizationPolicy
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSynchronizationPolicy()
+ * @generated
*/
- int SYNCHRONIZATION_POLICY = 49;
+ int SYNCHRONIZATION_POLICY = 50;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.InsideLabelPosition Inside
* Label Position }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelPosition
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelPosition()
+ * @generated
*/
- int INSIDE_LABEL_POSITION = 50;
+ int INSIDE_LABEL_POSITION = 51;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.OutsideLabelPosition Outside
* Label Position }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelPosition
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelPosition()
+ * @generated
*/
- int OUTSIDE_LABEL_POSITION = 51;
+ int OUTSIDE_LABEL_POSITION = 52;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.LabelOverflowStrategy Label
* Overflow Strategy }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelOverflowStrategy
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelOverflowStrategy()
+ * @generated
*/
- int LABEL_OVERFLOW_STRATEGY = 52;
+ int LABEL_OVERFLOW_STRATEGY = 53;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.ArrangeLayoutDirection Arrange
* Layout Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrangeLayoutDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getArrangeLayoutDirection()
+ * @generated
*/
- int ARRANGE_LAYOUT_DIRECTION = 53;
+ int ARRANGE_LAYOUT_DIRECTION = 54;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.LabelTextAlign Label Text
* Align }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelTextAlign
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelTextAlign()
+ * @generated
*/
- int LABEL_TEXT_ALIGN = 54;
+ int LABEL_TEXT_ALIGN = 55;
+
/**
* The meta object id for the '{@link org.eclipse.sirius.components.view.diagram.UserResizableDirection User
* Resizable Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.UserResizableDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getUserResizableDirection()
+ * @generated
*/
- int USER_RESIZABLE_DIRECTION = 55;
+ int USER_RESIZABLE_DIRECTION = 56;
+
/**
* The singleton instance of the package.
*
@@ -3504,8 +3647,8 @@ public interface DiagramPackage extends EPackage {
* Description }'.
*
* @return the meta object for class 'Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramDescription
+ * @generated
*/
EClass getDiagramDescription();
@@ -3539,9 +3682,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the containment reference list 'Node Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramDescription#getNodeDescriptions()
* @see #getDiagramDescription()
+ * @generated
*/
EReference getDiagramDescription_NodeDescriptions();
@@ -3551,9 +3694,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the containment reference list 'Edge Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramDescription#getEdgeDescriptions()
* @see #getDiagramDescription()
+ * @generated
*/
EReference getDiagramDescription_EdgeDescriptions();
@@ -3563,9 +3706,9 @@ public interface DiagramPackage extends EPackage {
* Layout Direction}'.
*
* @return the meta object for the attribute 'Arrange Layout Direction '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramDescription#getArrangeLayoutDirection()
* @see #getDiagramDescription()
+ * @generated
*/
EAttribute getDiagramDescription_ArrangeLayoutDirection();
@@ -3574,8 +3717,8 @@ public interface DiagramPackage extends EPackage {
* Element Description }'.
*
* @return the meta object for class 'Element Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramElementDescription
+ * @generated
*/
EClass getDiagramElementDescription();
@@ -3597,9 +3740,9 @@ public interface DiagramPackage extends EPackage {
* Type}'.
*
* @return the meta object for the attribute 'Domain Type '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramElementDescription#getDomainType()
* @see #getDiagramElementDescription()
+ * @generated
*/
EAttribute getDiagramElementDescription_DomainType();
@@ -3609,9 +3752,9 @@ public interface DiagramPackage extends EPackage {
* Semantic Candidates Expression }'.
*
* @return the meta object for the attribute 'Semantic Candidates Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramElementDescription#getSemanticCandidatesExpression()
* @see #getDiagramElementDescription()
+ * @generated
*/
EAttribute getDiagramElementDescription_SemanticCandidatesExpression();
@@ -3621,9 +3764,9 @@ public interface DiagramPackage extends EPackage {
* Precondition Expression }'.
*
* @return the meta object for the attribute 'Precondition Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramElementDescription#getPreconditionExpression()
* @see #getDiagramElementDescription()
+ * @generated
*/
EAttribute getDiagramElementDescription_PreconditionExpression();
@@ -3633,9 +3776,9 @@ public interface DiagramPackage extends EPackage {
* Synchronization Policy }'.
*
* @return the meta object for the attribute 'Synchronization Policy '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramElementDescription#getSynchronizationPolicy()
* @see #getDiagramElementDescription()
+ * @generated
*/
EAttribute getDiagramElementDescription_SynchronizationPolicy();
@@ -3644,8 +3787,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Node Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription
+ * @generated
*/
EClass getNodeDescription();
@@ -3679,9 +3822,9 @@ public interface DiagramPackage extends EPackage {
* Strategy}'.
*
* @return the meta object for the containment reference 'Children Layout Strategy '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getChildrenLayoutStrategy()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_ChildrenLayoutStrategy();
@@ -3691,9 +3834,9 @@ public interface DiagramPackage extends EPackage {
* -->
*
* @return the meta object for the containment reference 'Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getStyle()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_Style();
@@ -3703,9 +3846,9 @@ public interface DiagramPackage extends EPackage {
* Styles}'.
*
* @return the meta object for the containment reference list 'Conditional Styles '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getConditionalStyles()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_ConditionalStyles();
@@ -3715,9 +3858,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the containment reference list 'Children Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getChildrenDescriptions()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_ChildrenDescriptions();
@@ -3727,9 +3870,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the containment reference list 'Border Nodes Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getBorderNodesDescriptions()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_BorderNodesDescriptions();
@@ -3739,9 +3882,9 @@ public interface DiagramPackage extends EPackage {
* Child Node Descriptions}'.
*
* @return the meta object for the reference list 'Reused Child Node Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getReusedChildNodeDescriptions()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_ReusedChildNodeDescriptions();
@@ -3751,9 +3894,9 @@ public interface DiagramPackage extends EPackage {
* Border Node Descriptions}'.
*
* @return the meta object for the reference list 'Reused Border Node Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getReusedBorderNodeDescriptions()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_ReusedBorderNodeDescriptions();
@@ -3763,9 +3906,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the attribute 'User Resizable '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getUserResizable()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_UserResizable();
@@ -3775,9 +3918,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Default Width Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getDefaultWidthExpression()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_DefaultWidthExpression();
@@ -3787,9 +3930,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Default Height Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getDefaultHeightExpression()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_DefaultHeightExpression();
@@ -3799,9 +3942,9 @@ public interface DiagramPackage extends EPackage {
* Ratio}'.
*
* @return the meta object for the attribute 'Keep Aspect Ratio '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#isKeepAspectRatio()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_KeepAspectRatio();
@@ -3811,9 +3954,9 @@ public interface DiagramPackage extends EPackage {
* Collapsed By Default Expression}'.
*
* @return the meta object for the attribute 'Is Collapsed By Default Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getIsCollapsedByDefaultExpression()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_IsCollapsedByDefaultExpression();
@@ -3835,9 +3978,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the containment reference list 'Outside Labels '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getOutsideLabels()
* @see #getNodeDescription()
+ * @generated
*/
EReference getNodeDescription_OutsideLabels();
@@ -3847,9 +3990,9 @@ public interface DiagramPackage extends EPackage {
* By Default Expression}'.
*
* @return the meta object for the attribute 'Is Hidden By Default Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getIsHiddenByDefaultExpression()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_IsHiddenByDefaultExpression();
@@ -3859,9 +4002,9 @@ public interface DiagramPackage extends EPackage {
* Default Expression}'.
*
* @return the meta object for the attribute 'Is Faded By Default Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeDescription#getIsFadedByDefaultExpression()
* @see #getNodeDescription()
+ * @generated
*/
EAttribute getNodeDescription_IsFadedByDefaultExpression();
@@ -3870,8 +4013,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Edge Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription
+ * @generated
*/
EClass getEdgeDescription();
@@ -3881,9 +4024,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Begin Label Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getBeginLabelExpression()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_BeginLabelExpression();
@@ -3893,9 +4036,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Center Label Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getCenterLabelExpression()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_CenterLabelExpression();
@@ -3905,9 +4048,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'End Label Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getEndLabelExpression()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_EndLabelExpression();
@@ -3917,9 +4060,9 @@ public interface DiagramPackage extends EPackage {
* Edge}'.
*
* @return the meta object for the attribute 'Is Domain Based Edge '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#isIsDomainBasedEdge()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_IsDomainBasedEdge();
@@ -3941,9 +4084,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the reference list 'Source Node Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getSourceNodeDescriptions()
* @see #getEdgeDescription()
+ * @generated
*/
EReference getEdgeDescription_SourceNodeDescriptions();
@@ -3953,9 +4096,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the reference list 'Target Node Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getTargetNodeDescriptions()
* @see #getEdgeDescription()
+ * @generated
*/
EReference getEdgeDescription_TargetNodeDescriptions();
@@ -3965,9 +4108,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Source Nodes Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getSourceNodesExpression()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_SourceNodesExpression();
@@ -3977,9 +4120,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Target Nodes Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getTargetNodesExpression()
* @see #getEdgeDescription()
+ * @generated
*/
EAttribute getEdgeDescription_TargetNodesExpression();
@@ -3989,9 +4132,9 @@ public interface DiagramPackage extends EPackage {
* -->
*
* @return the meta object for the containment reference 'Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getStyle()
* @see #getEdgeDescription()
+ * @generated
*/
EReference getEdgeDescription_Style();
@@ -4001,9 +4144,9 @@ public interface DiagramPackage extends EPackage {
* Styles}'.
*
* @return the meta object for the containment reference list 'Conditional Styles '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeDescription#getConditionalStyles()
* @see #getEdgeDescription()
+ * @generated
*/
EReference getEdgeDescription_ConditionalStyles();
@@ -4012,8 +4155,8 @@ public interface DiagramPackage extends EPackage {
* Layout Strategy Description }'.
*
* @return the meta object for class 'Layout Strategy Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutStrategyDescription
+ * @generated
*/
EClass getLayoutStrategyDescription();
@@ -4023,8 +4166,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'List Layout Strategy Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ListLayoutStrategyDescription
+ * @generated
*/
EClass getListLayoutStrategyDescription();
@@ -4034,9 +4177,9 @@ public interface DiagramPackage extends EPackage {
* Are Child Nodes Draggable Expression }'.
*
* @return the meta object for the attribute 'Are Child Nodes Draggable Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ListLayoutStrategyDescription#getAreChildNodesDraggableExpression()
* @see #getListLayoutStrategyDescription()
+ * @generated
*/
EAttribute getListLayoutStrategyDescription_AreChildNodesDraggableExpression();
@@ -4046,9 +4189,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Top Gap Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ListLayoutStrategyDescription#getTopGapExpression()
* @see #getListLayoutStrategyDescription()
+ * @generated
*/
EAttribute getListLayoutStrategyDescription_TopGapExpression();
@@ -4058,9 +4201,9 @@ public interface DiagramPackage extends EPackage {
* Bottom Gap Expression }'.
*
* @return the meta object for the attribute 'Bottom Gap Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ListLayoutStrategyDescription#getBottomGapExpression()
* @see #getListLayoutStrategyDescription()
+ * @generated
*/
EAttribute getListLayoutStrategyDescription_BottomGapExpression();
@@ -4070,9 +4213,9 @@ public interface DiagramPackage extends EPackage {
* Nodes}'.
*
* @return the meta object for the reference list 'Growable Nodes '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ListLayoutStrategyDescription#getGrowableNodes()
* @see #getListLayoutStrategyDescription()
+ * @generated
*/
EReference getListLayoutStrategyDescription_GrowableNodes();
@@ -4082,8 +4225,8 @@ public interface DiagramPackage extends EPackage {
* Strategy Description}'.
*
* @return the meta object for class 'Free Form Layout Strategy Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.FreeFormLayoutStrategyDescription
+ * @generated
*/
EClass getFreeFormLayoutStrategyDescription();
@@ -4092,8 +4235,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Label Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelDescription
+ * @generated
*/
EClass getLabelDescription();
@@ -4103,9 +4246,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Label Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelDescription#getLabelExpression()
* @see #getLabelDescription()
+ * @generated
*/
EAttribute getLabelDescription_LabelExpression();
@@ -4115,9 +4258,9 @@ public interface DiagramPackage extends EPackage {
* Strategy}'.
*
* @return the meta object for the attribute 'Overflow Strategy '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelDescription#getOverflowStrategy()
* @see #getLabelDescription()
+ * @generated
*/
EAttribute getLabelDescription_OverflowStrategy();
@@ -4138,8 +4281,8 @@ public interface DiagramPackage extends EPackage {
* Inside Label Description }'.
*
* @return the meta object for class 'Inside Label Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelDescription
+ * @generated
*/
EClass getInsideLabelDescription();
@@ -4173,9 +4316,9 @@ public interface DiagramPackage extends EPackage {
* Styles}'.
*
* @return the meta object for the containment reference list 'Conditional Styles '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelDescription#getConditionalStyles()
* @see #getInsideLabelDescription()
+ * @generated
*/
EReference getInsideLabelDescription_ConditionalStyles();
@@ -4184,8 +4327,8 @@ public interface DiagramPackage extends EPackage {
* Outside Label Description }'.
*
* @return the meta object for class 'Outside Label Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelDescription
+ * @generated
*/
EClass getOutsideLabelDescription();
@@ -4219,9 +4362,9 @@ public interface DiagramPackage extends EPackage {
* Styles}'.
*
* @return the meta object for the containment reference list 'Conditional Styles '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelDescription#getConditionalStyles()
* @see #getOutsideLabelDescription()
+ * @generated
*/
EReference getOutsideLabelDescription_ConditionalStyles();
@@ -4240,9 +4383,9 @@ public interface DiagramPackage extends EPackage {
* Color }'.
*
* @return the meta object for the reference 'Color '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.Style#getColor()
* @see #getStyle()
+ * @generated
*/
EReference getStyle_Color();
@@ -4251,8 +4394,8 @@ public interface DiagramPackage extends EPackage {
* Style}'.
*
* @return the meta object for class 'Border Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.BorderStyle
+ * @generated
*/
EClass getBorderStyle();
@@ -4298,9 +4441,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the attribute 'Border Line Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.BorderStyle#getBorderLineStyle()
* @see #getBorderStyle()
+ * @generated
*/
EAttribute getBorderStyle_BorderLineStyle();
@@ -4309,8 +4452,8 @@ public interface DiagramPackage extends EPackage {
* Label Style}'.
*
* @return the meta object for class 'Inside Label Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelStyle
+ * @generated
*/
EClass getInsideLabelStyle();
@@ -4332,9 +4475,9 @@ public interface DiagramPackage extends EPackage {
* Separator}'.
*
* @return the meta object for the attribute 'Display Header Separator '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelStyle#isDisplayHeaderSeparator()
* @see #getInsideLabelStyle()
+ * @generated
*/
EAttribute getInsideLabelStyle_DisplayHeaderSeparator();
@@ -4343,8 +4486,8 @@ public interface DiagramPackage extends EPackage {
* Outside Label Style }'.
*
* @return the meta object for class 'Outside Label Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelStyle
+ * @generated
*/
EClass getOutsideLabelStyle();
@@ -4353,8 +4496,8 @@ public interface DiagramPackage extends EPackage {
* Label Style}'.
*
* @return the meta object for class 'Node Label Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeLabelStyle
+ * @generated
*/
EClass getNodeLabelStyle();
@@ -4388,9 +4531,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Show Icon Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeLabelStyle#getShowIconExpression()
* @see #getNodeLabelStyle()
+ * @generated
*/
EAttribute getNodeLabelStyle_ShowIconExpression();
@@ -4412,9 +4555,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Max Width Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeLabelStyle#getMaxWidthExpression()
* @see #getNodeLabelStyle()
+ * @generated
*/
EAttribute getNodeLabelStyle_MaxWidthExpression();
@@ -4423,8 +4566,8 @@ public interface DiagramPackage extends EPackage {
* Node Style Description }'.
*
* @return the meta object for class 'Node Style Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeStyleDescription
+ * @generated
*/
EClass getNodeStyleDescription();
@@ -4433,8 +4576,8 @@ public interface DiagramPackage extends EPackage {
* Conditional Node Style }'.
*
* @return the meta object for class 'Conditional Node Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ConditionalNodeStyle
+ * @generated
*/
EClass getConditionalNodeStyle();
@@ -4455,8 +4598,8 @@ public interface DiagramPackage extends EPackage {
* Conditional Inside Label Style }'.
*
* @return the meta object for class 'Conditional Inside Label Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ConditionalInsideLabelStyle
+ * @generated
*/
EClass getConditionalInsideLabelStyle();
@@ -4477,8 +4620,8 @@ public interface DiagramPackage extends EPackage {
* Conditional Outside Label Style }'.
*
* @return the meta object for class 'Conditional Outside Label Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ConditionalOutsideLabelStyle
+ * @generated
*/
EClass getConditionalOutsideLabelStyle();
@@ -4500,8 +4643,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Rectangular Node Style Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription
+ * @generated
*/
EClass getRectangularNodeStyleDescription();
@@ -4511,9 +4654,9 @@ public interface DiagramPackage extends EPackage {
* Background }'.
*
* @return the meta object for the reference 'Background '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription#getBackground()
* @see #getRectangularNodeStyleDescription()
+ * @generated
*/
EReference getRectangularNodeStyleDescription_Background();
@@ -4522,8 +4665,8 @@ public interface DiagramPackage extends EPackage {
* Image Node Style Description }'.
*
* @return the meta object for class 'Image Node Style Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ImageNodeStyleDescription
+ * @generated
*/
EClass getImageNodeStyleDescription();
@@ -4545,9 +4688,9 @@ public interface DiagramPackage extends EPackage {
* Position Dependent Rotation }'.
*
* @return the meta object for the attribute 'Position Dependent Rotation '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ImageNodeStyleDescription#isPositionDependentRotation()
* @see #getImageNodeStyleDescription()
+ * @generated
*/
EAttribute getImageNodeStyleDescription_PositionDependentRotation();
@@ -4557,8 +4700,8 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Icon Label Node Style Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.IconLabelNodeStyleDescription
+ * @generated
*/
EClass getIconLabelNodeStyleDescription();
@@ -4568,9 +4711,9 @@ public interface DiagramPackage extends EPackage {
* Background }'.
*
* @return the meta object for the reference 'Background '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.IconLabelNodeStyleDescription#getBackground()
* @see #getIconLabelNodeStyleDescription()
+ * @generated
*/
EReference getIconLabelNodeStyleDescription_Background();
@@ -4579,8 +4722,8 @@ public interface DiagramPackage extends EPackage {
* Style}'.
*
* @return the meta object for class 'Edge Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeStyle
+ * @generated
*/
EClass getEdgeStyle();
@@ -4602,9 +4745,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the attribute 'Source Arrow Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeStyle#getSourceArrowStyle()
* @see #getEdgeStyle()
+ * @generated
*/
EAttribute getEdgeStyle_SourceArrowStyle();
@@ -4614,9 +4757,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the attribute 'Target Arrow Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeStyle#getTargetArrowStyle()
* @see #getEdgeStyle()
+ * @generated
*/
EAttribute getEdgeStyle_TargetArrowStyle();
@@ -4637,9 +4780,9 @@ public interface DiagramPackage extends EPackage {
* Show Icon }'.
*
* @return the meta object for the attribute 'Show Icon '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeStyle#isShowIcon()
* @see #getEdgeStyle()
+ * @generated
*/
EAttribute getEdgeStyle_ShowIcon();
@@ -4673,9 +4816,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Max Width Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeStyle#getMaxWidthExpression()
* @see #getEdgeStyle()
+ * @generated
*/
EAttribute getEdgeStyle_MaxWidthExpression();
@@ -4684,8 +4827,8 @@ public interface DiagramPackage extends EPackage {
* Conditional Edge Style }'.
*
* @return the meta object for class 'Conditional Edge Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ConditionalEdgeStyle
+ * @generated
*/
EClass getConditionalEdgeStyle();
@@ -4694,8 +4837,8 @@ public interface DiagramPackage extends EPackage {
* Palette }'.
*
* @return the meta object for class 'Palette '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramPalette
+ * @generated
*/
EClass getDiagramPalette();
@@ -4752,8 +4895,8 @@ public interface DiagramPackage extends EPackage {
* Palette}'.
*
* @return the meta object for class 'Node Palette '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodePalette
+ * @generated
*/
EClass getNodePalette();
@@ -4834,8 +4977,8 @@ public interface DiagramPackage extends EPackage {
* Palette}'.
*
* @return the meta object for class 'Edge Palette '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgePalette
+ * @generated
*/
EClass getEdgePalette();
@@ -4857,9 +5000,9 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for the containment reference 'Center Label Edit Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgePalette#getCenterLabelEditTool()
* @see #getEdgePalette()
+ * @generated
*/
EReference getEdgePalette_CenterLabelEditTool();
@@ -4869,9 +5012,9 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for the containment reference 'Begin Label Edit Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgePalette#getBeginLabelEditTool()
* @see #getEdgePalette()
+ * @generated
*/
EReference getEdgePalette_BeginLabelEditTool();
@@ -4881,9 +5024,9 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for the containment reference 'End Label Edit Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgePalette#getEndLabelEditTool()
* @see #getEdgePalette()
+ * @generated
*/
EReference getEdgePalette_EndLabelEditTool();
@@ -4905,9 +5048,9 @@ public interface DiagramPackage extends EPackage {
* Tools}'.
*
* @return the meta object for the containment reference list 'Edge Reconnection Tools '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgePalette#getEdgeReconnectionTools()
* @see #getEdgePalette()
+ * @generated
*/
EReference getEdgePalette_EdgeReconnectionTools();
@@ -4938,9 +5081,9 @@ public interface DiagramPackage extends EPackage {
* Name }'.
*
* @return the meta object for the attribute 'Name '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.Tool#getName()
* @see #getTool()
+ * @generated
*/
EAttribute getTool_Name();
@@ -4950,9 +5093,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Precondition Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.Tool#getPreconditionExpression()
* @see #getTool()
+ * @generated
*/
EAttribute getTool_PreconditionExpression();
@@ -4962,9 +5105,9 @@ public interface DiagramPackage extends EPackage {
* end-user-doc -->
*
* @return the meta object for the containment reference list 'Body '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.Tool#getBody()
* @see #getTool()
+ * @generated
*/
EReference getTool_Body();
@@ -4973,8 +5116,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Delete Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DeleteTool
+ * @generated
*/
EClass getDeleteTool();
@@ -4983,8 +5126,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Drop Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DropTool
+ * @generated
*/
EClass getDropTool();
@@ -4993,8 +5136,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Edge Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeTool
+ * @generated
*/
EClass getEdgeTool();
@@ -5004,9 +5147,9 @@ public interface DiagramPackage extends EPackage {
* Descriptions}'.
*
* @return the meta object for the reference list 'Target Element Descriptions '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeTool#getTargetElementDescriptions()
* @see #getEdgeTool()
+ * @generated
*/
EReference getEdgeTool_TargetElementDescriptions();
@@ -5016,9 +5159,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Icon UR Ls Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeTool#getIconURLsExpression()
* @see #getEdgeTool()
+ * @generated
*/
EAttribute getEdgeTool_IconURLsExpression();
@@ -5027,8 +5170,8 @@ public interface DiagramPackage extends EPackage {
* Edge Reconnection Tool }'.
*
* @return the meta object for class 'Edge Reconnection Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeReconnectionTool
+ * @generated
*/
EClass getEdgeReconnectionTool();
@@ -5037,8 +5180,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Label Edit Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelEditTool
+ * @generated
*/
EClass getLabelEditTool();
@@ -5048,9 +5191,9 @@ public interface DiagramPackage extends EPackage {
* Direct Edit Label Expression}'.
*
* @return the meta object for the attribute 'Initial Direct Edit Label Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelEditTool#getInitialDirectEditLabelExpression()
* @see #getLabelEditTool()
+ * @generated
*/
EAttribute getLabelEditTool_InitialDirectEditLabelExpression();
@@ -5059,8 +5202,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Node Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeTool
+ * @generated
*/
EClass getNodeTool();
@@ -5070,9 +5213,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the containment reference 'Dialog Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeTool#getDialogDescription()
* @see #getNodeTool()
+ * @generated
*/
EReference getNodeTool_DialogDescription();
@@ -5082,9 +5225,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Icon UR Ls Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeTool#getIconURLsExpression()
* @see #getNodeTool()
+ * @generated
*/
EAttribute getNodeTool_IconURLsExpression();
@@ -5094,8 +5237,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Source Edge End Reconnection Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SourceEdgeEndReconnectionTool
+ * @generated
*/
EClass getSourceEdgeEndReconnectionTool();
@@ -5105,8 +5248,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Target Edge End Reconnection Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.TargetEdgeEndReconnectionTool
+ * @generated
*/
EClass getTargetEdgeEndReconnectionTool();
@@ -5115,8 +5258,8 @@ public interface DiagramPackage extends EPackage {
* View}'.
*
* @return the meta object for class 'Create View '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.CreateView
+ * @generated
*/
EClass getCreateView();
@@ -5126,9 +5269,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Parent View Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.CreateView#getParentViewExpression()
* @see #getCreateView()
+ * @generated
*/
EAttribute getCreateView_ParentViewExpression();
@@ -5138,9 +5281,9 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for the reference 'Element Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.CreateView#getElementDescription()
* @see #getCreateView()
+ * @generated
*/
EReference getCreateView_ElementDescription();
@@ -5150,9 +5293,9 @@ public interface DiagramPackage extends EPackage {
* Expression}'.
*
* @return the meta object for the attribute 'Semantic Element Expression '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.CreateView#getSemanticElementExpression()
* @see #getCreateView()
+ * @generated
*/
EAttribute getCreateView_SemanticElementExpression();
@@ -5174,9 +5317,9 @@ public interface DiagramPackage extends EPackage {
*
*
* @return the meta object for the attribute 'Containment Kind '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.CreateView#getContainmentKind()
* @see #getCreateView()
+ * @generated
*/
EAttribute getCreateView_ContainmentKind();
@@ -5185,8 +5328,8 @@ public interface DiagramPackage extends EPackage {
* View}'.
*
* @return the meta object for class 'Delete View '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DeleteView
+ * @generated
*/
EClass getDeleteView();
@@ -5207,22 +5350,10 @@ public interface DiagramPackage extends EPackage {
* Selection Dialog Description }'.
*
* @return the meta object for class 'Selection Dialog Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SelectionDialogDescription
- */
- EClass getSelectionDialogDescription();
-
- /**
- * Returns the meta object for the attribute
- * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionCandidatesExpression
- * Selection Candidates Expression }'.
- *
- * @return the meta object for the attribute 'Selection Candidates Expression '.
* @generated
- * @see org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionCandidatesExpression()
- * @see #getSelectionDialogDescription()
*/
- EAttribute getSelectionDialogDescription_SelectionCandidatesExpression();
+ EClass getSelectionDialogDescription();
/**
* Returns the meta object for the attribute
@@ -5230,19 +5361,31 @@ public interface DiagramPackage extends EPackage {
* Message}'.
*
* @return the meta object for the attribute 'Selection Message '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionMessage()
* @see #getSelectionDialogDescription()
+ * @generated
*/
EAttribute getSelectionDialogDescription_SelectionMessage();
+ /**
+ * Returns the meta object for the containment reference
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionDialogTreeDescription
+ * Selection Dialog Tree Description }'.
+ *
+ * @return the meta object for the containment reference 'Selection Dialog Tree Description '.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionDialogTreeDescription()
+ * @see #getSelectionDialogDescription()
+ * @generated
+ */
+ EReference getSelectionDialogDescription_SelectionDialogTreeDescription();
+
/**
* Returns the meta object for class '{@link org.eclipse.sirius.components.view.diagram.ToolSection Tool
* Section }'.
*
* @return the meta object for class 'Tool Section '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ToolSection
+ * @generated
*/
EClass getToolSection();
@@ -5251,9 +5394,9 @@ public interface DiagramPackage extends EPackage {
* Name }'.
*
* @return the meta object for the attribute 'Name '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ToolSection#getName()
* @see #getToolSection()
+ * @generated
*/
EAttribute getToolSection_Name();
@@ -5262,8 +5405,8 @@ public interface DiagramPackage extends EPackage {
* Section}'.
*
* @return the meta object for class 'Tool Section '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DiagramToolSection
+ * @generated
*/
EClass getDiagramToolSection();
@@ -5284,8 +5427,8 @@ public interface DiagramPackage extends EPackage {
* Tool Section}'.
*
* @return the meta object for class 'Node Tool Section '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeToolSection
+ * @generated
*/
EClass getNodeToolSection();
@@ -5318,8 +5461,8 @@ public interface DiagramPackage extends EPackage {
* Tool Section}'.
*
* @return the meta object for class 'Edge Tool Section '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.EdgeToolSection
+ * @generated
*/
EClass getEdgeToolSection();
@@ -5340,8 +5483,8 @@ public interface DiagramPackage extends EPackage {
* Tool}'.
*
* @return the meta object for class 'Drop Node Tool '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DropNodeTool
+ * @generated
*/
EClass getDropNodeTool();
@@ -5351,9 +5494,9 @@ public interface DiagramPackage extends EPackage {
* Types}'.
*
* @return the meta object for the reference list 'Accepted Node Types '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DropNodeTool#getAcceptedNodeTypes()
* @see #getDropNodeTool()
+ * @generated
*/
EReference getDropNodeTool_AcceptedNodeTypes();
@@ -5362,18 +5505,65 @@ public interface DiagramPackage extends EPackage {
* Description}'.
*
* @return the meta object for class 'Dialog Description '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.DialogDescription
+ * @generated
*/
EClass getDialogDescription();
+ /**
+ * Returns the meta object for class
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription Selection Dialog Tree
+ * Description }'.
+ *
+ * @return the meta object for class 'Selection Dialog Tree Description '.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription
+ * @generated
+ */
+ EClass getSelectionDialogTreeDescription();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getElementsExpression
+ * Elements Expression }'.
+ *
+ * @return the meta object for the attribute 'Elements Expression '.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getElementsExpression()
+ * @see #getSelectionDialogTreeDescription()
+ * @generated
+ */
+ EAttribute getSelectionDialogTreeDescription_ElementsExpression();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getChildrenExpression
+ * Children Expression }'.
+ *
+ * @return the meta object for the attribute 'Children Expression '.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getChildrenExpression()
+ * @see #getSelectionDialogTreeDescription()
+ * @generated
+ */
+ EAttribute getSelectionDialogTreeDescription_ChildrenExpression();
+
+ /**
+ * Returns the meta object for the attribute
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getIsSelectableExpression
+ * Is Selectable Expression }'.
+ *
+ * @return the meta object for the attribute 'Is Selectable Expression '.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getIsSelectableExpression()
+ * @see #getSelectionDialogTreeDescription()
+ * @generated
+ */
+ EAttribute getSelectionDialogTreeDescription_IsSelectableExpression();
+
/**
* Returns the meta object for enum '{@link org.eclipse.sirius.components.view.diagram.ArrowStyle Arrow
* Style }'.
*
* @return the meta object for enum 'Arrow Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrowStyle
+ * @generated
*/
EEnum getArrowStyle();
@@ -5382,8 +5572,8 @@ public interface DiagramPackage extends EPackage {
* Direction}'.
*
* @return the meta object for enum 'Layout Direction '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutDirection
+ * @generated
*/
EEnum getLayoutDirection();
@@ -5392,8 +5582,8 @@ public interface DiagramPackage extends EPackage {
* Style}'.
*
* @return the meta object for enum 'Line Style '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LineStyle
+ * @generated
*/
EEnum getLineStyle();
@@ -5402,8 +5592,8 @@ public interface DiagramPackage extends EPackage {
* Containment Kind}'.
*
* @return the meta object for enum 'Node Containment Kind '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeContainmentKind
+ * @generated
*/
EEnum getNodeContainmentKind();
@@ -5412,8 +5602,8 @@ public interface DiagramPackage extends EPackage {
* Synchronization Policy }'.
*
* @return the meta object for enum 'Synchronization Policy '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SynchronizationPolicy
+ * @generated
*/
EEnum getSynchronizationPolicy();
@@ -5422,8 +5612,8 @@ public interface DiagramPackage extends EPackage {
* Inside Label Position }'.
*
* @return the meta object for enum 'Inside Label Position '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelPosition
+ * @generated
*/
EEnum getInsideLabelPosition();
@@ -5432,8 +5622,8 @@ public interface DiagramPackage extends EPackage {
* Outside Label Position }'.
*
* @return the meta object for enum 'Outside Label Position '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelPosition
+ * @generated
*/
EEnum getOutsideLabelPosition();
@@ -5442,8 +5632,8 @@ public interface DiagramPackage extends EPackage {
* Label Overflow Strategy }'.
*
* @return the meta object for enum 'Label Overflow Strategy '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelOverflowStrategy
+ * @generated
*/
EEnum getLabelOverflowStrategy();
@@ -5452,8 +5642,8 @@ public interface DiagramPackage extends EPackage {
* Arrange Layout Direction }'.
*
* @return the meta object for enum 'Arrange Layout Direction '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrangeLayoutDirection
+ * @generated
*/
EEnum getArrangeLayoutDirection();
@@ -5462,8 +5652,8 @@ public interface DiagramPackage extends EPackage {
* Align}'.
*
* @return the meta object for enum 'Label Text Align '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelTextAlign
+ * @generated
*/
EEnum getLabelTextAlign();
@@ -5472,8 +5662,8 @@ public interface DiagramPackage extends EPackage {
* User Resizable Direction }'.
*
* @return the meta object for enum 'User Resizable Direction '.
- * @generated
* @see org.eclipse.sirius.components.view.diagram.UserResizableDirection
+ * @generated
*/
EEnum getUserResizableDirection();
@@ -5505,9 +5695,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramDescriptionImpl Description }' class.
*
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramDescription()
+ * @generated
*/
EClass DIAGRAM_DESCRIPTION = eINSTANCE.getDiagramDescription();
@@ -5556,9 +5746,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramElementDescriptionImpl Element
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramElementDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramElementDescription()
+ * @generated
*/
EClass DIAGRAM_ELEMENT_DESCRIPTION = eINSTANCE.getDiagramElementDescription();
@@ -5606,9 +5796,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeDescriptionImpl
* Node Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodeDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeDescription()
+ * @generated
*/
EClass NODE_DESCRIPTION = eINSTANCE.getNodeDescription();
@@ -5760,9 +5950,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeDescriptionImpl
* Edge Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeDescription()
+ * @generated
*/
EClass EDGE_DESCRIPTION = eINSTANCE.getEdgeDescription();
@@ -5858,9 +6048,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.LayoutStrategyDescription
* Layout Strategy Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutStrategyDescription
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLayoutStrategyDescription()
+ * @generated
*/
EClass LAYOUT_STRATEGY_DESCRIPTION = eINSTANCE.getLayoutStrategyDescription();
@@ -5869,9 +6059,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ListLayoutStrategyDescriptionImpl List Layout
* Strategy Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ListLayoutStrategyDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getListLayoutStrategyDescription()
+ * @generated
*/
EClass LIST_LAYOUT_STRATEGY_DESCRIPTION = eINSTANCE.getListLayoutStrategyDescription();
@@ -5912,9 +6102,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.FreeFormLayoutStrategyDescriptionImpl Free Form
* Layout Strategy Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.FreeFormLayoutStrategyDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getFreeFormLayoutStrategyDescription()
+ * @generated
*/
EClass FREE_FORM_LAYOUT_STRATEGY_DESCRIPTION = eINSTANCE.getFreeFormLayoutStrategyDescription();
@@ -5922,9 +6112,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.LabelDescriptionImpl
* Label Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.LabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelDescription()
+ * @generated
*/
EClass LABEL_DESCRIPTION = eINSTANCE.getLabelDescription();
@@ -5957,9 +6147,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.InsideLabelDescriptionImpl Inside Label
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.InsideLabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelDescription()
+ * @generated
*/
EClass INSIDE_LABEL_DESCRIPTION = eINSTANCE.getInsideLabelDescription();
@@ -5992,9 +6182,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.OutsideLabelDescriptionImpl Outside Label
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.OutsideLabelDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelDescription()
+ * @generated
*/
EClass OUTSIDE_LABEL_DESCRIPTION = eINSTANCE.getOutsideLabelDescription();
@@ -6026,9 +6216,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.StyleImpl
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.StyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getStyle()
+ * @generated
*/
EClass STYLE = eINSTANCE.getStyle();
@@ -6044,9 +6234,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.BorderStyle Border
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.BorderStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getBorderStyle()
+ * @generated
*/
EClass BORDER_STYLE = eINSTANCE.getBorderStyle();
@@ -6086,9 +6276,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.InsideLabelStyleImpl
* Inside Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.InsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelStyle()
+ * @generated
*/
EClass INSIDE_LABEL_STYLE = eINSTANCE.getInsideLabelStyle();
@@ -6112,9 +6302,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.OutsideLabelStyleImpl
* Outside Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.OutsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelStyle()
+ * @generated
*/
EClass OUTSIDE_LABEL_STYLE = eINSTANCE.getOutsideLabelStyle();
@@ -6122,9 +6312,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.NodeLabelStyle Node
* Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeLabelStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeLabelStyle()
+ * @generated
*/
EClass NODE_LABEL_STYLE = eINSTANCE.getNodeLabelStyle();
@@ -6172,9 +6362,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.NodeStyleDescription
* Node Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeStyleDescription
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeStyleDescription()
+ * @generated
*/
EClass NODE_STYLE_DESCRIPTION = eINSTANCE.getNodeStyleDescription();
@@ -6183,9 +6373,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl Conditional Node
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ConditionalNodeStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalNodeStyle()
+ * @generated
*/
EClass CONDITIONAL_NODE_STYLE = eINSTANCE.getConditionalNodeStyle();
@@ -6202,9 +6392,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl Conditional
* Inside Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ConditionalInsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalInsideLabelStyle()
+ * @generated
*/
EClass CONDITIONAL_INSIDE_LABEL_STYLE = eINSTANCE.getConditionalInsideLabelStyle();
@@ -6221,9 +6411,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl Conditional
* Outside Label Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ConditionalOutsideLabelStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalOutsideLabelStyle()
+ * @generated
*/
EClass CONDITIONAL_OUTSIDE_LABEL_STYLE = eINSTANCE.getConditionalOutsideLabelStyle();
@@ -6240,9 +6430,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.RectangularNodeStyleDescriptionImpl Rectangular
* Node Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.RectangularNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getRectangularNodeStyleDescription()
+ * @generated
*/
EClass RECTANGULAR_NODE_STYLE_DESCRIPTION = eINSTANCE.getRectangularNodeStyleDescription();
@@ -6259,9 +6449,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ImageNodeStyleDescriptionImpl Image Node Style
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ImageNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getImageNodeStyleDescription()
+ * @generated
*/
EClass IMAGE_NODE_STYLE_DESCRIPTION = eINSTANCE.getImageNodeStyleDescription();
@@ -6286,9 +6476,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.IconLabelNodeStyleDescriptionImpl Icon Label Node
* Style Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.IconLabelNodeStyleDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getIconLabelNodeStyleDescription()
+ * @generated
*/
EClass ICON_LABEL_NODE_STYLE_DESCRIPTION = eINSTANCE.getIconLabelNodeStyleDescription();
@@ -6304,9 +6494,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeStyleImpl
* Edge Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeStyle()
+ * @generated
*/
EClass EDGE_STYLE = eINSTANCE.getEdgeStyle();
@@ -6379,9 +6569,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.ConditionalEdgeStyleImpl Conditional Edge
* Style }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ConditionalEdgeStyleImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getConditionalEdgeStyle()
+ * @generated
*/
EClass CONDITIONAL_EDGE_STYLE = eINSTANCE.getConditionalEdgeStyle();
@@ -6389,9 +6579,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramPaletteImpl
* Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramPalette()
+ * @generated
*/
EClass DIAGRAM_PALETTE = eINSTANCE.getDiagramPalette();
@@ -6431,9 +6621,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodePaletteImpl
* Node Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodePaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodePalette()
+ * @generated
*/
EClass NODE_PALETTE = eINSTANCE.getNodePalette();
@@ -6489,9 +6679,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgePaletteImpl
* Edge Palette }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgePaletteImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgePalette()
+ * @generated
*/
EClass EDGE_PALETTE = eINSTANCE.getEdgePalette();
@@ -6555,9 +6745,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.ToolImpl
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getTool()
+ * @generated
*/
EClass TOOL = eINSTANCE.getTool();
@@ -6589,9 +6779,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DeleteToolImpl
* Delete Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DeleteToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDeleteTool()
+ * @generated
*/
EClass DELETE_TOOL = eINSTANCE.getDeleteTool();
@@ -6599,9 +6789,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DropToolImpl Drop
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DropToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDropTool()
+ * @generated
*/
EClass DROP_TOOL = eINSTANCE.getDropTool();
@@ -6609,9 +6799,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeToolImpl Edge
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeTool()
+ * @generated
*/
EClass EDGE_TOOL = eINSTANCE.getEdgeTool();
@@ -6636,9 +6826,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeReconnectionToolImpl Edge Reconnection
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeReconnectionTool()
+ * @generated
*/
EClass EDGE_RECONNECTION_TOOL = eINSTANCE.getEdgeReconnectionTool();
@@ -6646,9 +6836,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl
* Label Edit Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.LabelEditToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelEditTool()
+ * @generated
*/
EClass LABEL_EDIT_TOOL = eINSTANCE.getLabelEditTool();
@@ -6664,9 +6854,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl Node
* Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodeToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeTool()
+ * @generated
*/
EClass NODE_TOOL = eINSTANCE.getNodeTool();
@@ -6691,9 +6881,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.SourceEdgeEndReconnectionToolImpl Source Edge End
* Reconnection Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.SourceEdgeEndReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSourceEdgeEndReconnectionTool()
+ * @generated
*/
EClass SOURCE_EDGE_END_RECONNECTION_TOOL = eINSTANCE.getSourceEdgeEndReconnectionTool();
@@ -6702,9 +6892,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.TargetEdgeEndReconnectionToolImpl Target Edge End
* Reconnection Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.TargetEdgeEndReconnectionToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getTargetEdgeEndReconnectionTool()
+ * @generated
*/
EClass TARGET_EDGE_END_RECONNECTION_TOOL = eINSTANCE.getTargetEdgeEndReconnectionTool();
@@ -6712,9 +6902,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.CreateViewImpl
* Create View }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.CreateViewImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getCreateView()
+ * @generated
*/
EClass CREATE_VIEW = eINSTANCE.getCreateView();
@@ -6762,9 +6952,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DeleteViewImpl
* Delete View }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DeleteViewImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDeleteView()
+ * @generated
*/
EClass DELETE_VIEW = eINSTANCE.getDeleteView();
@@ -6781,35 +6971,35 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogDescriptionImpl Selection Dialog
* Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.SelectionDialogDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSelectionDialogDescription()
+ * @generated
*/
EClass SELECTION_DIALOG_DESCRIPTION = eINSTANCE.getSelectionDialogDescription();
/**
- * The meta object literal for the 'Selection Candidates Expression ' attribute feature.
+ * The meta object literal for the 'Selection Message ' attribute feature.
*
* @generated
*/
- EAttribute SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION = eINSTANCE.getSelectionDialogDescription_SelectionCandidatesExpression();
+ EAttribute SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE = eINSTANCE.getSelectionDialogDescription_SelectionMessage();
/**
- * The meta object literal for the 'Selection Message ' attribute feature.
+ * The meta object literal for the 'Selection Dialog Tree Description ' containment reference
+ * feature.
*
* @generated
*/
- EAttribute SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE = eINSTANCE.getSelectionDialogDescription_SelectionMessage();
+ EReference SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION = eINSTANCE.getSelectionDialogDescription_SelectionDialogTreeDescription();
/**
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.ToolSectionImpl
* Tool Section }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.ToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getToolSection()
+ * @generated
*/
EClass TOOL_SECTION = eINSTANCE.getToolSection();
@@ -6826,9 +7016,9 @@ interface Literals {
* '{@link org.eclipse.sirius.components.view.diagram.impl.DiagramToolSectionImpl Tool Section }' class.
*
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDiagramToolSection()
+ * @generated
*/
EClass DIAGRAM_TOOL_SECTION = eINSTANCE.getDiagramToolSection();
@@ -6844,9 +7034,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.NodeToolSectionImpl
* Node Tool Section }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.NodeToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeToolSection()
+ * @generated
*/
EClass NODE_TOOL_SECTION = eINSTANCE.getNodeToolSection();
@@ -6870,9 +7060,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.EdgeToolSectionImpl
* Edge Tool Section }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.EdgeToolSectionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getEdgeToolSection()
+ * @generated
*/
EClass EDGE_TOOL_SECTION = eINSTANCE.getEdgeToolSection();
@@ -6888,9 +7078,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DropNodeToolImpl
* Drop Node Tool }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DropNodeToolImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDropNodeTool()
+ * @generated
*/
EClass DROP_NODE_TOOL = eINSTANCE.getDropNodeTool();
@@ -6906,19 +7096,54 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.impl.DialogDescriptionImpl
* Dialog Description }' class.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.impl.DialogDescriptionImpl
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getDialogDescription()
+ * @generated
*/
EClass DIALOG_DESCRIPTION = eINSTANCE.getDialogDescription();
+ /**
+ * The meta object literal for the
+ * '{@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl Selection
+ * Dialog Tree Description }' class.
+ *
+ * @see org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl
+ * @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSelectionDialogTreeDescription()
+ * @generated
+ */
+ EClass SELECTION_DIALOG_TREE_DESCRIPTION = eINSTANCE.getSelectionDialogTreeDescription();
+
+ /**
+ * The meta object literal for the 'Elements Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION = eINSTANCE.getSelectionDialogTreeDescription_ElementsExpression();
+
+ /**
+ * The meta object literal for the 'Children Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE.getSelectionDialogTreeDescription_ChildrenExpression();
+
+ /**
+ * The meta object literal for the 'Is Selectable Expression ' attribute feature.
+ *
+ * @generated
+ */
+ EAttribute SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION = eINSTANCE.getSelectionDialogTreeDescription_IsSelectableExpression();
+
/**
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.ArrowStyle Arrow
* Style }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrowStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getArrowStyle()
+ * @generated
*/
EEnum ARROW_STYLE = eINSTANCE.getArrowStyle();
@@ -6926,9 +7151,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.LayoutDirection Layout
* Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LayoutDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLayoutDirection()
+ * @generated
*/
EEnum LAYOUT_DIRECTION = eINSTANCE.getLayoutDirection();
@@ -6936,9 +7161,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.LineStyle Line
* Style }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LineStyle
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLineStyle()
+ * @generated
*/
EEnum LINE_STYLE = eINSTANCE.getLineStyle();
@@ -6946,9 +7171,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.NodeContainmentKind
* Node Containment Kind }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.NodeContainmentKind
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getNodeContainmentKind()
+ * @generated
*/
EEnum NODE_CONTAINMENT_KIND = eINSTANCE.getNodeContainmentKind();
@@ -6956,9 +7181,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.SynchronizationPolicy
* Synchronization Policy }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.SynchronizationPolicy
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getSynchronizationPolicy()
+ * @generated
*/
EEnum SYNCHRONIZATION_POLICY = eINSTANCE.getSynchronizationPolicy();
@@ -6966,9 +7191,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.InsideLabelPosition
* Inside Label Position }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.InsideLabelPosition
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getInsideLabelPosition()
+ * @generated
*/
EEnum INSIDE_LABEL_POSITION = eINSTANCE.getInsideLabelPosition();
@@ -6976,9 +7201,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.OutsideLabelPosition
* Outside Label Position }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.OutsideLabelPosition
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getOutsideLabelPosition()
+ * @generated
*/
EEnum OUTSIDE_LABEL_POSITION = eINSTANCE.getOutsideLabelPosition();
@@ -6986,9 +7211,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.LabelOverflowStrategy
* Label Overflow Strategy }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelOverflowStrategy
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelOverflowStrategy()
+ * @generated
*/
EEnum LABEL_OVERFLOW_STRATEGY = eINSTANCE.getLabelOverflowStrategy();
@@ -6996,9 +7221,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.ArrangeLayoutDirection
* Arrange Layout Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.ArrangeLayoutDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getArrangeLayoutDirection()
+ * @generated
*/
EEnum ARRANGE_LAYOUT_DIRECTION = eINSTANCE.getArrangeLayoutDirection();
@@ -7006,9 +7231,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.LabelTextAlign Label
* Text Align }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.LabelTextAlign
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getLabelTextAlign()
+ * @generated
*/
EEnum LABEL_TEXT_ALIGN = eINSTANCE.getLabelTextAlign();
@@ -7016,9 +7241,9 @@ interface Literals {
* The meta object literal for the '{@link org.eclipse.sirius.components.view.diagram.UserResizableDirection
* User Resizable Direction }' enum.
*
- * @generated
* @see org.eclipse.sirius.components.view.diagram.UserResizableDirection
* @see org.eclipse.sirius.components.view.diagram.impl.DiagramPackageImpl#getUserResizableDirection()
+ * @generated
*/
EEnum USER_RESIZABLE_DIRECTION = eINSTANCE.getUserResizableDirection();
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogDescription.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogDescription.java
index 3d748e27dca..49957656f06 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogDescription.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogDescription.java
@@ -20,10 +20,10 @@
* The following features are supported:
*
*
- * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionCandidatesExpression
- * Selection Candidates Expression }
* {@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionMessage Selection
* Message }
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionDialogTreeDescription
+ * Selection Dialog Tree Description }
*
*
* @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogDescription()
@@ -31,30 +31,6 @@
* @generated
*/
public interface SelectionDialogDescription extends DialogDescription {
- /**
- * Returns the value of the 'Selection Candidates Expression ' attribute. The default value is
- * "aql:self"
.
- *
- * @return the value of the 'Selection Candidates Expression ' attribute.
- * @see #setSelectionCandidatesExpression(String)
- * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogDescription_SelectionCandidatesExpression()
- * @model default="aql:self" dataType="org.eclipse.sirius.components.view.InterpretedExpression"
- * @generated
- */
- String getSelectionCandidatesExpression();
-
- /**
- * Sets the value of the
- * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionCandidatesExpression
- * Selection Candidates Expression }' attribute.
- *
- * @param value
- * the new value of the 'Selection Candidates Expression ' attribute.
- * @see #getSelectionCandidatesExpression()
- * @generated
- */
- void setSelectionCandidatesExpression(String value);
-
/**
* Returns the value of the 'Selection Message ' attribute.
@@ -79,4 +55,28 @@ public interface SelectionDialogDescription extends DialogDescription {
*/
void setSelectionMessage(String value);
+ /**
+ * Returns the value of the 'Selection Dialog Tree Description ' containment reference.
+ *
+ * @return the value of the 'Selection Dialog Tree Description ' containment reference.
+ * @see #setSelectionDialogTreeDescription(SelectionDialogTreeDescription)
+ * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogDescription_SelectionDialogTreeDescription()
+ * @model containment="true"
+ * @generated
+ */
+ SelectionDialogTreeDescription getSelectionDialogTreeDescription();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogDescription#getSelectionDialogTreeDescription
+ * Selection Dialog Tree Description }' containment reference.
+ *
+ * @param value
+ * the new value of the 'Selection Dialog Tree Description ' containment reference.
+ * @see #getSelectionDialogTreeDescription()
+ * @generated
+ */
+ void setSelectionDialogTreeDescription(SelectionDialogTreeDescription value);
+
} // SelectionDialogDescription
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogTreeDescription.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogTreeDescription.java
new file mode 100644
index 00000000000..327ca3e9925
--- /dev/null
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/SelectionDialogTreeDescription.java
@@ -0,0 +1,110 @@
+/*******************************************************************************
+ * Copyright (c) 2024 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 org.eclipse.sirius.components.view.diagram;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * A representation of the model object 'Selection Dialog Tree Description '.
+ *
+ *
+ *
+ * The following features are supported:
+ *
+ *
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getElementsExpression
+ * Elements Expression }
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getChildrenExpression
+ * Children Expression }
+ * {@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getIsSelectableExpression Is
+ * Selectable Expression }
+ *
+ *
+ * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogTreeDescription()
+ * @model
+ * @generated
+ */
+public interface SelectionDialogTreeDescription extends EObject {
+ /**
+ * Returns the value of the 'Elements Expression ' attribute. The default value is ""
.
+ *
+ *
+ * @return the value of the 'Elements Expression ' attribute.
+ * @see #setElementsExpression(String)
+ * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogTreeDescription_ElementsExpression()
+ * @model default="" dataType="org.eclipse.sirius.components.view.InterpretedExpression" required="true"
+ * @generated
+ */
+ String getElementsExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getElementsExpression
+ * Elements Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Elements Expression ' attribute.
+ * @see #getElementsExpression()
+ * @generated
+ */
+ void setElementsExpression(String value);
+
+ /**
+ * Returns the value of the 'Children Expression ' attribute.
+ *
+ * @return the value of the 'Children Expression ' attribute.
+ * @see #setChildrenExpression(String)
+ * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogTreeDescription_ChildrenExpression()
+ * @model dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ */
+ String getChildrenExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getChildrenExpression
+ * Children Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Children Expression ' attribute.
+ * @see #getChildrenExpression()
+ * @generated
+ */
+ void setChildrenExpression(String value);
+
+ /**
+ * Returns the value of the 'Is Selectable Expression ' attribute.
+ *
+ * @return the value of the 'Is Selectable Expression ' attribute.
+ * @see #setIsSelectableExpression(String)
+ * @see org.eclipse.sirius.components.view.diagram.DiagramPackage#getSelectionDialogTreeDescription_IsSelectableExpression()
+ * @model dataType="org.eclipse.sirius.components.view.InterpretedExpression"
+ * @generated
+ */
+ String getIsSelectableExpression();
+
+ /**
+ * Sets the value of the
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription#getIsSelectableExpression
+ * Is Selectable Expression }' attribute.
+ *
+ * @param value
+ * the new value of the 'Is Selectable Expression ' attribute.
+ * @see #getIsSelectableExpression()
+ * @generated
+ */
+ void setIsSelectableExpression(String value);
+
+} // SelectionDialogTreeDescription
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramFactoryImpl.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramFactoryImpl.java
index cf9deee4998..e420216745a 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramFactoryImpl.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramFactoryImpl.java
@@ -61,6 +61,7 @@
import org.eclipse.sirius.components.view.diagram.OutsideLabelStyle;
import org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
import org.eclipse.sirius.components.view.diagram.SourceEdgeEndReconnectionTool;
import org.eclipse.sirius.components.view.diagram.SynchronizationPolicy;
import org.eclipse.sirius.components.view.diagram.TargetEdgeEndReconnectionTool;
@@ -186,6 +187,8 @@ public EObject create(EClass eClass) {
return this.createEdgeToolSection();
case DiagramPackage.DROP_NODE_TOOL:
return this.createDropNodeTool();
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION:
+ return this.createSelectionDialogTreeDescription();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -635,6 +638,17 @@ public DropNodeTool createDropNodeTool() {
return dropNodeTool;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public SelectionDialogTreeDescription createSelectionDialogTreeDescription() {
+ SelectionDialogTreeDescriptionImpl selectionDialogTreeDescription = new SelectionDialogTreeDescriptionImpl();
+ return selectionDialogTreeDescription;
+ }
+
/**
*
*
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramPackageImpl.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramPackageImpl.java
index 231fcd65dec..e075d899fe3 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramPackageImpl.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/DiagramPackageImpl.java
@@ -70,6 +70,7 @@
import org.eclipse.sirius.components.view.diagram.OutsideLabelStyle;
import org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
import org.eclipse.sirius.components.view.diagram.SourceEdgeEndReconnectionTool;
import org.eclipse.sirius.components.view.diagram.Style;
import org.eclipse.sirius.components.view.diagram.SynchronizationPolicy;
@@ -407,6 +408,13 @@ public class DiagramPackageImpl extends EPackageImpl implements DiagramPackage {
*/
private EClass dialogDescriptionEClass = null;
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass selectionDialogTreeDescriptionEClass = null;
+
/**
*
*
@@ -2051,7 +2059,7 @@ public EClass getSelectionDialogDescription() {
* @generated
*/
@Override
- public EAttribute getSelectionDialogDescription_SelectionCandidatesExpression() {
+ public EAttribute getSelectionDialogDescription_SelectionMessage() {
return (EAttribute) this.selectionDialogDescriptionEClass.getEStructuralFeatures().get(0);
}
@@ -2061,8 +2069,8 @@ public EAttribute getSelectionDialogDescription_SelectionCandidatesExpression()
* @generated
*/
@Override
- public EAttribute getSelectionDialogDescription_SelectionMessage() {
- return (EAttribute) this.selectionDialogDescriptionEClass.getEStructuralFeatures().get(1);
+ public EReference getSelectionDialogDescription_SelectionDialogTreeDescription() {
+ return (EReference) this.selectionDialogDescriptionEClass.getEStructuralFeatures().get(1);
}
/**
@@ -2185,6 +2193,46 @@ public EClass getDialogDescription() {
return this.dialogDescriptionEClass;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EClass getSelectionDialogTreeDescription() {
+ return this.selectionDialogTreeDescriptionEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getSelectionDialogTreeDescription_ElementsExpression() {
+ return (EAttribute) this.selectionDialogTreeDescriptionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getSelectionDialogTreeDescription_ChildrenExpression() {
+ return (EAttribute) this.selectionDialogTreeDescriptionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getSelectionDialogTreeDescription_IsSelectableExpression() {
+ return (EAttribute) this.selectionDialogTreeDescriptionEClass.getEStructuralFeatures().get(2);
+ }
+
/**
*
*
@@ -2504,8 +2552,8 @@ public void createPackageContents() {
this.createEAttribute(this.deleteViewEClass, DELETE_VIEW__VIEW_EXPRESSION);
this.selectionDialogDescriptionEClass = this.createEClass(SELECTION_DIALOG_DESCRIPTION);
- this.createEAttribute(this.selectionDialogDescriptionEClass, SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION);
this.createEAttribute(this.selectionDialogDescriptionEClass, SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE);
+ this.createEReference(this.selectionDialogDescriptionEClass, SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION);
this.toolSectionEClass = this.createEClass(TOOL_SECTION);
this.createEAttribute(this.toolSectionEClass, TOOL_SECTION__NAME);
@@ -2525,6 +2573,11 @@ public void createPackageContents() {
this.dialogDescriptionEClass = this.createEClass(DIALOG_DESCRIPTION);
+ this.selectionDialogTreeDescriptionEClass = this.createEClass(SELECTION_DIALOG_TREE_DESCRIPTION);
+ this.createEAttribute(this.selectionDialogTreeDescriptionEClass, SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION);
+ this.createEAttribute(this.selectionDialogTreeDescriptionEClass, SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION);
+ this.createEAttribute(this.selectionDialogTreeDescriptionEClass, SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION);
+
// Create enums
this.arrowStyleEEnum = this.createEEnum(ARROW_STYLE);
this.layoutDirectionEEnum = this.createEEnum(LAYOUT_DIRECTION);
@@ -2913,10 +2966,10 @@ public void initializePackageContents() {
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEClass(this.selectionDialogDescriptionEClass, SelectionDialogDescription.class, "SelectionDialogDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getSelectionDialogDescription_SelectionCandidatesExpression(), theViewPackage.getInterpretedExpression(), "selectionCandidatesExpression", "aql:self", 0, 1,
- SelectionDialogDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEAttribute(this.getSelectionDialogDescription_SelectionMessage(), this.ecorePackage.getEString(), "selectionMessage", null, 0, 1, SelectionDialogDescription.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEReference(this.getSelectionDialogDescription_SelectionDialogTreeDescription(), this.getSelectionDialogTreeDescription(), null, "selectionDialogTreeDescription", null, 0, 1,
+ SelectionDialogDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
this.initEClass(this.toolSectionEClass, ToolSection.class, "ToolSection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
this.initEAttribute(this.getToolSection_Name(), theViewPackage.getIdentifier(), "name", "Tool Section", 1, 1, ToolSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
@@ -2946,6 +2999,14 @@ public void initializePackageContents() {
this.initEClass(this.dialogDescriptionEClass, DialogDescription.class, "DialogDescription", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEClass(this.selectionDialogTreeDescriptionEClass, SelectionDialogTreeDescription.class, "SelectionDialogTreeDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ this.initEAttribute(this.getSelectionDialogTreeDescription_ElementsExpression(), theViewPackage.getInterpretedExpression(), "elementsExpression", "", 1, 1,
+ SelectionDialogTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getSelectionDialogTreeDescription_ChildrenExpression(), theViewPackage.getInterpretedExpression(), "childrenExpression", null, 0, 1,
+ SelectionDialogTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ this.initEAttribute(this.getSelectionDialogTreeDescription_IsSelectableExpression(), theViewPackage.getInterpretedExpression(), "isSelectableExpression", null, 0, 1,
+ SelectionDialogTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Initialize enums and add enum literals
this.initEEnum(this.arrowStyleEEnum, ArrowStyle.class, "ArrowStyle");
this.addEEnumLiteral(this.arrowStyleEEnum, ArrowStyle.NONE);
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogDescriptionImpl.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogDescriptionImpl.java
index 6b4f9f57b4a..2b4dedfaa75 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogDescriptionImpl.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogDescriptionImpl.java
@@ -13,10 +13,13 @@
package org.eclipse.sirius.components.view.diagram.impl;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.sirius.components.view.diagram.DiagramPackage;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
/**
* An implementation of the model object 'Selection Dialog Description '.
- *
- * @see #getSelectionCandidatesExpression()
- * @generated
- * @ordered
- */
- protected static final String SELECTION_CANDIDATES_EXPRESSION_EDEFAULT = "aql:self";
-
- /**
- * The cached value of the '{@link #getSelectionCandidatesExpression() Selection Candidates Expression }'
- * attribute.
- *
- * @see #getSelectionCandidatesExpression()
- * @generated
- * @ordered
- */
- protected String selectionCandidatesExpression = SELECTION_CANDIDATES_EXPRESSION_EDEFAULT;
-
/**
* The default value of the '{@link #getSelectionMessage() Selection Message }' attribute.
@@ -74,6 +57,16 @@ public class SelectionDialogDescriptionImpl extends DialogDescriptionImpl implem
*/
protected String selectionMessage = SELECTION_MESSAGE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getSelectionDialogTreeDescription() Selection Dialog Tree Description }'
+ * containment reference.
+ *
+ * @see #getSelectionDialogTreeDescription()
+ * @generated
+ * @ordered
+ */
+ protected SelectionDialogTreeDescription selectionDialogTreeDescription;
+
/**
*
*
@@ -99,8 +92,8 @@ protected EClass eStaticClass() {
* @generated
*/
@Override
- public String getSelectionCandidatesExpression() {
- return this.selectionCandidatesExpression;
+ public String getSelectionMessage() {
+ return this.selectionMessage;
}
/**
@@ -109,12 +102,11 @@ public String getSelectionCandidatesExpression() {
* @generated
*/
@Override
- public void setSelectionCandidatesExpression(String newSelectionCandidatesExpression) {
- String oldSelectionCandidatesExpression = this.selectionCandidatesExpression;
- this.selectionCandidatesExpression = newSelectionCandidatesExpression;
+ public void setSelectionMessage(String newSelectionMessage) {
+ String oldSelectionMessage = this.selectionMessage;
+ this.selectionMessage = newSelectionMessage;
if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION, oldSelectionCandidatesExpression,
- this.selectionCandidatesExpression));
+ this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE, oldSelectionMessage, this.selectionMessage));
}
/**
@@ -123,8 +115,27 @@ public void setSelectionCandidatesExpression(String newSelectionCandidatesExpres
* @generated
*/
@Override
- public String getSelectionMessage() {
- return this.selectionMessage;
+ public SelectionDialogTreeDescription getSelectionDialogTreeDescription() {
+ return this.selectionDialogTreeDescription;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetSelectionDialogTreeDescription(SelectionDialogTreeDescription newSelectionDialogTreeDescription, NotificationChain msgs) {
+ SelectionDialogTreeDescription oldSelectionDialogTreeDescription = this.selectionDialogTreeDescription;
+ this.selectionDialogTreeDescription = newSelectionDialogTreeDescription;
+ if (this.eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION,
+ oldSelectionDialogTreeDescription, newSelectionDialogTreeDescription);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
}
/**
@@ -133,11 +144,35 @@ public String getSelectionMessage() {
* @generated
*/
@Override
- public void setSelectionMessage(String newSelectionMessage) {
- String oldSelectionMessage = this.selectionMessage;
- this.selectionMessage = newSelectionMessage;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE, oldSelectionMessage, this.selectionMessage));
+ public void setSelectionDialogTreeDescription(SelectionDialogTreeDescription newSelectionDialogTreeDescription) {
+ if (newSelectionDialogTreeDescription != this.selectionDialogTreeDescription) {
+ NotificationChain msgs = null;
+ if (this.selectionDialogTreeDescription != null)
+ msgs = ((InternalEObject) this.selectionDialogTreeDescription).eInverseRemove(this,
+ EOPPOSITE_FEATURE_BASE - DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION, null, msgs);
+ if (newSelectionDialogTreeDescription != null)
+ msgs = ((InternalEObject) newSelectionDialogTreeDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION,
+ null, msgs);
+ msgs = this.basicSetSelectionDialogTreeDescription(newSelectionDialogTreeDescription, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION, newSelectionDialogTreeDescription,
+ newSelectionDialogTreeDescription));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ return this.basicSetSelectionDialogTreeDescription(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
@@ -148,10 +183,10 @@ public void setSelectionMessage(String newSelectionMessage) {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION:
- return this.getSelectionCandidatesExpression();
case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE:
return this.getSelectionMessage();
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ return this.getSelectionDialogTreeDescription();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -164,12 +199,12 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION:
- this.setSelectionCandidatesExpression((String) newValue);
- return;
case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE:
this.setSelectionMessage((String) newValue);
return;
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ this.setSelectionDialogTreeDescription((SelectionDialogTreeDescription) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -182,12 +217,12 @@ public void eSet(int featureID, Object newValue) {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION:
- this.setSelectionCandidatesExpression(SELECTION_CANDIDATES_EXPRESSION_EDEFAULT);
- return;
case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE:
this.setSelectionMessage(SELECTION_MESSAGE_EDEFAULT);
return;
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ this.setSelectionDialogTreeDescription((SelectionDialogTreeDescription) null);
+ return;
}
super.eUnset(featureID);
}
@@ -200,11 +235,10 @@ public void eUnset(int featureID) {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_CANDIDATES_EXPRESSION:
- return SELECTION_CANDIDATES_EXPRESSION_EDEFAULT == null ? this.selectionCandidatesExpression != null
- : !SELECTION_CANDIDATES_EXPRESSION_EDEFAULT.equals(this.selectionCandidatesExpression);
case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_MESSAGE:
return SELECTION_MESSAGE_EDEFAULT == null ? this.selectionMessage != null : !SELECTION_MESSAGE_EDEFAULT.equals(this.selectionMessage);
+ case DiagramPackage.SELECTION_DIALOG_DESCRIPTION__SELECTION_DIALOG_TREE_DESCRIPTION:
+ return this.selectionDialogTreeDescription != null;
}
return super.eIsSet(featureID);
}
@@ -220,9 +254,7 @@ public String toString() {
return super.toString();
StringBuilder result = new StringBuilder(super.toString());
- result.append(" (selectionCandidatesExpression: ");
- result.append(this.selectionCandidatesExpression);
- result.append(", selectionMessage: ");
+ result.append(" (selectionMessage: ");
result.append(this.selectionMessage);
result.append(')');
return result.toString();
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogTreeDescriptionImpl.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogTreeDescriptionImpl.java
new file mode 100644
index 00000000000..55ee8ecf44d
--- /dev/null
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/impl/SelectionDialogTreeDescriptionImpl.java
@@ -0,0 +1,300 @@
+/*******************************************************************************
+ * Copyright (c) 2024 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 org.eclipse.sirius.components.view.diagram.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.diagram.DiagramPackage;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
+
+/**
+ * Copyright (c) 2021, 2024 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
+ */
+/**
+ * An implementation of the model object 'Selection Dialog Tree Description '.
+ *
+ *
+ * The following features are implemented:
+ *
+ *
+ * {@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl#getElementsExpression
+ * Elements Expression }
+ * {@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl#getChildrenExpression
+ * Children Expression }
+ * {@link org.eclipse.sirius.components.view.diagram.impl.SelectionDialogTreeDescriptionImpl#getIsSelectableExpression
+ * Is Selectable Expression }
+ *
+ *
+ * @generated
+ */
+public class SelectionDialogTreeDescriptionImpl extends MinimalEObjectImpl.Container implements SelectionDialogTreeDescription {
+ /**
+ * The default value of the '{@link #getElementsExpression() Elements Expression }' attribute.
+ *
+ * @see #getElementsExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String ELEMENTS_EXPRESSION_EDEFAULT = "";
+
+ /**
+ * The cached value of the '{@link #getElementsExpression() Elements Expression }' attribute.
+ *
+ * @see #getElementsExpression()
+ * @generated
+ * @ordered
+ */
+ protected String elementsExpression = ELEMENTS_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getChildrenExpression() Children Expression }' attribute.
+ *
+ * @see #getChildrenExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String CHILDREN_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getChildrenExpression() Children Expression }' attribute.
+ *
+ * @see #getChildrenExpression()
+ * @generated
+ * @ordered
+ */
+ protected String childrenExpression = CHILDREN_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIsSelectableExpression() Is Selectable Expression }' attribute.
+ *
+ * @see #getIsSelectableExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String IS_SELECTABLE_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIsSelectableExpression() Is Selectable Expression }' attribute.
+ *
+ * @see #getIsSelectableExpression()
+ * @generated
+ * @ordered
+ */
+ protected String isSelectableExpression = IS_SELECTABLE_EXPRESSION_EDEFAULT;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected SelectionDialogTreeDescriptionImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DiagramPackage.Literals.SELECTION_DIALOG_TREE_DESCRIPTION;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getElementsExpression() {
+ return this.elementsExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setElementsExpression(String newElementsExpression) {
+ String oldElementsExpression = this.elementsExpression;
+ this.elementsExpression = newElementsExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION, oldElementsExpression, this.elementsExpression));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getChildrenExpression() {
+ return this.childrenExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setChildrenExpression(String newChildrenExpression) {
+ String oldChildrenExpression = this.childrenExpression;
+ this.childrenExpression = newChildrenExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION, oldChildrenExpression, this.childrenExpression));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getIsSelectableExpression() {
+ return this.isSelectableExpression;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setIsSelectableExpression(String newIsSelectableExpression) {
+ String oldIsSelectableExpression = this.isSelectableExpression;
+ this.isSelectableExpression = newIsSelectableExpression;
+ if (this.eNotificationRequired())
+ this.eNotify(
+ new ENotificationImpl(this, Notification.SET, DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION, oldIsSelectableExpression, this.isSelectableExpression));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION:
+ return this.getElementsExpression();
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION:
+ return this.getChildrenExpression();
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION:
+ return this.getIsSelectableExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION:
+ this.setElementsExpression((String) newValue);
+ return;
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION:
+ this.setChildrenExpression((String) newValue);
+ return;
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION:
+ this.setIsSelectableExpression((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION:
+ this.setElementsExpression(ELEMENTS_EXPRESSION_EDEFAULT);
+ return;
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION:
+ this.setChildrenExpression(CHILDREN_EXPRESSION_EDEFAULT);
+ return;
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION:
+ this.setIsSelectableExpression(IS_SELECTABLE_EXPRESSION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__ELEMENTS_EXPRESSION:
+ return ELEMENTS_EXPRESSION_EDEFAULT == null ? this.elementsExpression != null : !ELEMENTS_EXPRESSION_EDEFAULT.equals(this.elementsExpression);
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__CHILDREN_EXPRESSION:
+ return CHILDREN_EXPRESSION_EDEFAULT == null ? this.childrenExpression != null : !CHILDREN_EXPRESSION_EDEFAULT.equals(this.childrenExpression);
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION__IS_SELECTABLE_EXPRESSION:
+ return IS_SELECTABLE_EXPRESSION_EDEFAULT == null ? this.isSelectableExpression != null : !IS_SELECTABLE_EXPRESSION_EDEFAULT.equals(this.isSelectableExpression);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (this.eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (elementsExpression: ");
+ result.append(this.elementsExpression);
+ result.append(", childrenExpression: ");
+ result.append(this.childrenExpression);
+ result.append(", isSelectableExpression: ");
+ result.append(this.isSelectableExpression);
+ result.append(')');
+ return result.toString();
+ }
+
+} // SelectionDialogTreeDescriptionImpl
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramAdapterFactory.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramAdapterFactory.java
index 8d6ead83e9c..7a699632cd2 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramAdapterFactory.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramAdapterFactory.java
@@ -61,6 +61,7 @@
import org.eclipse.sirius.components.view.diagram.OutsideLabelStyle;
import org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
import org.eclipse.sirius.components.view.diagram.SourceEdgeEndReconnectionTool;
import org.eclipse.sirius.components.view.diagram.Style;
import org.eclipse.sirius.components.view.diagram.TargetEdgeEndReconnectionTool;
@@ -314,6 +315,11 @@ public Adapter caseDialogDescription(DialogDescription object) {
return DiagramAdapterFactory.this.createDialogDescriptionAdapter();
}
+ @Override
+ public Adapter caseSelectionDialogTreeDescription(SelectionDialogTreeDescription object) {
+ return DiagramAdapterFactory.this.createSelectionDialogTreeDescriptionAdapter();
+ }
+
@Override
public Adapter caseRepresentationDescription(RepresentationDescription object) {
return DiagramAdapterFactory.this.createRepresentationDescriptionAdapter();
@@ -1008,6 +1014,20 @@ public Adapter createDialogDescriptionAdapter() {
return null;
}
+ /**
+ * Creates a new adapter for an object of class
+ * '{@link org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription Selection Dialog Tree
+ * 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.
+ * @see org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription
+ * @generated
+ */
+ public Adapter createSelectionDialogTreeDescriptionAdapter() {
+ return null;
+ }
+
/**
* Creates a new adapter for an object of class '{@link org.eclipse.sirius.components.view.RepresentationDescription
* Representation Description }'. This default implementation returns null so that
diff --git a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramSwitch.java b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramSwitch.java
index 63c26dfd1d8..6e37ca721d0 100644
--- a/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramSwitch.java
+++ b/packages/view/backend/sirius-components-view-diagram/src/main/java/org/eclipse/sirius/components/view/diagram/util/DiagramSwitch.java
@@ -60,6 +60,7 @@
import org.eclipse.sirius.components.view.diagram.OutsideLabelStyle;
import org.eclipse.sirius.components.view.diagram.RectangularNodeStyleDescription;
import org.eclipse.sirius.components.view.diagram.SelectionDialogDescription;
+import org.eclipse.sirius.components.view.diagram.SelectionDialogTreeDescription;
import org.eclipse.sirius.components.view.diagram.SourceEdgeEndReconnectionTool;
import org.eclipse.sirius.components.view.diagram.Style;
import org.eclipse.sirius.components.view.diagram.TargetEdgeEndReconnectionTool;
@@ -533,6 +534,13 @@ protected T doSwitch(int classifierID, EObject theEObject) {
result = this.defaultCase(theEObject);
return result;
}
+ case DiagramPackage.SELECTION_DIALOG_TREE_DESCRIPTION: {
+ SelectionDialogTreeDescription selectionDialogTreeDescription = (SelectionDialogTreeDescription) theEObject;
+ T result = this.caseSelectionDialogTreeDescription(selectionDialogTreeDescription);
+ if (result == null)
+ result = this.defaultCase(theEObject);
+ return result;
+ }
default:
return this.defaultCase(theEObject);
}
@@ -1200,6 +1208,21 @@ public T caseDialogDescription(DialogDescription object) {
return null;
}
+ /**
+ * Returns the result of interpreting the object as an instance of 'Selection Dialog Tree 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 'Selection Dialog Tree Description '.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSelectionDialogTreeDescription(SelectionDialogTreeDescription object) {
+ return null;
+ }
+
/**
* Returns the result of interpreting the object as an instance of 'Representation Description '. This implementation returns null; returning a non-null result will terminate the switch.