|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.codegen.jet.JETCompileTemplateOperation
Field Summary | |
protected Collection |
containers
|
protected List |
files
|
protected boolean |
inBuild
|
protected static String |
JET_EXTENSION
|
protected IProject |
project
|
Constructor Summary | |
JETCompileTemplateOperation(IProject project,
Collection containers)
Creates an instance given the collection of resources. |
|
JETCompileTemplateOperation(IProject project,
Collection containers,
Collection resources)
Creates an instance given the collection of resources. |
Method Summary | |
protected void |
consider(IContainer container)
Considers all the files of a container and all it's subcontainer. |
protected void |
consider(IFile file)
Adds the file to files the file ends with the JET_EXTENSION extension. |
protected void |
consider(String uri)
Adds the URI. |
protected void |
consider(URI baseURI,
URI localURI,
File file)
|
protected IContainer |
getPackageContainer(IContainer root,
String packagename,
IProgressMonitor monitor)
|
boolean |
isInBuild()
|
void |
run(IProgressMonitor progressMonitor)
|
void |
setInBuild(boolean build)
|
boolean |
shouldCompile()
Returns true if there are files to compile. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String JET_EXTENSION
protected IProject project
protected Collection containers
protected List files
protected boolean inBuild
Constructor Detail |
public JETCompileTemplateOperation(IProject project, Collection containers) throws CoreException
public JETCompileTemplateOperation(IProject project, Collection containers, Collection resources) throws CoreException
Method Detail |
public boolean shouldCompile()
protected void consider(String uri)
protected void consider(URI baseURI, URI localURI, File file)
protected void consider(IFile file)
files
the file ends with the JET_EXTENSION
extension.
protected void consider(IContainer container) throws CoreException
CoreException
public void run(IProgressMonitor progressMonitor) throws CoreException
run
in interface IWorkspaceRunnable
CoreException
protected IContainer getPackageContainer(IContainer root, String packagename, IProgressMonitor monitor) throws CoreException
CoreException
public boolean isInBuild()
public void setInBuild(boolean build)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |