| Summary: | make the bugzilla keywords attribute editor usable by other connectors | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shawn Minto <shawn.minto> | ||||||||||||
| Component: | Mylyn | Assignee: | Shawn Minto <shawn.minto> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | enhancement | ||||||||||||||
| Priority: | P3 | CC: | steffen.pingel | ||||||||||||
| Version: | unspecified | ||||||||||||||
| Target Milestone: | 3.3 | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Windows Vista | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Bug Depends on: | 287832 | ||||||||||||||
| Bug Blocks: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Shawn Minto
Created attachment 138459 [details]
patch
Here is a patch that we could start with to make this generic
I have added a CheckBoxTreeDialog to the provisional commons for use by clients. Also, I added a CheckBoxMultiSelectAttribiteEditor that encapsulates the use of this dialog and a text field. The BugzillaKeywordAttributeEditor now extends the CheckBoxMultiSelectAttribiteEditor. The KeywordsDialog in Bugzilla is still used in the search page and I have created bug 287899 to use the common dialog instead. Created attachment 145867 [details]
mylyn/context/zip
Created attachment 145869 [details]
updated patch
commited. Created attachment 146268 [details]
Here's a version with better layout
Seems long text is cut off in this Attribute Editor. Added code to layout again whole section (and the Attribute Editor) - this makes it resize nicely.
Pawel, can you create a new bug for the wrapping issue and attach the patch and context for the patch there? Notes from today's call: * Replace Edit button by icon since the "Edit" label could get long in other languages. * Remove trailing colon in dialog title. Shawn, I have addressed the two points above. I'll reopen so you can turn the dialog into a popup-style shell. Should we have a new bug for that since it is related to other similar dialogs (i.e. date picker)? Yes, makes sense, this is also related to bug 286286. I just noticed that the CheckboxMultiSelectAttributeEditor editor does not respect the read-only flag. Shawn, can you add that and just render it as a comma separated list in a text field without a border (see SingleSelectionAttributeEditor). Looks like MultiSelectAttributeEditor has the same limitation and should be fixed as well. Good find. I have made these editors have a readonly mode now like the SingleSelectionAttributeEditor does. Created attachment 149063 [details]
mylyn/context/zip
|