de.uni_paderborn.fujaba.uml.actions
Class EditTextAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.uni_paderborn.fujaba.uml.actions.EditTextAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, ProcessListener, java.io.Serializable, TextEditor.BufferOwner

public class EditTextAction
extends javax.swing.AbstractAction
implements TextEditor.BufferOwner, ProcessListener

Edit the java text of an increment.

Version:
$Revision: 1.41.2.1 $
Author:
$Author: mksoft $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EditTextAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          No comment provided by developer, please add a comment to improve documentation.
 void bufferSaved(TextEditor.Buffer buffer)
          No comment provided by developer, please add a comment to improve documentation.
static void doParsing(UMLIncrement incr, java.lang.String text)
          parse code to put it into an increment
 java.lang.String openTextFile(java.lang.String fileName)
          No comment provided by developer, please add a comment to improve documentation.
 void processFinished(ProcessEvent event)
          No comment provided by developer, please add a comment to improve documentation.
 TextEditor.Buffer useTextEditor(UMLIncrement umlIncr)
          This method uses the text editor to edit text.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditTextAction

public EditTextAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
event - No description provided

useTextEditor

public TextEditor.Buffer useTextEditor(UMLIncrement umlIncr)
This method uses the text editor to edit text.

Parameters:
umlIncr - what to be edited (the source of this increment)
Returns:
No description provided

processFinished

public void processFinished(ProcessEvent event)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
processFinished in interface ProcessListener
Parameters:
event - No description provided

bufferSaved

public void bufferSaved(TextEditor.Buffer buffer)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
bufferSaved in interface TextEditor.BufferOwner
Parameters:
buffer - No description provided

openTextFile

public java.lang.String openTextFile(java.lang.String fileName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
fileName - No description provided
Returns:
No description provided

doParsing

public static void doParsing(UMLIncrement incr,
                             java.lang.String text)
parse code to put it into an increment

Parameters:
incr - where to put the parsed information
text - to be parsed