Package xtwm.ui

Class ExternalEditorWindow

  • All Implemented Interfaces:
    java.lang.Comparable<TWidget>, Scrollable

    public class ExternalEditorWindow
    extends TTerminalWindow
    ExternalEditorWindow is a terminal shell wrapper to an editor.
    • Constructor Detail

      • ExternalEditorWindow

        public ExternalEditorWindow​(XTWMApplication parent)
        Public constructor.
        Parameters:
        parent - the main application
      • ExternalEditorWindow

        public ExternalEditorWindow​(XTWMApplication parent,
                                    java.lang.String filename)
        Public constructor.
        Parameters:
        parent - the main application
        filename - a file to open
    • Method Detail

      • onShellExit

        public void onShellExit()
        Hook for subclasses to be notified of the shell termination.
        Overrides:
        onShellExit in class TTerminalWindow
      • getFilename

        public java.lang.String getFilename()
        Get the filename being edited.
        Returns:
        the filename