mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Add methods to keep track of whether the path entry container is initialized
This commit is contained in:
parent
3823ff7743
commit
b9cfb72e32
1 changed files with 17 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue