Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-10-12 20:58:06 -0400
committerspingel2009-10-12 20:58:06 -0400
commitffdec973eff28ccef2a2d6b20f21262fe84e1ce6 (patch)
treef326177269b7377414499abc4bc4dbc56b371007 /org.eclipse.mylyn.tasks.ui
parent61d31b0b52b39a5de067b0ec6a855207aa17e5fc (diff)
downloadorg.eclipse.mylyn.tasks-ffdec973eff28ccef2a2d6b20f21262fe84e1ce6.tar.gz
org.eclipse.mylyn.tasks-ffdec973eff28ccef2a2d6b20f21262fe84e1ce6.tar.xz
org.eclipse.mylyn.tasks-ffdec973eff28ccef2a2d6b20f21262fe84e1ce6.zip
NEW - bug 280161: cleanup fixme and todo comments for 3.3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280161
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/.settings/.api_filters6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/BrowserPreviewViewer.java4
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/Messages.java12
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPlanningPart.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/messages.properties8
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties1
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AttachmentPreviewPage.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java2
11 files changed, 9 insertions, 34 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/.settings/.api_filters b/org.eclipse.mylyn.tasks.ui/.settings/.api_filters
index 932dc94e0..8790322d1 100644
--- a/org.eclipse.mylyn.tasks.ui/.settings/.api_filters
+++ b/org.eclipse.mylyn.tasks.ui/.settings/.api_filters
@@ -7,12 +7,6 @@
<message_argument value="TaskJob"/>
</message_arguments>
</filter>
- <filter id="571519004">
- <message_arguments>
- <message_argument value="org.eclipse.mylyn.internal.tasks.ui.TaskJobFactory.createUpdateRepositoryConfigurationJob(AbstractRepositoryConnector, TaskRepository)"/>
- <message_argument value="TaskJob"/>
- </message_arguments>
- </filter>
</resource>
<resource path="src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java" type="org.eclipse.mylyn.internal.tasks.ui.dialogs.AbstractWorkingSetDialogCOPY">
<filter id="574619656">
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
index 7963e5503..5f32d60d6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
@@ -176,7 +176,7 @@ public class PersonProposalProvider implements IContentProposalProvider {
addAddress(task.getOwner(), addressSet);
}
- // TODO 3.3 re-implement
+ // TODO 3.4 re-implement
private void addAddresses(TaskData data, Set<String> addressSet) {
// addressSet.add(data.getAssignedTo()); // owner
// addAddress(data.getReporter(), addressSet); // ??
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/BrowserPreviewViewer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/BrowserPreviewViewer.java
index d73087593..6cd3e29c4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/BrowserPreviewViewer.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/BrowserPreviewViewer.java
@@ -138,7 +138,7 @@ public class BrowserPreviewViewer {
browser.getDisplay().asyncExec(new Runnable() {
public void run() {
setText(browser, job.getHtmlText());
- // TODO 3.3 error handling
+ // TODO 3.4 error handling
//getAttributeEditorManager().setMessage(null, IMessageProvider.NONE);
}
});
@@ -146,7 +146,7 @@ public class BrowserPreviewViewer {
browser.getDisplay().asyncExec(new Runnable() {
public void run() {
TasksUiInternal.displayStatus(Messages.BrowserPreviewViewer_Error, job.getStatus());
- // TODO 3.3 error handling
+ // TODO 3.4 error handling
//getAttributeEditorManager().setMessage(job.getStatus().getMessage(), IMessageProvider.ERROR);
}
});
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/Messages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/Messages.java
index 2984d9a96..2b35cef62 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/Messages.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/Messages.java
@@ -53,8 +53,6 @@ public class Messages extends NLS {
public static String BrowserPreviewViewer_The_repository_does_not_support_HTML_preview;
- public static String CheckboxMultiSelectAttributeEditor_Edit;
-
public static String CheckboxMultiSelectAttributeEditor_Select_X;
public static String CommentGroupStrategy_Current;
@@ -71,8 +69,6 @@ public class Messages extends NLS {
public static String PlanningPageFactory_Private;
- public static String PlanningPart_Estimated_Time_Hours;
-
public static String PlanningPart_Personal_Notes;
public static String RichTextAttributeEditor_Viewer_Source;
@@ -153,7 +149,7 @@ public class Messages extends NLS {
public static String TaskEditorPlanningPart_Active;
- public static String TaskEditorPlanningPart_Clear;
+ public static String TaskEditorPlanningPart_Add_Private_Notes_Tooltip;
public static String TaskEditorPlanningPart_Confirm_Activity_Time_Deletion;
@@ -163,24 +159,18 @@ public class Messages extends NLS {
public static String TaskEditorPlanningPart_Estimated;
- public static String TaskEditorPlanningPart_Reset;
-
public static String TaskEditorPlanningPart_Scheduled;
public static String TaskEditorPlanningPart_TaskEditorPlanningPart_tooltip;
public static String TaskEditorPlanningPart_Time_working_on_this_task;
- public static String TaskEditorPlanningPart_No_scheduled_date;
-
public static String TaskEditorRichTextPart_Browser_Preview;
public static String TaskEditorRichTextPart_Edit_Tooltip;
public static String TaskEditorRichTextPart_Maximize;
- public static String TaskEditorRichTextPart_Preview;
-
public static String TaskEditorSummaryPart_Summary;
public static String TaskPlanningEditor_Attributes;
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPlanningPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPlanningPart.java
index cdf6df9f6..b85c322f5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPlanningPart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPlanningPart.java
@@ -31,7 +31,7 @@ public class TaskEditorPlanningPart extends AbstractTaskEditorPart {
private class NotesAction extends Action {
public NotesAction() {
setImageDescriptor(CommonImages.NOTES_SMALL);
- setToolTipText("Add Private Notes");
+ setToolTipText(Messages.TaskEditorPlanningPart_Add_Private_Notes_Tooltip);
}
@Override
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/messages.properties b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/messages.properties
index 657ba2855..99eef75c4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/messages.properties
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/messages.properties
@@ -25,8 +25,6 @@ BrowserPreviewViewer_Formatting_Wiki_Text=Formatting Wiki Text
BrowserPreviewViewer_Loading_preview_=Loading preview...
BrowserPreviewViewer_The_repository_does_not_support_HTML_preview=The repository does not support HTML preview.
-CheckboxMultiSelectAttributeEditor_Edit=Edit
-CheckboxMultiSelectAttributeEditor_Edit=Edit
CheckboxMultiSelectAttributeEditor_Select_X=Select {0}
CommentGroupStrategy_Current=Current
@@ -38,7 +36,6 @@ DateAttributeEditor_Clear=Clear
PersonalPart_Personal_Planning=Private
PersonAttributeEditor_Insert_My_User_Id_Tooltip=Insert My User ID
PlanningPageFactory_Private=Private
-PlanningPart_Estimated_Time_Hours=Estimated time in hours
PlanningPart_Personal_Notes=Notes
RichTextAttributeEditor_Viewer_Source=View Unformatted Text
@@ -88,21 +85,18 @@ TaskEditorPeoplePart_People=People
TaskEditorPlanningPart_0_SECOUNDS=0 seconds
TaskEditorPlanningPart_Active=Active:
-TaskEditorPlanningPart_Clear=Clear
+TaskEditorPlanningPart_Add_Private_Notes_Tooltip=Add Private Notes
TaskEditorPlanningPart_Confirm_Activity_Time_Deletion=Confirm Activity Time Deletion
TaskEditorPlanningPart_Do_you_wish_to_reset_your_activity_time_on_this_task_=Do you wish to reset your activity time on this task?\n\nThis will take immediate affect and can not be undone.
TaskEditorPlanningPart_Due=Due:
TaskEditorPlanningPart_Estimated=Estimate:
-TaskEditorPlanningPart_Reset=Reset
TaskEditorPlanningPart_Scheduled=Scheduled:
TaskEditorPlanningPart_TaskEditorPlanningPart_tooltip=Contents are stored locally, not\n submitted to the repository.
TaskEditorPlanningPart_Time_working_on_this_task=Time working on this task
-TaskEditorPlanningPart_No_scheduled_date=Not Scheduled
TaskEditorRichTextPart_Browser_Preview=Browser Preview
TaskEditorRichTextPart_Edit_Tooltip=Edit
TaskEditorRichTextPart_Maximize=Maximize
-TaskEditorRichTextPart_Preview=Preview
TaskEditorSummaryPart_Summary=Summary
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
index d90b5f4b8..b44f96ffe 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
@@ -77,8 +77,6 @@ public class Messages extends NLS {
public static String TaskListToolTip_Due;
- public static String TaskListToolTip_Elapsed;
-
public static String TaskListToolTip_Estimate;
public static String TaskListToolTip_Please_synchronize_manually_for_full_error_message;
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
index 351ed9660..c9526addb 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
@@ -39,7 +39,6 @@ TaskListToolTip_Active_X=Active: {0}
TaskListToolTip_Automatic_container_for_all_local_tasks=Automatic container for all local tasks\nwith no category set
TaskListToolTip_Automatic_container_for_repository_tasks=Automatic container for repository tasks\nnot matched by any query
TaskListToolTip_Due=Due: {0}, {1} ({2})
-TaskListToolTip_Elapsed=Elapsed: {0}
TaskListToolTip_Estimate=Estimate: {0} hours
TaskListToolTip_Please_synchronize_manually_for_full_error_message=\ Please synchronize manually for full error message.
TaskListToolTip_Scheduled=Scheduled: {0}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AttachmentPreviewPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AttachmentPreviewPage.java
index b0dd7d582..13e2a276a 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AttachmentPreviewPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AttachmentPreviewPage.java
@@ -183,7 +183,7 @@ public class AttachmentPreviewPage extends WizardPage {
private void createGenericPreview(Composite composite) {
Label label = new Label(composite, SWT.NONE);
label.setLayoutData(new GridData(GridData.FILL_BOTH));
- // TODO 3.3 put filename on model
+ // TODO 3.4 put filename on model
String name = model.getSource().getName();
TaskAttachmentMapper taskAttachment = TaskAttachmentMapper.createFrom(model.getAttribute());
if (taskAttachment.getFileName() != null) {
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
index d54a8b1d2..6c813b7b3 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
@@ -1020,7 +1020,7 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
updateOutlinePage();
return outlinePage;
}
- // TODO 3.3 replace by getTextSupport() method
+ // TODO 3.4 replace by getTextSupport() method
if (adapter == CommonTextSupport.class) {
return textSupport;
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index 0887bf53b..beb1131f0 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -668,7 +668,7 @@ public class TaskEditor extends SharedHeaderFormEditor {
if (page instanceof AbstractTaskEditorPage) {
((AbstractTaskEditorPage) page).refreshFormContent();
} else if (page instanceof BrowserFormPage) {
- // XXX 3.3 replace by invocation of refreshFromContent();
+ // XXX 3.4 replace by invocation of refreshFromContent();
((BrowserFormPage) page).init(getEditorSite(), getEditorInput());
}
}

Back to the top