Class FileScriptingPanel

    • Field Detail

    • Constructor Detail

      • FileScriptingPanel

        public FileScriptingPanel()
    • Method Detail

      • getPlainTitle

        public abstract String getPlainTitle()
        Returns the title (without the filename).
        Returns:
        the plain title
      • getTitle

        public String getTitle()
        Returns the current title for the frame/dialog.
        Specified by:
        getTitle in class ScriptingPanel
        Returns:
        the title
      • getOutput

        public JTextPane getOutput()
        Returns the text area that is used for displaying output on stdout and stderr.
        Specified by:
        getOutput in class ScriptingPanel
        Returns:
        the JTextArea
      • getMenuBar

        public JMenuBar getMenuBar()
        Returns the menu bar to to be displayed in the frame.
        Specified by:
        getMenuBar in class ScriptingPanel
        Returns:
        the menu bar, null if not applicable
      • open

        public void open​(File file)
        Opens the specified file.
        Parameters:
        file - the file to open