Bug 293164 - Allow the subclassing of the TaskEditorAttachmentPart
Summary: Allow the subclassing of the TaskEditorAttachmentPart
Status: RESOLVED DUPLICATE of bug 220314
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 08:50 EDT by Thomas SZADEL CLA
Modified: 2009-10-23 18:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas SZADEL CLA 2009-10-23 08:50:00 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Build Identifier: 

When you click on an attachment, you simply call TasksUiUtil.openUrl(attachment.getUrl());
But, it might be possible that the attachment cannot be directly loaded with a URL (eg: lazy loading - the attachment is in a database).

As all the methods/fields are private, you have to rewrite all the class if you want to change that feature only :(

Suggestion: extract the code done in the IOpenListener in a protected method of the class.

Reproducible: Always
Comment 1 Steffen Pingel CLA 2009-10-23 18:22:59 EDT
Please take a look at bug 220314 and verify if that satisfies your requirements and comment there if you need additional changes.

*** This bug has been marked as a duplicate of bug 220314 ***