1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

BUg 160012: toolchain filter infrastructure

This commit is contained in:
Oleg Krasilnikov 2007-04-23 16:10:23 +00:00
parent c5c4332df0
commit f6bce6cadf

View file

@ -366,12 +366,22 @@ public class MBSWizardHandler extends CWizardHandler implements ICBuildWizardHan
Iterator it = full.iterator();
while (it.hasNext()) {
String s = (String)it.next();
// checks for TC compatibility are to be here
out.add(s);
if (isToolChainAcceptable(s, entryDescriptor))
out.add(s);
}
return out;
}
/**
* Checks whether given toolchain can be displayed
*
* @param tcId - toolchain to check
* @param ed - Entry descriptor (Who Am I)
* @return - true if toolchain can be displayed
*/
protected boolean isToolChainAcceptable(String tcId, EntryDescriptor ed) {
return true;
}
/**
* Clones itself.
*/