org.eclipse.mtl.ide.ui.builders.runner
Class CreateRunnableMTLOperation

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

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

The operation that compiles the FileBlock elements of the module in a background task. It creates a java file and an ANT task for each template.


Constructor Summary
CreateRunnableMTLOperation(MTLProject mtlProject, java.util.List<org.eclipse.core.resources.IFile> files)
          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

CreateRunnableMTLOperation

public CreateRunnableMTLOperation(MTLProject mtlProject,
                                  java.util.List<org.eclipse.core.resources.IFile> files)
Constructor.

Parameters:
mtlProject - project which contains the templates
files - are the templates to be considered
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.