de.uni_paderborn.fujaba.texteditor
Class TextEditor

java.lang.Object
  extended byde.uni_paderborn.fujaba.texteditor.TextEditor
Direct Known Subclasses:
TextEditorMP

public abstract class TextEditor
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2005/02/14 14:28:14 $
Author:
$Author: cschneid $

Nested Class Summary
static interface TextEditor.Buffer
          represents a single open file/text in the text editor
static interface TextEditor.BufferOwner
          listener interface for the owner of a buffer
 
Constructor Summary
TextEditor()
           
 
Method Summary
 TextEditor.Buffer createBuffer()
           
abstract  TextEditor.Buffer createBuffer(TextEditor.BufferOwner owner)
           
static TextEditor get()
           
static void set(TextEditor implementation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextEditor

public TextEditor()
Method Detail

createBuffer

public TextEditor.Buffer createBuffer()
Returns:
a new buffer that is displayed in this editor

createBuffer

public abstract TextEditor.Buffer createBuffer(TextEditor.BufferOwner owner)
Parameters:
owner - owner of the buffer (will be subscribed as listener)
Returns:
a new buffer that is displayed in this editor

get

public static TextEditor get()
Returns:
the text editor for Fujaba

set

public static void set(TextEditor implementation)
Parameters:
implementation - new text editor to be used for Fujaba