| Summary: | Jubula Juno Compatibility - all context menus are enabled | ||
|---|---|---|---|
| Product: | [Technology] Jubula | Reporter: | Markus Tiede <markus.tiede> |
| Component: | UI | Assignee: | Project Inbox <jubula.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Oliver Goetz <Oliver.Goetz> |
| Severity: | critical | ||
| Priority: | P3 | CC: | pwebster |
| Version: | unspecified | ||
| Target Milestone: | Juno M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 367094 | ||
| Bug Blocks: | |||
|
Description
Markus Tiede
At this point we make use of programmatic CommandContributionItem(). Could you link me to one of your Contribution factories? http://dev.eclipse.org/viewcvs/viewvc.cgi/ or http://git.eclipse.org/c/ if that's where it is available? PW I see you've blocked a 4.2 (Juno) bug, but this is targetted at Indigo? PW The target milestone has been corrected. We programmatically create CommandContributionItems in one of our helper classes: http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/utils/CommandHelper.java#n156 All of our programmatically created contributions are present in the UI but their UI enablement state is incorrect (all items are always enabled). (In reply to comment #4) > We programmatically create CommandContributionItems in one of our helper > classes: > Thank you Markus, that linked helped. It looks like your CCI creation is pretty standard. But since that bug referenced means no menu items should show up, I'm not sure how relevant it is. How are these being contributed? PW I filed a new bug 367094 for this enablement issue as it indeed has no direct relation to the unsupported contribution factories. A typical way of contributing these items can be found at http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/views/TestSuiteBrowser.java#n157 I tested this issue using Juno M5 Eclipse for Testers. Context menu entries now are only enabled if the corresponding action is possible to perform (e.g. create new TS in TSB is disabled if you haven“t started a project yet). This ticket is linked to https://bugs.eclipse.org/bugs/show_bug.cgi?id=367094 which is verified fixed. I verified the fix using Juno M5. Closing this ticket. |