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:
parent
c5c4332df0
commit
f6bce6cadf
1 changed files with 12 additions and 2 deletions
|
@ -366,12 +366,22 @@ public class MBSWizardHandler extends CWizardHandler implements ICBuildWizardHan
|
||||||
Iterator it = full.iterator();
|
Iterator it = full.iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
String s = (String)it.next();
|
String s = (String)it.next();
|
||||||
// checks for TC compatibility are to be here
|
if (isToolChainAcceptable(s, entryDescriptor))
|
||||||
out.add(s);
|
out.add(s);
|
||||||
}
|
}
|
||||||
return out;
|
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.
|
* Clones itself.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue