Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367372 - [api] provide list of required attributes for task initialization
Summary: [api] provide list of required attributes for task initialization
Status: CLOSED MOVED
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: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290606
  Show dependency tree
 
Reported: 2011-12-21 16:37 EST by Thomas Ehrnhoefer CLA
Modified: 2012-03-23 19:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Ehrnhoefer CLA 2011-12-21 16:37:00 EST
Some connectors require certain initialization data (e.g. a task type, a product) set before the task data (and thus the editor) is created.

Right now, Mylyn lets the NewTaskEditor of a connector handle setting that and making sure they are valid. I think this should be made more explicit, in order to make sure that when "initializeTaskData" is called, the right set of values are passed in using an ITaskMapping instance.

Not perfectly certain how to best implement this.

The use case is that for my application, before calling "initializeTaskData", I want to make sure that I have all the information the connector needs (e.g. a product), and if not, provide UI feedback, rather than relying on the error message of the connector giving me enough information so this can be displayed to the user.
Comment 1 Steffen Pingel CLA 2012-03-23 19:09:45 EDT
Agreed. This should be considered as part of an effort to provide an abstraction for repository configuration.
Comment 2 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn