Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311634 - [api] allow connectors to provide alternate IEditorInput
Summary: [api] allow connectors to provide alternate IEditorInput
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 3.4   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2010-05-04 17:14 EDT by Robert Elves CLA
Modified: 2010-05-11 21:23 EDT (History)
1 user (show)

See Also:


Attachments
v1 (3.87 KB, patch)
2010-05-04 18:16 EDT, Robert Elves CLA
no flags Details | Diff
mylyn/context/zip (1018 bytes, application/octet-stream)
2010-05-04 18:16 EDT, Robert Elves CLA
no flags Details
v2 (6.13 KB, patch)
2010-05-10 17:56 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (7.95 KB, application/octet-stream)
2010-05-10 17:56 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.