Package com.iizigo.java
Class JavaProject
- java.lang.Object
- com.iizigo.java.JavaProject
- All Implemented Interfaces:
org.eclipse.core.resources.IResourceDeltaVisitor
public class JavaProject extends java.lang.Object implements org.eclipse.core.resources.IResourceDeltaVisitor
The Java project class. It handles Java file enumeration, visiting, and most of all the source folders with the IIZI metadata for parsing.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doValidateReferences(boolean doReCheck)
Validates the references for this project.protected void
finalize()
Finalized?JavaRootContainer
getJavaRootContainer()
Gets the property Java container root for Module projects.ModuleModel
getModuleModel()
Gets the Module model.org.eclipse.core.resources.IProject
getProject()
Gets the project.boolean
isParsingRequired()
Checks if this project is included in any of the Module projects, thus needs parsing.boolean
visit(org.eclipse.core.resources.IResourceDelta delta)
If one of the folders are found, let the main class handle the visiting.
Method Detail
getJavaRootContainer
public JavaRootContainer getJavaRootContainer()
Gets the property Java container root for Module projects.
doValidateReferences
public void doValidateReferences(boolean doReCheck)
Validates the references for this project.- Parameters:
doReCheck
- If a re-check of all references must be done.
getProject
public org.eclipse.core.resources.IProject getProject()
Gets the project.
getModuleModel
public ModuleModel getModuleModel()
Gets the Module model.- Returns:
- The Module model or null if not yet created or not a Module project.
finalize
protected void finalize() throws java.lang.Throwable
Finalized?- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
- For finalizer errors.
visit
public boolean visit(org.eclipse.core.resources.IResourceDelta delta) throws org.eclipse.core.runtime.CoreException
If one of the folders are found, let the main class handle the visiting.- Specified by:
visit
in interfaceorg.eclipse.core.resources.IResourceDeltaVisitor
- Throws:
org.eclipse.core.runtime.CoreException
isParsingRequired
public boolean isParsingRequired()
Checks if this project is included in any of the Module projects, thus needs parsing.