de.uni_paderborn.fujaba.texteditor
Class TextEditorMP.BufferMP

java.lang.Object
  extended byde.uni_paderborn.fujaba.texteditor.TextEditorMP.BufferMP
All Implemented Interfaces:
TextEditor.Buffer
Enclosing class:
TextEditorMP

private static class TextEditorMP.BufferMP
extends java.lang.Object
implements TextEditor.Buffer

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

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

Nested Class Summary
private  class TextEditorMP.BufferMP.OwnerMP
          No comment provided by developer, please add a comment to improve documentation.
 
Field Summary
(package private)  DocInterface doc
          No comment provided by developer, please add a comment to improve documentation.
(package private)  mpEDIT edit
          No comment provided by developer, please add a comment to improve documentation.
(package private)  TagLine tagLine
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
private TextEditorMP.BufferMP(TextEditor.BufferOwner owner)
          Constructor for class BufferMP
 
Method Summary
 void addLine(java.lang.String line)
          Access method for an one to n association.
 java.lang.String getText()
           
 void setDirty(boolean dirty)
          Sets the dirty attribute of the BufferMP object
 void setFilename(java.lang.String filename)
          Sets the filename attribute of the BufferMP object
 void setSyntaxHighlightingEnabled(boolean enabled)
          Sets the syntaxHighlightingEnabled attribute of the BufferMP object
 void showLine(int lineNr)
          show a line in the editor (e.g. to highlight error).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edit

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


tagLine

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


doc

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

Constructor Detail

TextEditorMP.BufferMP

private TextEditorMP.BufferMP(TextEditor.BufferOwner owner)
Constructor for class BufferMP

Parameters:
owner - No description provided
Method Detail

setSyntaxHighlightingEnabled

public void setSyntaxHighlightingEnabled(boolean enabled)
Sets the syntaxHighlightingEnabled attribute of the BufferMP object

Specified by:
setSyntaxHighlightingEnabled in interface TextEditor.Buffer
Parameters:
enabled - The new syntaxHighlightingEnabled value

addLine

public void addLine(java.lang.String line)
Access method for an one to n association.

Specified by:
addLine in interface TextEditor.Buffer
Parameters:
line - The object added.

setFilename

public void setFilename(java.lang.String filename)
Sets the filename attribute of the BufferMP object

Specified by:
setFilename in interface TextEditor.Buffer
Parameters:
filename - The new filename value

setDirty

public void setDirty(boolean dirty)
Sets the dirty attribute of the BufferMP object

Specified by:
setDirty in interface TextEditor.Buffer
Parameters:
dirty - The new dirty value

getText

public java.lang.String getText()
Specified by:
getText in interface TextEditor.Buffer
Returns:
the content of this buffer

showLine

public void showLine(int lineNr)
show a line in the editor (e.g. to highlight error). Unsupported by MPEdit.

Specified by:
showLine in interface TextEditor.Buffer
Parameters:
lineNr - which line to be shown