From b9cfb72e321e8f89966fcaf2356e0c44125f5587 Mon Sep 17 00:00:00 2001 From: Leo Treggiari Date: Fri, 28 Jan 2005 03:36:33 +0000 Subject: [PATCH] Add methods to keep track of whether the path entry container is initialized --- .../internal/core/ManagedBuildInfo.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java index 8971bcd9e80..bc3f4046fb3 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2002,2004 IBM Software Corporation and others. + * Copyright (c) 2002,2005 IBM Software Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this distribution, and is available at @@ -82,6 +82,7 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo { private Map targetMap; private boolean isReadOnly = false; + private boolean bIsContainerInited = false; /** @@ -738,6 +739,14 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo { return false; } + /** + * + * @return boolean + */ + public boolean isContainerInited() { + return bIsContainerInited; + } + /* (non-Javadoc) * @see org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo#needsRebuild() */ @@ -887,6 +896,13 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo { //setDirty(true); - It is primarily up to the ManagedProject to maintain the dirty state } } + + /** + * @param boolean + */ + public void setContainerInited(boolean bInited) { + bIsContainerInited = bInited; + } /* (non-Javadoc) * @see java.lang.Object#toString()