Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337908 - Support custom attribute editor parts
Summary: Support custom attribute editor parts
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.5   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 16:49 EST by Sam Davis CLA
Modified: 2011-02-28 21:44 EST (History)
1 user (show)

See Also:


Attachments
patch V1 (1.87 KB, patch)
2011-02-28 16:13 EST, Frank Becker CLA
no flags Details | Diff
mylyn/context/zip (2.28 KB, application/octet-stream)
2011-02-28 16:13 EST, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Davis CLA 2011-02-22 16:49:14 EST
I am using a custom attribute editor part but sometimes Mylyn tries to cast it to org.eclipse.mylyn.internal.tasks.ui.editors.TaskEditorAttributePart, which results in a ClassCastException.
Comment 1 Frank Becker CLA 2011-02-28 16:13:32 EST
Created attachment 189998 [details]
patch V1

committed patch.

Sam,

can you please verify!
Comment 2 Frank Becker CLA 2011-02-28 16:13:35 EST
Created attachment 189999 [details]
mylyn/context/zip
Comment 3 Sam Davis CLA 2011-02-28 16:47:02 EST
Thanks, that fixes the error I was getting.
Comment 4 Steffen Pingel CLA 2011-02-28 21:44:27 EST
I ended up resolving this by removing that entire chunk of code. The editor should always delegate to the sections otherwise this is not extensible.