1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 242335 - Eclipse Ganymede hangs on startup - follow up

This commit is contained in:
Anton Leherbauer 2008-09-05 08:19:56 +00:00
parent 7046aff5b1
commit 21c07ecee5

View file

@ -187,6 +187,12 @@ public abstract class Openable extends Parent implements IOpenable, IBufferChang
return CModelManager.getDefault().getInfo(this) != null;
}
@Override
public boolean isStructureKnown() throws CModelException {
CElementInfo info = (CElementInfo) CModelManager.getDefault().getInfo(this);
return info != null && info.isStructureKnown();
}
/**
* Returns true if this represents a source element.
* Openable source elements have an associated buffer created