de.uni_paderborn.fujaba.mpEdit
Interface EditorInterface

All Known Implementing Classes:
mpEDIT

public interface EditorInterface

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.9 $
Author:
$Author: schneider $

Method Summary
 void closeDocs(boolean bail)
          Closes all documents.
 DocInterface newDoc(DocOwnerInterface owner)
          Opens a new, empty, document.
 DocInterface openDoc(DocOwnerInterface owner, java.lang.String filename)
          Opens a new editor window containing the specified file.
 

Method Detail

closeDocs

public void closeDocs(boolean bail)
Closes all documents. If the "bail" flag is true changes will be discarded, otherwise the user will be queried.

Parameters:
bail - Exit immediately, discarding changes.

openDoc

public DocInterface openDoc(DocOwnerInterface owner,
                            java.lang.String filename)
Opens a new editor window containing the specified file.

Parameters:
owner - The owner for this document.
filename - A full path to a text file to be opened.
Returns:
A DocInterface for the opened document.

newDoc

public DocInterface newDoc(DocOwnerInterface owner)
Opens a new, empty, document.

Parameters:
owner - The owner for this document.
Returns:
A DocInterface for the opened document.