mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
override the exists() methos for Binary/Archive.
This commit is contained in:
parent
7ba1b68964
commit
a5e59ef207
3 changed files with 16 additions and 1 deletions
|
@ -12,6 +12,9 @@
|
|||
* model/org/eclipse/cdt/internal/core/model/CModelManager.java
|
||||
* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
|
||||
|
||||
* model/org/eclipse/cdt/internal/core/model/Binary.java
|
||||
* model/org/eclipse/cdt/internal/core/model/Archive.java
|
||||
|
||||
2004-02-28 Alain Magloire
|
||||
Fix PE Parser
|
||||
|
||||
|
|
|
@ -81,4 +81,10 @@ public class Archive extends Openable implements IArchive {
|
|||
return binaryArchive;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.model.ICElement#exists()
|
||||
*/
|
||||
public boolean exists() {
|
||||
return getResource() != null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -182,7 +182,7 @@ public class Binary extends Openable implements IBinary {
|
|||
return true;
|
||||
}
|
||||
|
||||
public CElementInfo createElementInfo() {
|
||||
public CElementInfo createElementInfo() {
|
||||
return new BinaryInfo(this);
|
||||
}
|
||||
|
||||
|
@ -326,4 +326,10 @@ public class Binary extends Openable implements IBinary {
|
|||
return true;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.model.ICElement#exists()
|
||||
*/
|
||||
public boolean exists() {
|
||||
return getResource() != null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue