Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-16 20:35:38 -0400
committermkersten2005-08-16 20:35:38 -0400
commit3d51b567908ae535886079e8d2376fbffba5203c (patch)
treec20ded8260feff98bf8c8b49ebc6f1b70f03bc00
parent20ae26d675c654090d6cf6b449150a869e9f2052 (diff)
downloadorg.eclipse.mylyn.tasks-3d51b567908ae535886079e8d2376fbffba5203c.tar.gz
org.eclipse.mylyn.tasks-3d51b567908ae535886079e8d2376fbffba5203c.tar.xz
org.eclipse.mylyn.tasks-3d51b567908ae535886079e8d2376fbffba5203c.zip
Updated deprecated method
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/plugin.xml4
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/RefreshBugzillaAction.java9
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/NewBugEditor.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskEditor.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/report/ui/PlanningGameEditorPart.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java2
8 files changed, 11 insertions, 14 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/plugin.xml b/org.eclipse.mylyn.bugzilla.ui/plugin.xml
index 54f6c75dc..0fbb4454a 100644
--- a/org.eclipse.mylyn.bugzilla.ui/plugin.xml
+++ b/org.eclipse.mylyn.bugzilla.ui/plugin.xml
@@ -186,9 +186,9 @@
enablesFor="*"
icon="icons/etool16/task-bug-refresh.gif"
id="org.eclipse.mylar.bugzilla.ui.popup.refresh"
- label="Synchronize Bugzilla"
+ label="Bugzilla Refresh"
menubarPath="mylar"
- tooltip="Synchronize Bugzilla">
+ tooltip="Bugzilla Refresh">
<enablement>
<or>
<objectClass name="org.eclipse.mylar.bugzilla.ui.tasklist.BugzillaTask"/>
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/RefreshBugzillaAction.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/RefreshBugzillaAction.java
index 66fe81275..886e6fdf4 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/RefreshBugzillaAction.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/RefreshBugzillaAction.java
@@ -38,7 +38,7 @@ import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.progress.IProgressService;
/**
- * @author Ken Sueda
+ * @author Ken Sueda and Mik Kersten
*/
public class RefreshBugzillaAction extends Action implements IViewActionDelegate{
@@ -47,19 +47,16 @@ public class RefreshBugzillaAction extends Action implements IViewActionDelegate
private BugzillaQueryCategory cat = null;
public RefreshBugzillaAction() {
- setText("Synchronize Bugzilla");
+ setText("Refresh Refresh");
setToolTipText("Synchronize Bugzilla");
setId(ID);
setImageDescriptor(BugzillaImages.TASK_BUG_REFRESH);
}
public RefreshBugzillaAction(BugzillaQueryCategory cat) {
+ this();
assert(cat != null);
this.cat = cat;
- setText("Synchronize Bugzilla");
- setToolTipText("Synchronize Bugzilla");
- setId(ID);
- setImageDescriptor(BugzillaImages.TASK_BUG_REFRESH);
}
@Override
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
index 8ae666adb..231a4672a 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
@@ -131,7 +131,7 @@ public class ExistingBugEditor extends AbstractBugEditor
throw new PartInitException("Invalid Input: Must be ExistingBugEditorInput");
ExistingBugEditorInput ei = (ExistingBugEditorInput) input;
setSite(site);
- setInput(input);
+ setInputWithNotify(input);
bugzillaInput = ei;
model = BugzillaOutlineNode.parseBugReport(bugzillaInput.getBug());
bug = ei.getBug();
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/NewBugEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/NewBugEditor.java
index 26f587210..d5369e290 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/NewBugEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/NewBugEditor.java
@@ -317,7 +317,7 @@ public class NewBugEditor extends AbstractBugEditor {
throw new PartInitException("Invalid Input: Must be NewBugEditorInput");
NewBugEditorInput ei = (NewBugEditorInput) input;
setSite(site);
- setInput(input);
+ setInputWithNotify(input);
bugzillaInput = ei;
model = BugzillaOutlineNode.parseBugReport(bugzillaInput.getBug());
bug = ei.getBug();
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskEditor.java
index 8760290c6..b7524063d 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskEditor.java
@@ -156,7 +156,7 @@ public class BugzillaTaskEditor extends TaskEditor {
offlineBug = bugzillaEditorInput.getOfflineBug();
super.setSite(site);
- super.setInput(editorInput);
+ super.setInputWithNotify(editorInput);
try {
bugzillaEditor.init(this.getEditorSite(), this.getEditorInput());
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/report/ui/PlanningGameEditorPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/report/ui/PlanningGameEditorPart.java
index 1f436c172..786964a24 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/report/ui/PlanningGameEditorPart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/report/ui/PlanningGameEditorPart.java
@@ -56,7 +56,7 @@ public class PlanningGameEditorPart extends EditorPart {
public void init(IEditorSite site, IEditorInput input)
throws PartInitException {
setSite(site);
- setInput(input);
+ setInputWithNotify(input);
editorInput = (PlanningGameEditorInput)input;
setPartName(editorInput.getName());
setTitleToolTip(editorInput.getToolTipText());
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
index d8fbd2e90..a6ac4d873 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
@@ -86,7 +86,7 @@ public class TaskEditor extends MultiPageEditorPart {
IEditorPart editor = getEditor(0);
editor.doSaveAs();
setPageText(0, editor.getTitle());
- setInput(editor.getEditorInput());
+ setInputWithNotify(editor.getEditorInput());
}
@Override
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java
index fb7013901..f81a5e9e2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java
@@ -242,7 +242,7 @@ public class TaskSummaryEditor extends EditorPart {
throw new PartInitException("Invalid Input: Must be TaskEditorInput");
}
setSite(site);
- setInput(input);
+ setInputWithNotify(input);
editorInput = (TaskEditorInput)input;
setPartName(editorInput.getLabel());
}

Back to the top