|
Eclipse JDT Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.core.formatter.CodeFormatterApplication
public class CodeFormatterApplication
Implements an Eclipse Application for org.eclipse.jdt.core.JavaCodeFormatter. There are a couple improvements that could be made: 1. Make a list of all the files first so that a file does not get formatted twice. 2. Use a text based progress monitor for output.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.equinox.app.IApplication |
|---|
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART |
| Constructor Summary | |
|---|---|
CodeFormatterApplication()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
start(IApplicationContext context)
Runs the Java code formatter application |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeFormatterApplication()
| Method Detail |
|---|
public java.lang.Object start(IApplicationContext context)
throws java.lang.Exception
start in interface IApplicationjava.lang.Exceptionpublic void stop()
stop in interface IApplication
|
Eclipse JDT Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||