aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-04-15 14:40:14 (EDT)
committerPaul Webster2014-04-15 15:50:40 (EDT)
commiteaa7476a939833a30faec48f3a262fe042dd47e8 (patch)
tree5884538b577a7a43acfa1670b5322264cc9bbf80
parente6037e42ee7d6a8477e41ec994f04b1755ff2c51 (diff)
downloadeclipse.platform.ui-eaa7476a939833a30faec48f3a262fe042dd47e8.zip
eclipse.platform.ui-eaa7476a939833a30faec48f3a262fe042dd47e8.tar.gz
eclipse.platform.ui-eaa7476a939833a30faec48f3a262fe042dd47e8.tar.bz2
Bug 430401 - [WorkbenchParts] [Compatibility] Part-specificrefs/changes/76/25076/2
ISelectionService.addSelectionListener(String, ISelectionListener) no longer provides documented behavior Change-Id: Ied2b9a3aa32ad085695341712710ef473d176d89 Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/SelectionService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/SelectionService.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/SelectionService.java
index 9ea0f4b..17c07f7 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/SelectionService.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/SelectionService.java
@@ -287,7 +287,7 @@ public class SelectionService implements ISelectionChangedListener, ISelectionSe
targetedPostSelectionListeners.put(partId, listeners);
}
if (listeners.size() == 0 && selectionService != null) {
- selectionService.addPostSelectionListener(partId, postListener);
+ selectionService.addPostSelectionListener(partId, targetedPostListener);
}
listeners.add(listener);
}
@@ -351,7 +351,7 @@ public class SelectionService implements ISelectionChangedListener, ISelectionSe
if (listeners != null) {
listeners.remove(listener);
if (listeners.size() == 0 && selectionService != null) {
- selectionService.removeSelectionListener(partId, this.listener);
+ selectionService.removeSelectionListener(partId, this.targetedListener);
}
}
}
@@ -381,7 +381,7 @@ public class SelectionService implements ISelectionChangedListener, ISelectionSe
if (listeners != null) {
listeners.remove(listener);
if (listeners.size() == 0 && selectionService != null) {
- selectionService.removePostSelectionListener(partId, postListener);
+ selectionService.removePostSelectionListener(partId, targetedPostListener);
}
}
}