Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.formatter
Class CodeFormatterApplication

java.lang.Object
  extended by 
org.eclipse.jdt.core.formatter.CodeFormatterApplication
All Implemented Interfaces:
IApplication

public class CodeFormatterApplication
extends Object
implements IApplication

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.

Since:
3.2
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Field Summary
 
Fields inherited from interface org.eclipse.equinox.app. IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
CodeFormatterApplication ()
           
 
Method Summary
  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

CodeFormatterApplication

public CodeFormatterApplication()
Method Detail

start

public 
Object start(
IApplicationContext context)
             throws 
Exception
Runs the Java code formatter application

Specified by:
start in interface IApplication
Throws:
Exception

stop

public void stop()
Specified by:
stop in interface IApplication

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire