1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

convertToId Tool-chains, Tools and builders are marked as "system"

This commit is contained in:
Mikhail Sennikovsky 2007-05-07 12:51:55 +00:00
parent a28df172a8
commit 2a45a83078
3 changed files with 11 additions and 0 deletions

View file

@ -2363,6 +2363,10 @@ public class Builder extends BuildObject implements IBuilder, IMatchKeyProvider
public boolean isSystemObject() {
if(isTest)
return true;
if(getConvertToId().length() != 0)
return true;
if(getParent() != null)
return getParent().isSystemObject();
return false;

View file

@ -3863,6 +3863,10 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
public boolean isSystemObject() {
if(isTest)
return true;
if(getConvertToId().length() != 0)
return true;
IBuildObject bo = getParent();
if(bo instanceof IToolChain)
return ((IToolChain)bo).isSystemObject();

View file

@ -2333,6 +2333,9 @@ public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropert
if(isTest)
return true;
if(getConvertToId().length() != 0)
return true;
if(getParent() != null)
return getParent().isSystemObject();