| Summary: | Add an ability to hide toolchains in the new project wizard | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Anna Dushistova <anna.dushistova> |
| Component: | cdt-build-managed | Assignee: | Project Inbox <cdt-build-managed-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cdtdoug, mark_bozeman, zulliger |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 234860 | ||
|
Description
Anna Dushistova
It is a fair request, I just want to note that you can fairly easily create your own wizard extending CDTCommonProjectWizard and override
@Override
public void addPages() {
final List<String> filter = types;
fMainPage = new CDTMainWizardPage(PAGE_NAME) {
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List filterItems(List items) {
List<EntryDescriptor> displayed = new ArrayList<EntryDescriptor>();
for (EntryDescriptor entryDescriptor : ((List<EntryDescriptor>)items)) {
if(filter.contains(entryDescriptor.getId()))
displayed.add(entryDescriptor);
}
return displayed;
}
};
fMainPage.setTitle(title);
fMainPage.setDescription(desc);
addPage(fMainPage);
}
I know, but then our users will end up with 2 wizards for a C/C++ project creation which caused a lot of frustration in the past and what I'd like to avoid. (In reply to comment #1) > It is a fair request, I just want to note that you can fairly easily create > your own wizard extending CDTCommonProjectWizard and override I'm planning on revamping the CDT new project wizard, probably over the few weeks. I'll put together a proposal. The idea is to add a level to select target platform, and then filter the toolchains based on that. Need to work through the details on how to do that though. Stay tuned. |