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 $
Author:
$Author: lowende $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  java.lang.String temporaryFileName
          No comment provided by developer, please add a comment to improve documentation.
private  UMLIncrement umlIncr
          No comment provided by developer, please add a comment to improve documentation.
 
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.
private  void useExternalEditor(UMLIncrement umlIncr)
          This method uses an external editor to edit text.
 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
 

Field Detail

umlIncr

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


temporaryFileName

private java.lang.String temporaryFileName
No comment provided by developer, please add a comment to improve documentation.

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

useExternalEditor

private void useExternalEditor(UMLIncrement umlIncr)
This method uses an external editor to edit text.

Parameters:
umlIncr - 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