Class ReadTextDialog

java.lang.Object
docking.DialogComponentProvider
docking.widgets.dialogs.ReadTextDialog
All Implemented Interfaces:
ActionContextProvider, StatusListener, TaskListener

public class ReadTextDialog extends DialogComponentProvider
General purpose modal dialog to display text in a text area.
  • Constructor Details

    • ReadTextDialog

      public ReadTextDialog(String title, String text)
      Construct a new ReadTextDialog
      Parameters:
      title - title for this dialog
      text - text to display in the text area
  • Method Details

    • getText

      public String getText()
      Get the text displayed in the text area.
    • setText

      public void setText(String text)
      Set the text in the text area.
    • okCallback

      protected void okCallback()
      Description copied from class: DialogComponentProvider
      The callback method for when the "OK" button is pressed.
      Overrides:
      okCallback in class DialogComponentProvider