Class LinkEditorDialog
java.lang.Object
lu.kbra.modelizer_next.ui.dialogs.LinkEditorDialog
Dialog for editing a relationship link and its endpoints.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordImmutable value object for result data. -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkEditorDialog.ResultshowDialog(Component parent, ModelDocument document, LinkModel linkModel, PanelType panelType) Shows the dialog.
-
Method Details
-
showDialog
public static LinkEditorDialog.Result showDialog(Component parent, ModelDocument document, LinkModel linkModel, PanelType panelType) Shows the dialog.- Parameters:
parent- parent component used for dialog ownershipdocument- document to read or modifylinkModel- link model affected by the operationpanelType- diagram panel type whose model or layout should be used- Returns:
- the show dialog result
-