| Summary: | [activity] open selected record in associated view | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Timur Achmetow <achmetow84> |
| Component: | Mylyn | Assignee: | Timur Achmetow <achmetow84> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 376233 | ||
|
Description
Timur Achmetow
This should be simple to do for the related tasks. Tim, do you want to take a look how this could be implemented? (In reply to comment #1) > This should be simple to do for the related tasks. Tim, do you want to take a > look how this could be implemented? Yes of course, can you give me a code snippet or a class, where's this functionality is already implemented. Opening tasks is very simply through TasksUiUtil.openTask(). The viewer would somehow need to delegate to a UI implementation of the provider though to do that. (In reply to comment #3) > Opening tasks is very simply through TasksUiUtil.openTask(). I have it tested with this: ActivityEvent activityevent = (ActivityEvent) selection; TasksUiUtil.openTask(activityevent.getHandle()); But it opens the task in the integrated browser not with the Editor. That method interprets the parameter as a URL. You would probably need to lookup the ITask in the task list first. (In reply to comment #5) > That method interprets the parameter as a URL. You would probably need to lookup > the ITask in the task list first. Okay, I will test it with an ITask object. Okay it works fine --> see review: https://git.eclipse.org/r/#/c/8008/ 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 |