From e5aa89d4a39a9a3b20137cbdf88ccf4b9eec84f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20ROU=C3=8BN=C3=89?= Date: Tue, 9 Jan 2024 11:25:45 +0100 Subject: [PATCH] [2796] Convert flow to view DSL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://github.com/eclipse-sirius/sirius-web/issues/2796 Signed-off-by: Florian ROUËNÉ --- CHANGELOG.adoc | 2 + .../diagrams/diagram-selection-dialog.cy.js | 8 +- .../e2e/project/diagrams/diagram.cy.js | 3 +- .../cypress/e2e/project/flow/flow.cy.ts | 65 +++ .../sirius-web-sample-application/pom.xml | 35 +- .../configuration/SampleEMFConfiguration.java | 22 +- .../SampleSiriusConfiguration.java | 4 +- ...ereotypeDescriptionRegistryConfigurer.java | 31 +- .../services/EditingContextActionHandler.java | 74 +-- .../EditingContextActionProvider.java | 15 - .../main/resources/application-dev.properties | 10 +- .../src/main/resources/application.properties | 10 +- .../papaya/ActorHuman.png | Bin .../papaya/FunctionInputPort.png | Bin .../papaya/FunctionOutputPort.png | Bin .../EditingContextActionHandlerTests.java | 6 +- packages/starters/backend/pom.xml | 1 + .../.checkstyle | 10 + .../sirius-components-flow-starter/.classpath | 50 ++ .../sirius-components-flow-starter/.project | 34 ++ .../org.eclipse.core.resources.prefs | 4 + .../.settings/org.eclipse.core.runtime.prefs | 3 + .../.settings/org.eclipse.jdt.apt.core.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 505 ++++++++++++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 210 ++++++++ .../.settings/org.eclipse.m2e.core.prefs | 4 + ...org.springframework.ide.eclipse.boot.prefs | 2 + .../org.springframework.ide.eclipse.prefs | 2 + .../README.adoc | 5 + .../sirius-components-flow-starter/pom.xml | 166 ++++++ .../configuration/FlowEMFConfiguration.java | 48 ++ .../configuration/FlowEditableSwitch.java | 5 +- .../configuration/FlowLabelFeatureSwitch.java | 5 +- .../FlowProjectTemplatesInitializer.java | 12 +- .../FlowProjectTemplatesProvider.java | 6 +- ...ereotypeDescriptionRegistryConfigurer.java | 76 +++ .../FlowViewRegistryConfiguration.java | 116 ++++ .../flow/starter/helper/ColorProvider.java | 46 ++ .../starter/helper/StereotypeBuilder.java | 116 ++++ .../FlowEditingContextActionHandler.java | 153 ++++++ .../FlowEditingContextActionProvider.java | 57 ++ .../services/FlowJavaServiceProvider.java | 42 ++ .../flow/starter/services/FlowService.java | 84 +++ ...ronizedViewDiagramDescriptionProvider.java | 177 ++++++ ...ographyViewDiagramDescriptionProvider.java | 147 +++++ ...oLayoutViewDiagramDescriptionProvider.java | 147 +++++ .../flow/starter/view/FlowViewBuilder.java | 122 +++++ .../view/ViewDiagramElementFinder.java | 76 +++ .../DataSourceDescriptionProvider.java | 104 ++++ ...rceToProcessorEdgeDescriptionProvider.java | 101 ++++ .../descriptions/FanDescriptionProvider.java | 85 +++ .../ProcessorDescriptionProvider.java | 159 ++++++ ...sorToProcessorEdgeDescriptionProvider.java | 100 ++++ .../SystemDescriptionProvider.java | 293 ++++++++++ .../main/resources/customImages/antenna.svg | 63 +++ .../main/resources/customImages/camera.svg | 8 + .../resources/customImages/chipset2_high.svg | 12 + .../resources/customImages/chipset2_low.svg | 12 + .../resources/customImages/chipset2_over.svg | 12 + .../customImages/chipset2_standard.svg | 12 + .../customImages/chipset2_unused.svg | 12 + .../resources/customImages/chipset_high.svg | 11 + .../resources/customImages/chipset_low.svg | 11 + .../resources/customImages/chipset_over.svg | 11 + .../customImages/chipset_standard.svg | 11 + .../resources/customImages/chipset_unused.svg | 11 + .../main/resources/customImages/cpu_high.svg | 8 + .../main/resources/customImages/cpu_low.svg | 8 + .../main/resources/customImages/cpu_over.svg | 8 + .../resources/customImages/cpu_standard.svg | 8 + .../resources/customImages/cpu_unused.svg | 8 + .../src/main/resources/customImages/fan.svg | 30 ++ .../src/main/resources/customImages/radar.svg | 11 + .../main/resources/customImages/sensor.svg | 13 + .../architecture/ArchitectureConstants.java | 36 ++ .../architecture/CodingRulesTests.java | 42 ++ .../architecture/SpringCodingRulesTests.java | 36 ++ .../FlowEditingContextActionHandlerTests.java | 40 ++ 78 files changed, 3797 insertions(+), 197 deletions(-) create mode 100644 integration-tests/cypress/e2e/project/flow/flow.cy.ts rename packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/{icons => customImages}/papaya/ActorHuman.png (100%) rename packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/{icons => customImages}/papaya/FunctionInputPort.png (100%) rename packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/{icons => customImages}/papaya/FunctionOutputPort.png (100%) create mode 100644 packages/starters/backend/sirius-components-flow-starter/.checkstyle create mode 100644 packages/starters/backend/sirius-components-flow-starter/.classpath create mode 100644 packages/starters/backend/sirius-components-flow-starter/.project create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.resources.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.runtime.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.apt.core.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.core.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.ui.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.m2e.core.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.springframework.ide.eclipse.boot.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/.settings/org.springframework.ide.eclipse.prefs create mode 100644 packages/starters/backend/sirius-components-flow-starter/README.adoc create mode 100644 packages/starters/backend/sirius-components-flow-starter/pom.xml create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/configuration/FlowEMFConfiguration.java rename packages/{sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample => starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter}/configuration/FlowEditableSwitch.java (91%) rename packages/{sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample => starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter}/configuration/FlowLabelFeatureSwitch.java (94%) rename packages/{sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample => starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter}/configuration/FlowProjectTemplatesInitializer.java (95%) rename packages/{sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample => starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter}/configuration/FlowProjectTemplatesProvider.java (90%) create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/configuration/FlowStereotypeDescriptionRegistryConfigurer.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/configuration/FlowViewRegistryConfiguration.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/helper/ColorProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/helper/StereotypeBuilder.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/services/FlowEditingContextActionHandler.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/services/FlowEditingContextActionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/services/FlowJavaServiceProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/services/FlowService.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/FlowTopographyUnsynchronizedViewDiagramDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/FlowTopographyViewDiagramDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/FlowTopographyWithAutoLayoutViewDiagramDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/FlowViewBuilder.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/ViewDiagramElementFinder.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/DataSourceDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/DataSourceToProcessorEdgeDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/FanDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/ProcessorDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/ProcessorToProcessorEdgeDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/java/org/eclipse/sirius/components/flow/starter/view/descriptions/SystemDescriptionProvider.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/antenna.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/camera.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset2_high.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset2_low.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset2_over.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset2_standard.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset2_unused.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset_high.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset_low.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset_over.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset_standard.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/chipset_unused.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/cpu_high.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/cpu_low.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/cpu_over.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/cpu_standard.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/cpu_unused.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/fan.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/radar.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/main/resources/customImages/sensor.svg create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/test/java/org/eclipse/sirius/components/flow/starter/architecture/ArchitectureConstants.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/test/java/org/eclipse/sirius/components/flow/starter/architecture/CodingRulesTests.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/test/java/org/eclipse/sirius/components/flow/starter/architecture/SpringCodingRulesTests.java create mode 100644 packages/starters/backend/sirius-components-flow-starter/src/test/java/org/eclipse/sirius/components/flow/starter/services/FlowEditingContextActionHandlerTests.java diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 984f46bfaa..2a8a4e1144 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -80,6 +80,7 @@ Additional changes to this interface will propably occur in the near future in o - https://github.com/eclipse-sirius/sirius-web/issues/2889[#2889] [emf] Remove the default implementation of the editing context from the `sirius-components-emf` module. The default implementation of the editing context for Sirius Web, which had Sirius Web specific code already, will be owned by `sirius-web-services`. This default implementation will now also contain all the view models properly loaded which should be considered during the lifecycle of the editing context. +- https://github.com/eclipse-sirius/sirius-web/issues/2796[#2796] [sirius-web] All Flow related configurations have been moved to `sirius-components-flow-starter` module. === Dependency update @@ -153,6 +154,7 @@ Among those capabilities, we should find the list of view models to consider dur This change makes the editing context the single source of truth for the state of the view models. - https://github.com/eclipse-sirius/sirius-web/issues/2904[#2904] [sirius-web] Order candidates in Representations sections in the Onboard Area. - https://github.com/eclipse-sirius/sirius-web/issues/2903[#2903] [sirius-web] Order New Representation modal candidates. +- https://github.com/eclipse-sirius/sirius-web/issues/2796[#2796] [sirius-web] Flow diagram description has been converted to the view DSL. == v2023.12.0 diff --git a/integration-tests/cypress/e2e/project/diagrams/diagram-selection-dialog.cy.js b/integration-tests/cypress/e2e/project/diagrams/diagram-selection-dialog.cy.js index 993f9b7f74..6344bc864d 100644 --- a/integration-tests/cypress/e2e/project/diagrams/diagram-selection-dialog.cy.js +++ b/integration-tests/cypress/e2e/project/diagrams/diagram-selection-dialog.cy.js @@ -1,7 +1,7 @@ /******************************************************************************* - * Copyright (c) 2021, 2023 Obeo. + * Copyright (c) 2021, 2024 Obeo. * This program and the accompanying materials - * are made available under the erms of the Eclipse Public License v2.0 + * 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/ * @@ -10,7 +10,9 @@ * Contributors: * Obeo - initial API and implementation *******************************************************************************/ -describe('/projects/:projectId/edit - Diagram', () => { +// Flow diagram description does not have selection tools after the view DSL conversion +// These tests can be reactivated when selection support is added to React-Flow +describe.skip('/projects/:projectId/edit - Diagram', () => { beforeEach(() => { cy.deleteAllProjects(); cy.createProject('Cypress Project').then((res) => { diff --git a/integration-tests/cypress/e2e/project/diagrams/diagram.cy.js b/integration-tests/cypress/e2e/project/diagrams/diagram.cy.js index 02e5a63131..fb138cf1fe 100644 --- a/integration-tests/cypress/e2e/project/diagrams/diagram.cy.js +++ b/integration-tests/cypress/e2e/project/diagrams/diagram.cy.js @@ -91,8 +91,7 @@ describe('/projects/:projectId/edit - Diagram', () => { cy.getByTestId('Topography with auto layout').click(); cy.getByTestId('create-representation').click(); - cy.get('#diagram>svg text.sprotty-label').should('have.length', 23); - cy.get('#diagram>svg foreignObject.sprotty-label').should('have.length', 2); + cy.get('#diagram>svg text.sprotty-label').should('have.length', 25); cy.get('#diagram>svg g.sprotty-edge').should('have.length', 7); cy.get('#diagram>svg image').should('have.length', 10); cy.get('#diagram rect').should('have.length', 18); diff --git a/integration-tests/cypress/e2e/project/flow/flow.cy.ts b/integration-tests/cypress/e2e/project/flow/flow.cy.ts new file mode 100644 index 0000000000..e182e5d3ae --- /dev/null +++ b/integration-tests/cypress/e2e/project/flow/flow.cy.ts @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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 + *******************************************************************************/ + +import { Project } from '../../../pages/Project'; +import { Flow } from '../../../usecases/Flow'; +import { Explorer } from '../../../workbench/Explorer'; +import { Diagram } from '../../../workbench/Diagram'; + +const projectName = 'Cypress - flow'; + +describe('Flow', () => { + context('Given a flow project with a robot document', () => { + let projectId: string = ''; + beforeEach(() => + new Flow().createRobotProject(projectName).then((createdProjectData) => { + projectId = createdProjectData.projectId; + new Project().visit(projectId); + }) + ); + + afterEach(() => cy.deleteProject(projectId)); + + context('When we interact with the flow diagram', () => { + it('Then I can create a topography diagram', () => { + const explorer = new Explorer(); + const diagram = new Diagram(); + explorer.getExplorerView().contains('robot'); + explorer.expand('robot'); + explorer.createRepresentation('Robot', 'Topography', 'diagramTopography'); + diagram.getDiagram('diagramTopography').should('exist'); + diagram.getNodes('diagramTopography', 'Central_Unit').should('exist'); + }); + + it('Then I can create a topography unsynchronized diagram', () => { + const explorer = new Explorer(); + const diagram = new Diagram(); + explorer.getExplorerView().contains('robot'); + explorer.expand('robot'); + explorer.createRepresentation('Robot', 'Topography unsynchronized', 'diagramTopographyUnsynchronized'); + diagram.getDiagram('diagramTopographyUnsynchronized').should('exist'); + diagram.getNodes('diagramTopographyUnsynchronized', 'Central_Unit').should('not.exist'); + }); + + it('Then I can create a topography with auto layout diagram', () => { + const explorer = new Explorer(); + const diagram = new Diagram(); + explorer.getExplorerView().contains('robot'); + explorer.expand('robot'); + explorer.createRepresentation('Robot', 'Topography with auto layout', 'diagramTopographyWithAutoLayout'); + diagram.getDiagram('diagramTopographyWithAutoLayout').should('exist'); + diagram.getNodes('diagramTopographyWithAutoLayout', 'Description').should('exist'); + }); + }); + }); +}); 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 cc5e1b315e..2ab1ede88e 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/pom.xml +++ b/packages/sirius-web/backend/sirius-web-sample-application/pom.xml @@ -29,7 +29,6 @@ 17 - 1.0.11-SNAPSHOT 4.0.3-SNAPSHOT 2.1.5-SNAPSHOT @@ -156,23 +155,13 @@ org.eclipse.sirius - sirius-components-view-deck - 2023.12.8 - - - fr.obeo.dsl.designer.sample.flow - fr.obeo.dsl.designer.sample.flow - ${flow.version} - - - fr.obeo.dsl.designer.sample.flow - fr.obeo.dsl.designer.sample.flow.edit - ${flow.version} + sirius-components-flow-starter + 2023.12.8 - fr.obeo.dsl.designer.sample.flow - fr.obeo.dsl.designer.sample.flow.design - ${flow.version} + org.eclipse.sirius + sirius-components-view-deck + 2023.12.8 BPMN2 @@ -269,13 +258,13 @@ 2023.12.8 test - - org.eclipse.sirius - sirius-components-view-deck-edit - 2023.12.8 - compile - - + + org.eclipse.sirius + sirius-components-view-deck-edit + 2023.12.8 + compile + + diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleEMFConfiguration.java b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleEMFConfiguration.java index bf36fdcdab..a16a0efa9f 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleEMFConfiguration.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleEMFConfiguration.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2023 Obeo. + * Copyright (c) 2019, 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 @@ -12,16 +12,11 @@ *******************************************************************************/ package org.eclipse.sirius.web.sample.configuration; -import fr.obeo.dsl.designer.sample.flow.FlowPackage; -import fr.obeo.dsl.designer.sample.flow.provider.FlowItemProviderAdapterFactory; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.ecore.EPackage; import org.eclipse.sirius.components.domain.DomainPackage; import org.eclipse.sirius.components.domain.provider.DomainItemProviderAdapterFactory; import org.eclipse.sirius.components.emf.configuration.ChildExtenderProvider; -import org.eclipse.sirius.components.emf.services.ILabelFeatureProvider; -import org.eclipse.sirius.components.emf.services.LabelFeatureProvider; import org.eclipse.sirius.components.view.ViewPackage; import org.eclipse.sirius.components.view.diagram.DiagramPackage; import org.eclipse.sirius.components.view.diagram.provider.DiagramItemProviderAdapterFactory; @@ -44,21 +39,6 @@ @Configuration public class SampleEMFConfiguration { - @Bean - public AdapterFactory flowAdapterFactory() { - return new FlowItemProviderAdapterFactory(); - } - - @Bean - public EPackage flowEPackage() { - return FlowPackage.eINSTANCE; - } - - @Bean - public ILabelFeatureProvider flowLabelFeatureProvider() { - return new LabelFeatureProvider(FlowPackage.eINSTANCE.getNsURI(), new FlowLabelFeatureSwitch(), new FlowEditableSwitch()); - } - @Bean @ConditionalOnProperty(prefix = "org.eclipse.sirius.web.features", name = "studioDefinition") public EPackage domainEPackage() { diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleSiriusConfiguration.java b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleSiriusConfiguration.java index 2b9d640e86..c42e2b438d 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleSiriusConfiguration.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/SampleSiriusConfiguration.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2022 Obeo. + * Copyright (c) 2019, 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 @@ -29,7 +29,7 @@ public class SampleSiriusConfiguration implements ISiriusConfiguration { @Override public List getODesignPaths() { - return List.of("description/flow.odesign"); + return List.of(); } @Bean diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/StereotypeDescriptionRegistryConfigurer.java b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/StereotypeDescriptionRegistryConfigurer.java index 681dba97ac..02a03dd074 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/StereotypeDescriptionRegistryConfigurer.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/configuration/StereotypeDescriptionRegistryConfigurer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2023 Obeo. + * Copyright (c) 2019, 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 @@ -12,8 +12,6 @@ *******************************************************************************/ package org.eclipse.sirius.web.sample.configuration; -import fr.obeo.dsl.designer.sample.flow.FlowFactory; - import java.util.List; import java.util.UUID; @@ -30,7 +28,6 @@ import org.eclipse.sirius.web.sample.papaya.view.PapayaViewProvider; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; -import org.springframework.core.io.ClassPathResource; import io.micrometer.core.instrument.MeterRegistry; @@ -46,18 +43,6 @@ public class StereotypeDescriptionRegistryConfigurer implements IStereotypeDescr public static final String EMPTY_LABEL = "Others..."; - public static final UUID EMPTY_FLOW_ID = UUID.nameUUIDFromBytes("empty_flow".getBytes()); - - public static final String EMPTY_FLOW_LABEL = "Flow"; - - public static final UUID ROBOT_FLOW_ID = UUID.nameUUIDFromBytes("robot_flow".getBytes()); - - public static final String ROBOT_FLOW_LABEL = "Robot Flow"; - - public static final UUID BIG_GUY_FLOW_ID = UUID.nameUUIDFromBytes("big_guy_flow".getBytes()); - - public static final String BIG_GUY_FLOW_LABEL = "Big Guy Flow (17k elements)"; - public static final UUID EMPTY_VIEW_ID = UUID.nameUUIDFromBytes("empty_view".getBytes()); public static final String EMPTY_VIEW_LABEL = "View"; @@ -90,15 +75,12 @@ public StereotypeDescriptionRegistryConfigurer(MeterRegistry meterRegistry, @Val @Override public void addStereotypeDescriptions(IStereotypeDescriptionRegistry registry) { - registry.add(new StereotypeDescription(EMPTY_FLOW_ID, EMPTY_FLOW_LABEL, this::getEmptyFlowContent)); if (this.studiosEnabled) { registry.add(new StereotypeDescription(EMPTY_DOMAIN_ID, EMPTY_DOMAIN_LABEL, this::getEmptyDomainContent)); registry.add(new StereotypeDescription(EMPTY_VIEW_ID, EMPTY_VIEW_LABEL, this::getEmptyViewContent)); registry.add(new StereotypeDescription(PAPAYA_DOMAIN_ID, PAPAYA_DOMAIN_LABEL, this::getPapayaDomainContent)); registry.add(new StereotypeDescription(PAPAYA_VIEW_ID, PAPAYA_VIEW_LABEL, this::getPapayaViewContent)); } - registry.add(new StereotypeDescription(ROBOT_FLOW_ID, ROBOT_FLOW_LABEL, this::getRobotFlowContent)); - registry.add(new StereotypeDescription(BIG_GUY_FLOW_ID, BIG_GUY_FLOW_LABEL, this::getBigGuyFlowContent)); registry.add(new StereotypeDescription(EMPTY_ID, EMPTY_LABEL, "New", this::getEmptyContent)); } @@ -130,15 +112,4 @@ private String getEmptyContent() { return this.stereotypeBuilder.getStereotypeBody(List.of()); } - private String getEmptyFlowContent() { - return this.stereotypeBuilder.getStereotypeBody(List.of(FlowFactory.eINSTANCE.createSystem())); - } - - private String getRobotFlowContent() { - return this.stereotypeBuilder.getStereotypeBody(new ClassPathResource("robot.flow")); - } - - private String getBigGuyFlowContent() { - return this.stereotypeBuilder.getStereotypeBody(new ClassPathResource("Big_Guy.flow")); - } } diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandler.java b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandler.java index f60e6def0e..e4eda7bced 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandler.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandler.java @@ -12,32 +12,19 @@ *******************************************************************************/ package org.eclipse.sirius.web.sample.services; -import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.BIG_GUY_FLOW_ID; import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.EMPTY_ACTION_ID; import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.EMPTY_DOMAIN_ID; -import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.EMPTY_FLOW_ID; import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.EMPTY_VIEW_ID; import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.PAPAYA_DOMAIN_ID; import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.PAPAYA_VIEW_ID; -import static org.eclipse.sirius.web.sample.services.EditingContextActionProvider.ROBOT_FLOW_ID; -import fr.obeo.dsl.designer.sample.flow.FlowFactory; - -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.UUID; import java.util.function.Consumer; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.xmi.XMLParserPool; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl; -import org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl; import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; import org.eclipse.sirius.components.collaborative.api.ChangeKind; import org.eclipse.sirius.components.collaborative.api.IEditingContextActionHandler; @@ -47,7 +34,6 @@ import org.eclipse.sirius.components.emf.ResourceMetadataAdapter; import org.eclipse.sirius.components.emf.services.JSONResourceFactory; import org.eclipse.sirius.components.emf.services.api.IEMFEditingContext; -import org.eclipse.sirius.components.emf.utils.EMFResourceUtils; import org.eclipse.sirius.components.representations.Failure; import org.eclipse.sirius.components.representations.IStatus; import org.eclipse.sirius.components.representations.Success; @@ -61,7 +47,6 @@ import org.eclipse.sirius.web.sample.papaya.view.PapayaViewProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.core.io.ClassPathResource; import org.springframework.stereotype.Service; @@ -73,9 +58,7 @@ @Service public class EditingContextActionHandler implements IEditingContextActionHandler { - private static final XMLParserPool PARSER_POOL = new XMLParserPoolImpl(); - - private static final List HANDLED_ACTIONS = List.of(EMPTY_ACTION_ID, EMPTY_FLOW_ID, ROBOT_FLOW_ID, BIG_GUY_FLOW_ID, + private static final List HANDLED_ACTIONS = List.of(EMPTY_ACTION_ID, EMPTY_DOMAIN_ID, PAPAYA_DOMAIN_ID, EMPTY_VIEW_ID, PAPAYA_VIEW_ID); private final Logger logger = LoggerFactory.getLogger(EditingContextActionHandler.class); @@ -105,9 +88,6 @@ public IStatus handle(IEditingContext editingContext, String actionId) { private IStatus performActionOnResourceSet(ResourceSet resourceSet, String actionId) { return switch (actionId) { case EMPTY_ACTION_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createEmptyResource); - case EMPTY_FLOW_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createEmptyFlowResource); - case ROBOT_FLOW_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createRobotFlowResource); - case BIG_GUY_FLOW_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createBigGuyFlowResource); case EMPTY_DOMAIN_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createEmptyDomainResource); case PAPAYA_DOMAIN_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createPapayaDomainResource); case EMPTY_VIEW_ID -> this.createResourceAndReturnSuccess(resourceSet, this::createEmptyViewResource); @@ -128,13 +108,6 @@ private void createEmptyResource(ResourceSet resourceSet) { resourceSet.getResources().add(resource); } - private void createEmptyFlowResource(ResourceSet resourceSet) { - JsonResource resource = new JSONResourceFactory().createResourceFromPath(UUID.randomUUID().toString()); - resource.getContents().add(FlowFactory.eINSTANCE.createSystem()); - resource.eAdapters().add(new ResourceMetadataAdapter("Flow")); - resourceSet.getResources().add(resource); - } - private void createEmptyDomainResource(ResourceSet resourceSet) { JsonResource resource = new JSONResourceFactory().createResourceFromPath(UUID.randomUUID().toString()); Domain domain = DomainFactory.eINSTANCE.createDomain(); @@ -171,49 +144,4 @@ private void createPapayaViewResource(ResourceSet resourceSet) { resourceSet.getResources().add(resource); } - - private void createRobotFlowResource(ResourceSet resourceSet) { - this.getResourceFromClassPathResource(new ClassPathResource("robot.flow")).ifPresent(resource -> { - resource.eAdapters().add(new ResourceMetadataAdapter("Robot Flow")); - resourceSet.getResources().add(resource); - }); - } - - private void createBigGuyFlowResource(ResourceSet resourceSet) { - this.getResourceFromClassPathResource(new ClassPathResource("Big_Guy.flow")).ifPresent(resource -> { - resource.eAdapters().add(new ResourceMetadataAdapter("Big Guy Flow (17k elements)")); - resourceSet.getResources().add(resource); - }); - } - - public Optional getResourceFromClassPathResource(ClassPathResource classPathResource) { - - try (var inputStream = classPathResource.getInputStream()) { - URI uri = new JSONResourceFactory().createResourceURI(UUID.randomUUID().toString()); - return Optional.of(this.loadFromXMIAndTransformToJSONResource(uri, inputStream)); - } catch (IOException exception) { - this.logger.error(exception.getMessage(), exception); - return Optional.empty(); - } - } - - private Resource loadFromXMIAndTransformToJSONResource(URI uri, InputStream inputStream) throws IOException { - Resource inputResource = new XMIResourceImpl(uri); - Map xmiLoadOptions = new EMFResourceUtils().getXMILoadOptions(PARSER_POOL); - inputResource.load(inputStream, xmiLoadOptions); - return this.transformToJSON(uri, inputResource); - } - - private JsonResource transformToJSON(URI uri, Resource inputResource) throws IOException { - JsonResource outputResource = new JSONResourceFactory().createResource(uri); - outputResource.getContents().addAll(inputResource.getContents()); - try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) { - Map jsonSaveOptions = new EMFResourceUtils().getFastJSONSaveOptions(); - jsonSaveOptions.put(JsonResource.OPTION_ENCODING, JsonResource.ENCODING_UTF_8); - jsonSaveOptions.put(JsonResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); - outputResource.save(outputStream, jsonSaveOptions); - } - return outputResource; - } - } diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionProvider.java b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionProvider.java index 56bab458ff..231bee54d6 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionProvider.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/java/org/eclipse/sirius/web/sample/services/EditingContextActionProvider.java @@ -34,12 +34,6 @@ public class EditingContextActionProvider implements IEditingContextActionProvid public static final String EMPTY_ACTION_ID = "empty"; - public static final String EMPTY_FLOW_ID = "empty_flow"; - - public static final String ROBOT_FLOW_ID = "robot_flow"; - - public static final String BIG_GUY_FLOW_ID = "big_guy_flow"; - public static final String EMPTY_DOMAIN_ID = "empty_domain"; public static final String PAPAYA_DOMAIN_ID = "papaya_domain"; @@ -50,12 +44,6 @@ public class EditingContextActionProvider implements IEditingContextActionProvid private static final EditingContextAction EMPTY_EDITING_CONTEXT_ACTION = new EditingContextAction(EMPTY_ACTION_ID, "Others..."); - private static final EditingContextAction EMPTY_FLOW_EDITING_CONTEXT_ACTION = new EditingContextAction(EMPTY_FLOW_ID, "Flow"); - - private static final EditingContextAction ROBOT_FLOW_EDITING_CONTEXT_ACTION = new EditingContextAction(ROBOT_FLOW_ID, "Robot Flow"); - - private static final EditingContextAction BIG_GUY_FLOW_EDITING_CONTEXT_ACTION = new EditingContextAction(BIG_GUY_FLOW_ID, "Big Guy Flow (17k elements)"); - private static final EditingContextAction EMPTY_DOMAIN_EDITING_CONTEXT_ACTION = new EditingContextAction(EMPTY_DOMAIN_ID, "Domain"); private static final EditingContextAction PAPAYA_DOMAIN_EDITING_CONTEXT_ACTION = new EditingContextAction(PAPAYA_DOMAIN_ID, "Papaya Domain"); @@ -78,9 +66,6 @@ public List getEditingContextAction(IEditingContext editin var containsDomain = nsURIs.contains(DomainPackage.eNS_URI); var containsView = nsURIs.contains(ViewPackage.eNS_URI); - actions.add(EMPTY_FLOW_EDITING_CONTEXT_ACTION); - actions.add(ROBOT_FLOW_EDITING_CONTEXT_ACTION); - actions.add(BIG_GUY_FLOW_EDITING_CONTEXT_ACTION); if (containsDomain) { actions.add(EMPTY_DOMAIN_EDITING_CONTEXT_ACTION); } diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application-dev.properties b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application-dev.properties index 9859682e63..ee420f08d2 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application-dev.properties +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application-dev.properties @@ -1,5 +1,5 @@ -################################################################################################ -# Copyright (c) 2019, 2022 Obeo. +################################################################################ +# Copyright (c) 2019, 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 @@ -9,7 +9,7 @@ # # Contributors: # Obeo - initial API and implementation -################################################################################################ +################################################################################# ################################################## # @@ -21,7 +21,7 @@ server.port=8080 spring.mvc.pathmatch.matching-strategy=ant-path-matcher logging.level.org.eclipse.sirius.web.diagrams.layout.LayoutService=OFF -org.eclipse.sirius.web.customImages.pattern=classpath:/icons/papaya/** +org.eclipse.sirius.web.customImages.pattern=classpath*:/customImages/** ################################################## # @@ -30,7 +30,7 @@ org.eclipse.sirius.web.customImages.pattern=classpath:/icons/papaya/** ################################################## -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.properties.hibernate.session.events.log.LOG_QUERIES_SLOWER_THAN_MS=20 spring.jpa.hibernate.ddl-auto=none spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application.properties b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application.properties index 41ce0ed19c..5b6800e218 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application.properties +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/application.properties @@ -1,5 +1,5 @@ -################################################################################################ -# Copyright (c) 2019, 2020 Obeo. +################################################################################ +# Copyright (c) 2019, 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 @@ -9,9 +9,9 @@ # # Contributors: # Obeo - initial API and implementation -################################################################################################ +################################################################################# spring.mvc.pathmatch.matching-strategy=ant-path-matcher -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=none spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl @@ -28,4 +28,4 @@ sirius.components.cors.allowedOriginPatterns=* org.eclipse.sirius.web.features.studioDefinition=true logging.level.org.eclipse.sirius.web.diagrams.layout.LayoutService=OFF -org.eclipse.sirius.web.customImages.pattern=classpath:/icons/papaya/** \ No newline at end of file +org.eclipse.sirius.web.customImages.pattern=classpath*:/customImages/** diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/ActorHuman.png b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/ActorHuman.png similarity index 100% rename from packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/ActorHuman.png rename to packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/ActorHuman.png diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/FunctionInputPort.png b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/FunctionInputPort.png similarity index 100% rename from packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/FunctionInputPort.png rename to packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/FunctionInputPort.png diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/FunctionOutputPort.png b/packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/FunctionOutputPort.png similarity index 100% rename from packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/icons/papaya/FunctionOutputPort.png rename to packages/sirius-web/backend/sirius-web-sample-application/src/main/resources/customImages/papaya/FunctionOutputPort.png diff --git a/packages/sirius-web/backend/sirius-web-sample-application/src/test/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandlerTests.java b/packages/sirius-web/backend/sirius-web-sample-application/src/test/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandlerTests.java index 883c83e546..b7d88e2937 100644 --- a/packages/sirius-web/backend/sirius-web-sample-application/src/test/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandlerTests.java +++ b/packages/sirius-web/backend/sirius-web-sample-application/src/test/java/org/eclipse/sirius/web/sample/services/EditingContextActionHandlerTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2023 Obeo. + * 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 @@ -25,14 +25,14 @@ public class EditingContextActionHandlerTests { @ParameterizedTest - @ValueSource(strings = {"empty", "empty_flow", "robot_flow", "big_guy_flow", "empty_domain", "papaya_domain", "empty_view", "papaya_view"}) + @ValueSource(strings = { "empty", "empty_domain", "papaya_domain", "empty_view", "papaya_view" }) void testCanHandle(String actionId) { EditingContextActionHandler handler = new EditingContextActionHandler(); assertThat(handler.canHandle(null, actionId)).isTrue(); } @ParameterizedTest - @ValueSource(strings = {"", "wrong_action", "other", "EMPTY"}) + @ValueSource(strings = { "", "wrong_action", "other", "EMPTY", "empty_flow", "robot_flow", "big_guy_flow" }) void testCanNotHandle(String actionId) { EditingContextActionHandler handler = new EditingContextActionHandler(); assertThat(handler.canHandle(null, actionId)).isFalse(); diff --git a/packages/starters/backend/pom.xml b/packages/starters/backend/pom.xml index 0f8b8dc986..3401520838 100644 --- a/packages/starters/backend/pom.xml +++ b/packages/starters/backend/pom.xml @@ -34,5 +34,6 @@ sirius-components-starter sirius-components-task-starter + sirius-components-flow-starter diff --git a/packages/starters/backend/sirius-components-flow-starter/.checkstyle b/packages/starters/backend/sirius-components-flow-starter/.checkstyle new file mode 100644 index 0000000000..f62c550f18 --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/starters/backend/sirius-components-flow-starter/.classpath b/packages/starters/backend/sirius-components-flow-starter/.classpath new file mode 100644 index 0000000000..f9e5560b99 --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.classpath @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/starters/backend/sirius-components-flow-starter/.project b/packages/starters/backend/sirius-components-flow-starter/.project new file mode 100644 index 0000000000..a1bd138f05 --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.project @@ -0,0 +1,34 @@ + + + sirius-components-flow-starter + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.springframework.ide.eclipse.boot.validation.springbootbuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.resources.prefs b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..f9fe34593f --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.runtime.prefs b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..a287fefdba --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,3 @@ +#Mon Sep 24 15:04:19 CEST 2007 +eclipse.preferences.version=1 +line.separator=\n diff --git a/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.apt.core.prefs b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.apt.core.prefs new file mode 100644 index 0000000000..d4313d4b25 --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.apt.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.apt.aptEnabled=false diff --git a/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.core.prefs b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..2ab93cd0a5 --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,505 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.annotationPath.allLocations=disabled +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnull.secondary= +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullable.secondary= +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.APILeak=warning +org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled +org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 +org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false +org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false +org.eclipse.jdt.core.formatter.align_with_spaces=false +org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=0 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assertion_message=0 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0 +org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_module_statements=16 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_record_components=16 +org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0 +org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0 +org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0 +org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=1 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false +org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.indent_tag_description=false +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert +org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false +org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.lineSplit=200 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.text_block_indentation=0 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true +org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true +org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false +org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true +org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true +org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true +org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true +org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true +org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.ui.prefs b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..f789e687ad --- /dev/null +++ b/packages/starters/backend/sirius-components-flow-starter/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,210 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=true +cleanup.always_use_this_for_non_static_method_access=true +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=true +cleanup.format_source_code=true +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=true +cleanup.qualify_static_field_accesses_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=false +cleanup.qualify_static_method_accesses_with_declaring_class=true +cleanup.remove_private_constructors=true +cleanup.remove_redundant_modifiers=false +cleanup.remove_redundant_semicolons=false +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=false +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=true +cleanup.use_this_for_non_static_field_access_only_if_necessary=false +cleanup.use_this_for_non_static_method_access=true +cleanup.use_this_for_non_static_method_access_only_if_necessary=false +cleanup_profile=_Sirius +cleanup_settings_version=2 +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_Sirius +formatter_settings_version=21 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;fr;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates=