-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into feature-642/#642-editing-registered-m…
…etadata-to-add-confounding-variables # Conflicts: # user-interface/src/main/bundles/dev.bundle
- Loading branch information
Showing
13 changed files
with
1,254 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Frontend components | ||
Some visual aid of our custom view components structure. | ||
|
||
## Dialog window | ||
|
||
```mermaid | ||
--- | ||
title: Dialog window | ||
--- | ||
classDiagram | ||
note for Component "Vaadin Component" | ||
note for Dialog "Vaadin Component" | ||
AppDialog <-- DialogHeader | ||
AppDialog <-- DialogBody | ||
AppDialog <-- DialogFooter | ||
DialogBody ..|> UserInput | ||
UserInput --> InputValidation | ||
AppDialog --> Component | ||
AppDialog --> Action | ||
AppDialog --|> Dialog | ||
AppDialog --> UserInput | ||
DialogBody *-- DialogSection | ||
class Dialog { | ||
} | ||
class DialogSection { | ||
} | ||
class Component { | ||
} | ||
class AppDialog { | ||
+setHeader(Component component) | ||
+setBody(Component component) | ||
+setFooter(Component component) | ||
+registerConfirmAction(Action action) | ||
+registerCancelAction(Action action) | ||
+registerUserInput(UserInput input) | ||
+confirm() | ||
+cancel() | ||
} | ||
class DialogHeader { | ||
} | ||
class DialogBody { | ||
} | ||
class Action { | ||
<<interface>> | ||
+execute() | ||
} | ||
class DialogFooter { | ||
} | ||
class InputValidation { | ||
+ passed() boolean | ||
+ failed() boolean | ||
} | ||
class UserInput { | ||
<<interface>> | ||
+ validate() InputValidation | ||
+ hasChanges() boolean | ||
} | ||
``` |
Oops, something went wrong.