Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-05-08 01:45:47 -0400
committerspingel2008-05-08 01:45:47 -0400
commitc72c835b1aa355c0b1fe2127c3eb2df3f1e7c1c3 (patch)
treee660876e220ab837cba2647a33cb8c5ed9dacee0 /org.eclipse.mylyn.help.ui
parentfb5855a3b1c36d6b59e19a3505ebfec1ee3e1b18 (diff)
downloadorg.eclipse.mylyn.tasks-c72c835b1aa355c0b1fe2127c3eb2df3f1e7c1c3.tar.gz
org.eclipse.mylyn.tasks-c72c835b1aa355c0b1fe2127c3eb2df3f1e7c1c3.tar.xz
org.eclipse.mylyn.tasks-c72c835b1aa355c0b1fe2127c3eb2df3f1e7c1c3.zip
NEW - bug 229487: [api] manage task list structure internally
https://bugs.eclipse.org/bugs/show_bug.cgi?id=229487
Diffstat (limited to 'org.eclipse.mylyn.help.ui')
-rw-r--r--org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
index 74c52ef08..d083ecb61 100644
--- a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
+++ b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
@@ -17,12 +17,12 @@ import org.eclipse.jface.preference.PreferenceDialog;
import org.eclipse.mylyn.internal.provisional.commons.ui.CommonFonts;
import org.eclipse.mylyn.internal.provisional.commons.ui.CommonImages;
import org.eclipse.mylyn.internal.provisional.commons.ui.CommonThemes;
-import org.eclipse.mylyn.internal.tasks.core.AbstractTaskContainer;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiImages;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskElementLabelProvider;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListView;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
+import org.eclipse.mylyn.tasks.core.ITask;
import org.eclipse.mylyn.tasks.core.ITaskElement;
import org.eclipse.mylyn.tasks.core.ITask.PriorityLevel;
import org.eclipse.mylyn.tasks.ui.AbstractRepositoryConnectorUi;
@@ -401,8 +401,7 @@ public class UiLegendDialog extends PopupDialog {
for (AbstractRepositoryConnector connector : connectors) {
AbstractRepositoryConnectorUi connectorUi = TasksUiPlugin.getConnectorUi(connector.getConnectorKind());
if (connectorUi != null) {
- List<AbstractTaskContainer> elements = connectorUi.getLegendItems();
-
+ List<ITask> elements = connectorUi.getLegendItems();
if (!elements.isEmpty()) {
Section connectorSection = toolkit.createSection(composite, ExpandableComposite.TITLE_BAR);
connectorSection.setLayout(new TableWrapLayout());

Back to the top