| Summary: | Details and Mark as menu on attachment shows on all connectors | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shawn Minto <shawn.minto> | ||||||||||||||||
| Component: | Mylyn | Assignee: | Frank Becker <eclipse> | ||||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||||
| Severity: | major | ||||||||||||||||||
| Priority: | P2 | CC: | robert.elves, steffen.pingel | ||||||||||||||||
| Version: | unspecified | ||||||||||||||||||
| Target Milestone: | 3.4.1 | ||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||
| OS: | Windows 7 | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Shawn Minto
Rob, Frank, this is a usability problem that needs to be addressed for 3.4.1. Frank, I'll tentatively assign this to you. Please feel free to assign it to Rob if you don't get to it. Created attachment 173934 [details]
commited patch
Steffen,
can you do the backport?
Created attachment 173935 [details]
mylyn/context/zip
I would prefer if we could use a menu contribution that was only enabled for Bugzilla attachments instead of extending an internal part. This should work through using a property tester. I'll try to post an example next week. (In reply to comment #5) > I would prefer if we could use a menu contribution that was only enabled for > Bugzilla attachments instead of extending an internal part. This should work > through using a property tester. I'll try to post an example next week. Steffen, I try to use AbstractSourceProvider and hope that I can do this today. Created attachment 173975 [details]
commited patch
We now use an IActionFilter for TaskAttachment with the following defined names.
* ConnectorKind
* ContentType
* isDeprecated
* isPatch
Do you think that we still need others?
Created attachment 173976 [details]
mylyn/context/zip
Thanks! That patch looks good. I'll look into back-porting the changes. I don't think we need anymore than these properties. Created attachment 174207 [details]
backported patch
Created attachment 174208 [details]
mylyn/context/zip
Created attachment 174209 [details]
additional changes for head
Thanks Frank! Should be all backported now. fixed a typo
<objectState name="ConnectorKind" value="bugzilla"></objectState>
changed to
<objectState name="connectorKind" value="bugzilla"></objectState>
Thanks for catching that! |