Class CommentEditorDialog

java.lang.Object
lu.kbra.modelizer_next.ui.dialogs.CommentEditorDialog

public final class CommentEditorDialog extends Object
Dialog for editing a comment, its type, and optional binding.
  • 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 ownership
      document - document to read or modify
      initialComment - initial comment value used by the operation
      panelType - diagram panel type whose model or layout should be used
      Returns:
      the show dialog result