Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mylyn/Porting Guide"
< Mylyn
(→Tasks Framework) |
(→Tasks Framework) |
||
Line 9: | Line 9: | ||
* <code>Task</code> | * <code>Task</code> | ||
** <code>getTooltipText()</code>: deleted, not used | ** <code>getTooltipText()</code>: deleted, not used | ||
+ | * <code>MylarStatus</code> (place holder, will improve as we solidify this) | ||
+ | ** <code>MylarStatusHandler.displayStatus(dialog title, IStatus status)</code> - call to display error and information dialogs | ||
+ | ** When returning <code>CoreException<code> pass in a <code>MylarStatus</code> with appropriate code (see <code>IMylarStatusConstants</code>). | ||
+ | ** If <code>IMylarStatusConstants.INTERNAL_ERROR</code> is set to <code>MylarStatusHandler.displayStatus</code> an error dialog will appear and the error will be logged. |
Revision as of 19:37, 24 January 2007
This document will have Mylar 2.0 specific API changes added to it as we make them. If interested in keeping up with these changes we suggest setting a watch for this page.
Porting from Mylar 1.0 to 2.0
Tasks Framework
-
ITaskListElement
: now extendsjava.lang.Comparable
, so Collections support of sorting can be used, since task list elements have a natural ordering. Default implementations are provided for tasks and containers. (bug 171590) -
TasksUiUtil
-
openUrl(String url)
: moved toopenBrowser(String url)
-
-
Task
-
getTooltipText()
: deleted, not used
-
-
MylarStatus
(place holder, will improve as we solidify this)-
MylarStatusHandler.displayStatus(dialog title, IStatus status)
- call to display error and information dialogs - When returning
CoreException<code> pass in a <code>MylarStatus
with appropriate code (seeIMylarStatusConstants
). - If
IMylarStatusConstants.INTERNAL_ERROR
is set toMylarStatusHandler.displayStatus
an error dialog will appear and the error will be logged.
-