Interface ScriptEditor

All Known Implementing Classes:
DefaultScriptEditor, RichScriptEditor

public interface ScriptEditor
Minimal interface for a script editor that the GUI can call.
Author:
Pete Bankhead
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Show the script editor.
    void
    Show the script editor, opening an existing script file.
    void
    showScript(String name, String script)
    Show the script editor, including a new script with the specified name.
    boolean
    Check if the script editor supports a particular file.
  • Method Details

    • showEditor

      void showEditor()
      Show the script editor.
    • showScript

      void showScript(String name, String script)
      Show the script editor, including a new script with the specified name.
      Parameters:
      name - name of the script to show
      script - content of the script
    • showScript

      void showScript(File file)
      Show the script editor, opening an existing script file.
      Parameters:
      file - the script file
    • supportsFile

      boolean supportsFile(File file)
      Check if the script editor supports a particular file.
      Parameters:
      file -
      Returns: