| java.lang.Object org.acm.seguin.ide.jedit.JEditComplexTransform
JEditComplexTransform | public class JEditComplexTransform implements ComplexTransform(Code) | | Base class for a program that reads in an abstract syntax tree, transforms
the code, and rewrites the file to disk.
author: Chris Seguin author: Mike author: Atkinson version: $Id: JEditComplexTransform.java,v 1.4 2003/10/30 15:24:22 mikeatkinson Exp $ since: 0.0.1 |
JEditComplexTransform | public JEditComplexTransform()(Code) | | Constructor for the JEditComplexTransform object
|
add | public void add(TransformAST value)(Code) | | Adds a syntax tree transformation
Parameters: value - Description of Parameter |
apply | public void apply(File inputFile, File outputFile)(Code) | | Given a file, applies a set of transformations to it
Parameters: inputFile - Description of Parameter Parameters: outputFile - Description of Parameter |
clear | public void clear()(Code) | | Clears all the transforms
|
createFile | public void createFile(File file)(Code) | | Creates a new file
Parameters: file - Description of Parameter |
hasAnyChanges | public boolean hasAnyChanges()(Code) | | Is it worth applying the transforms
true if there is any |
removeFile | public void removeFile(File file)(Code) | | Removes an old file
Parameters: file - Description of Parameter |
setUndoAction | public void setUndoAction(UndoAction init)(Code) | | Sets the undoAction attribute of the JEditComplexTransform object
Parameters: init - The new undoAction value |
|
|