|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.pretty.PrettyPrintFile
org.acm.seguin.ide.jedit.JEditPrettyPrinter
public class JEditPrettyPrinter
Description of the Class
Nested Class Summary | |
---|---|
protected class |
JEditPrettyPrinter.JavaStyleExceptionPrinter
Prints to stdout and includes a dialog box |
Field Summary | |
---|---|
protected Buffer |
buffer
|
protected static java.lang.Throwable |
exception
|
protected JEditPrettyPrinter.JavaStyleExceptionPrinter |
exceptionPrinter
|
protected JavaStylePlugin |
jsPlugin
|
protected View |
view
|
protected java.io.Writer |
writer
|
Constructor Summary | |
---|---|
JEditPrettyPrinter(JavaStylePlugin jsPlugin,
View view,
Buffer buffer)
Constructor for the JEditPrettyPrinter object |
Method Summary | |
---|---|
protected java.lang.String |
getOutputBuffer()
Gets the OutputBuffer attribute of the JEditPrettyPrinter object |
protected java.io.Writer |
getWriter(java.io.File file)
Gets the OutputStream attribute of the JEditPrettyPrinter object |
protected void |
postApply(java.io.File inputFile,
net.sourceforge.jrefactory.ast.SimpleNode root)
After we have applied the pretty printing |
void |
run()
Main processing method for the JEditPrettyPrinter object |
protected void |
setInputString(java.lang.String input)
Sets the InputString attribute of the JEditPrettyPrinter object |
protected static void |
setProjectData(View view,
Buffer buffer)
Sets the projectData attribute of the JEditPrettyPrinter object |
protected void |
setSettings()
Sets the Settings attribute of the JEditPrettyPrinter object |
Methods inherited from class org.acm.seguin.pretty.PrettyPrintFile |
---|
apply, apply, getParserFactory, getPrintData, isApplicable, setAsk, setParserFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JEditPrettyPrinter.JavaStyleExceptionPrinter exceptionPrinter
protected Buffer buffer
protected java.io.Writer writer
protected JavaStylePlugin jsPlugin
protected View view
protected static java.lang.Throwable exception
Constructor Detail |
---|
public JEditPrettyPrinter(JavaStylePlugin jsPlugin, View view, Buffer buffer)
jsPlugin
- Description of Parameterview
- Description of Parameterbuffer
- Description of ParameterMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
protected void setInputString(java.lang.String input)
input
- The new InputString valueprotected java.lang.String getOutputBuffer()
protected java.io.Writer getWriter(java.io.File file)
getWriter
in class PrettyPrintFile
file
- Description of Parameter
protected void postApply(java.io.File inputFile, net.sourceforge.jrefactory.ast.SimpleNode root)
postApply
in class PrettyPrintFile
inputFile
- Description of Parameterroot
- Description of Parameterprotected void setSettings()
protected static void setProjectData(View view, Buffer buffer)
view
- The new ProjectData valuebuffer
- The new ProjectData value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |