| Summary: | WizardHandlers could update the contribution's UI properties | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Prakash Rangaraj <prakash> | ||||||||
| Component: | UI | Assignee: | Prakash Rangaraj <prakash> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | pwebster, remy.suen | ||||||||
| Version: | 3.7 | ||||||||||
| Target Milestone: | 3.7 M3 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Prakash Rangaraj
Paul,
Is there any reason why we are not doing this?
Created attachment 180794 [details]
Patch v01
Created attachment 180795 [details]
Current Contribution items
Created attachment 180796 [details]
With Patch applied
It looks like a good use of the IElementUpdater to me. It's probably something we haven't got to yet. Is this not something we could do when creating the CommandContributionItems? PW (In reply to comment #5) > Is this not something we could do when creating the CommandContributionItems? I don't think so. CCIs are created in the ContributionFactories. They shouldn't be knowing anything about the workbench wizards. Patch v01 released to HEAD (In reply to comment #6) > > I don't think so. CCIs are created in the ContributionFactories. They > shouldn't be knowing anything about the workbench wizards. You mean org.eclipse.ui.actions.ContributionItemFactory.NEW_WIZARD_SHORTLIST and org.eclipse.ui.actions.BaseNewWizardMenu ... it doesn't look like BaseNewWizardMenu was converted to commands yet. In general I think it was a good idea, since this will help a newWizard command + wizardId contributed through org.eclipse.ui.menus. PW (In reply to comment #8) > (In reply to comment #6) > > > > I don't think so. CCIs are created in the ContributionFactories. They > > shouldn't be knowing anything about the workbench wizards. > > You mean org.eclipse.ui.actions.ContributionItemFactory.NEW_WIZARD_SHORTLIST > and org.eclipse.ui.actions.BaseNewWizardMenu ... it doesn't look like > BaseNewWizardMenu was converted to commands yet. I was referring to MenuAdditionCacheEntry, where the CCIs are created. I didn't knew a ContributionItemFactory for wizards exist! Will look into it now. Verified in I20101025-1800 |