forked from eclipse-sirius/sirius-web
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1915] Add page concept in form view DSL
Bug: eclipse-sirius#1915 Signed-off-by: Florian Rouëné <florian.rouene@obeosoft.com>
- Loading branch information
Showing
105 changed files
with
6,333 additions
and
2,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
= ADR-098 - Add `PageDescription` definition in the View DSL | ||
|
||
== Context | ||
|
||
In the View DSL definition (in `view.ecore`), it's only possible to organize `FormDescription` in separate groups. | ||
|
||
== Decision | ||
|
||
We will add a new level to organize groups in different pages. This new object `PageDescription` will be contained in a `FormDescription` and may contain any number of | ||
`GroupDescription`. | ||
|
||
=== Frontend | ||
|
||
The Material-UI `Tabs` representation will be used to display the pages of the FormDescription. | ||
A new drop area will be added to drop new page elements from the editor. | ||
To change the page order, the `Tab` will be _draggable._ | ||
The `Tab` are Material-UI component, and it's not recommended to add a new drop area to `Tabs` between them to offer the possibility to place `Tab` at any position. | ||
To get around that, it will be possible to drop elements directly on the `Tab` element in order to place it before. | ||
|
||
=== Backend | ||
|
||
The new structure of the class `FormDescriptionEditor` will be just like the ecore definition i.e., the new layer `List<Page>` will be introduced in place of `List<Group>` which | ||
is moved in the `Page` object. | ||
|
||
== Status | ||
|
||
Accepted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-components-core/src/main/java/org/eclipse/sirius/components/core/api/SuccessPayload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.