org.eclipse.jdt.core.formatter
Class CodeFormatterApplication
java.lang.Object
org.eclipse.jdt.core.formatter.CodeFormatterApplication
- All Implemented Interfaces:
- IPlatformRunnable
- public class CodeFormatterApplication
- extends Object
- implements IPlatformRunnable
Implements an Eclipse Application for org.eclipse.jdt.core.JavaCodeFormatter.
There are a couple improvments 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.
This class is not intended to be instantiated or subclassed by clients.
- Since:
- 3.2
Method Summary |
Object |
run(Object args)
Runs the Java code formatter application |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeFormatterApplication
public CodeFormatterApplication()
run
public Object run(Object args)
throws Exception
- Runs the Java code formatter application
- Specified by:
run
in interface IPlatformRunnable
- Throws:
Exception
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.