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

Method addTc() made public to make testing easier.

This commit is contained in:
Oleg Krasilnikov 2007-02-22 13:21:19 +00:00
parent fe49cf75df
commit b632769b66
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ public class CWizardHandler implements ICWizardHandler {
}
}
protected void addTc(IToolChain tc) {
public void addTc(IToolChain tc) {
if (tc.isAbstract() || tc.isSystemObject()) return;
IConfiguration[] cfgs = null;
// New style managed project type. Configurations are referenced via propertyId.

View file

@ -32,7 +32,7 @@ public class StdProjectTypeHandler extends CWizardHandler {
super(_name, null, _image, p, null);
}
protected void addTc(IToolChain tc) {
public void addTc(IToolChain tc) {
if (tc == null) {
tcs.put(IDEWorkbenchMessages.getString("StdProjectTypeHandler.0"), null); //$NON-NLS-1$
} else {