|
|||||||||||
| 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 org.eclipse.core.resources.IProject |
project
|
| Constructor Summary | |
JETCompileTemplateOperation(org.eclipse.core.resources.IProject project,
Collection containers)
Creates an instance given the collection of resources. |
|
JETCompileTemplateOperation(org.eclipse.core.resources.IProject project,
Collection containers,
Collection resources)
Creates an instance given the collection of resources. |
|
| Method Summary | |
protected void |
consider(org.eclipse.core.resources.IContainer container)
Considers all the files of a container and all it's subcontainer. |
protected void |
consider(org.eclipse.core.resources.IFile file)
Adds the file to files the file ends with the JET_EXTENSION extension. |
protected org.eclipse.core.resources.IContainer |
getPackageContainer(org.eclipse.core.resources.IContainer root,
String packagename,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
boolean |
isInBuild()
|
void |
run(org.eclipse.core.runtime.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 org.eclipse.core.resources.IProject project
protected Collection containers
protected List files
protected boolean inBuild
| Constructor Detail |
public JETCompileTemplateOperation(org.eclipse.core.resources.IProject project,
Collection containers)
throws org.eclipse.core.runtime.CoreException
public JETCompileTemplateOperation(org.eclipse.core.resources.IProject project,
Collection containers,
Collection resources)
throws org.eclipse.core.runtime.CoreException
| Method Detail |
public boolean shouldCompile()
protected void consider(org.eclipse.core.resources.IFile file)
files the file ends with the JET_EXTENSION extension.
protected void consider(org.eclipse.core.resources.IContainer container)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws org.eclipse.core.runtime.CoreException
run in interface org.eclipse.core.resources.IWorkspaceRunnableorg.eclipse.core.runtime.CoreException
protected org.eclipse.core.resources.IContainer getPackageContainer(org.eclipse.core.resources.IContainer root,
String packagename,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic boolean isInBuild()
public void setInBuild(boolean build)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||