Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2002-08-09 14:46:12 +0000
committerDani Megert2002-08-09 14:46:12 +0000
commit3d91ba55ac544f35f30a8c09b88eba37763ed2b0 (patch)
treeddbadcecebc0fe00541f6345d6eeee5187625d05
parent482f1f31460017679706960854c6b91aab1a028a (diff)
downloadeclipse.platform.text-3d91ba55ac544f35f30a8c09b88eba37763ed2b0.tar.gz
eclipse.platform.text-3d91ba55ac544f35f30a8c09b88eba37763ed2b0.tar.xz
eclipse.platform.text-3d91ba55ac544f35f30a8c09b88eba37763ed2b0.zip
Use a less specific label provider
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/CopyToClipboardAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/CopyToClipboardAction.java b/org.eclipse.search/search/org/eclipse/search/internal/ui/CopyToClipboardAction.java
index c465428b5..6173f27d6 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/CopyToClipboardAction.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/CopyToClipboardAction.java
@@ -17,6 +17,7 @@ import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.util.Assert;
+import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
@@ -39,7 +40,7 @@ public class CopyToClipboardAction extends Action {
if (shell == null)
return;
- SearchResultLabelProvider labelProvider= (SearchResultLabelProvider)fViewer.getLabelProvider();
+ ILabelProvider labelProvider= (ILabelProvider)fViewer.getLabelProvider();
String lineDelim= System.getProperty("line.separator"); //$NON-NLS-1$
StringBuffer buf= new StringBuffer();
Iterator iter= getSelection();

Back to the top