Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337908

Summary: Support custom attribute editor parts
Product: z_Archived Reporter: Sam Davis <sam.davis>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 3.5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch V1
none
mylyn/context/zip none

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.