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.IResourceDeltaVisitorThe 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.- void- onSaveProject(java.io.File file)Saves the project metadata.- 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.ThrowableFinalized?- Overrides:
- finalizein class- java.lang.Object
- Throws:
- java.lang.Throwable- For finalizer errors.
 
 - visit- public boolean visit(org.eclipse.core.resources.IResourceDelta delta) throws org.eclipse.core.runtime.CoreExceptionIf one of the folders are found, let the main class handle the visiting.- Specified by:
- visitin interface- org.eclipse.core.resources.IResourceDeltaVisitor
- Throws:
- org.eclipse.core.runtime.CoreException
 
 - onSaveProject- public void onSaveProject(java.io.File file) throws org.eclipse.core.runtime.CoreExceptionSaves the project metadata.- Throws:
- org.eclipse.core.runtime.CoreException- For file I/O errors.
 
 - isParsingRequired- public boolean isParsingRequired() Checks if this project is included in any of the Module projects, thus needs parsing.