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:
parent
7046aff5b1
commit
21c07ecee5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue