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