org.eclipse.mtl.ide.ui.builders
Class MTLCompileOperation

java.lang.Object
  extended by org.eclipse.mtl.ide.ui.builders.MTLCompileOperation
All Implemented Interfaces:
org.eclipse.core.resources.IWorkspaceRunnable

public class MTLCompileOperation
extends java.lang.Object
implements org.eclipse.core.resources.IWorkspaceRunnable

The operation that compiles the templates in a background task.


Constructor Summary
MTLCompileOperation(org.eclipse.core.resources.IProject project, org.eclipse.core.resources.IFile[] files, boolean isClean)
          Constructor.
 
Method Summary
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTLCompileOperation

public MTLCompileOperation(org.eclipse.core.resources.IProject project,
                           org.eclipse.core.resources.IFile[] files,
                           boolean isClean)
                    throws org.eclipse.core.runtime.CoreException
Constructor.

Parameters:
project - is the project
files - are the templates to compile
isClean - indicates if the current purpose of the builder is to clean the project
Throws:
org.eclipse.core.runtime.CoreException - contains a status object describing the cause of the exception
Method Detail

run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws org.eclipse.core.runtime.CoreException

Specified by:
run in interface org.eclipse.core.resources.IWorkspaceRunnable
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IWorkspaceRunnable.run(org.eclipse.core.runtime.IProgressMonitor)

Copyright 2008 Obeo
All Rights Reserved.