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

Bug 311634

Summary: [api] allow connectors to provide alternate IEditorInput
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: steffen.pingel
Version: unspecifiedKeywords: noteworthy
Target Milestone: 3.4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
v1
none
mylyn/context/zip
none
v2
none
mylyn/context/zip none

Description Robert Elves CLA 2010-05-04 17:14:20 EDT
Connectors can supply an alternate editor id and it would be convenient to also allow connectors to provide an alternate editor input.
Comment 1 Robert Elves CLA 2010-05-04 18:16:49 EDT
Created attachment 167058 [details]
v1

Standard TaskEditorInput used unless conenctorUi provides an alternate. Steffen, if you could review that would be great.
Comment 2 Robert Elves CLA 2010-05-04 18:16:50 EDT
Created attachment 167059 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-05-05 04:54:45 EDT
What is the driver for providing an alternative editor input?
Comment 4 Robert Elves CLA 2010-05-06 12:59:51 EDT
I have a connector that needs to open a completely different editor given a task. It requires a different editor input.
Comment 5 Steffen Pingel CLA 2010-05-10 17:56:54 EDT
Created attachment 167832 [details]
v2
Comment 6 Steffen Pingel CLA 2010-05-10 17:56:58 EDT
Created attachment 167833 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2010-05-10 17:57:55 EDT
+1 please provide API documentation for the new API method in AbstractRepositoryConnectorUi.
Comment 8 Robert Elves CLA 2010-05-11 21:23:10 EDT
Done. Thanks for the review Steffen.