List of usage examples for org.eclipse.jdt.internal.core.util Messages build_readStateProgress
String build_readStateProgress
To view the source code for org.eclipse.jdt.internal.core.util Messages build_readStateProgress.
Click Source Link
From source file:org.eclipse.jdt.internal.core.JavaModelManager.java
License:Open Source License
/** * Returns the last built state for the given project, or null if there is none. * Deserializes the state if necessary./*from w ww. j a v a 2s.c o m*/ * * For use by image builder and evaluation support only */ public Object getLastBuiltState(IProject project, IProgressMonitor monitor) { if (!JavaProject.hasJavaNature(project)) { if (JavaBuilder.DEBUG) System.out.println(project + " is not a Java project"); //$NON-NLS-1$ return null; // should never be requested on non-Java projects } PerProjectInfo info = getPerProjectInfo(project, true/*create if missing*/); if (!info.triedRead) { info.triedRead = true; try { if (monitor != null) monitor.subTask(Messages.bind(Messages.build_readStateProgress, project.getName())); info.savedState = readState(project); } catch (CoreException e) { e.printStackTrace(); } } return info.savedState; }