X-Git-Url: http://secure.phpeclipse.com

diff --git a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/actions/CustomCopyAction.java b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/actions/CustomCopyAction.java
index 3c0491b..071df6e 100644
--- a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/actions/CustomCopyAction.java
+++ b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/actions/CustomCopyAction.java
@@ -7,6 +7,7 @@ package com.quantum.actions;
 import java.sql.SQLException;
 import java.util.Iterator;
 
+import com.quantum.Messages;
 import com.quantum.QuantumPlugin;
 import com.quantum.model.Column;
 import com.quantum.model.EntityHolder;
@@ -19,22 +20,18 @@ import com.quantum.view.bookmark.ColumnNode;
 import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.swt.dnd.TextTransfer;
 import org.eclipse.swt.dnd.Transfer;
-import org.eclipse.ui.IViewPart;
 import org.eclipse.ui.actions.SelectionListenerAction;
 
 
 public class CustomCopyAction extends SelectionListenerAction {
 	private final int ind;
-	/**
-	 * @param BookmarkView
-	 */
-	public CustomCopyAction(IViewPart view, int ind) {
-        super(null);
+	public CustomCopyAction( int ind ) {
+        super(Messages.getString(CustomCopyAction.class.getName() + ".text"));
 		this.ind = ind;
 	}
 	public void run() {
 		String copyText = "";
-		Iterator iter = getSelectedNonResources().iterator();
+		Iterator iter =  getSelectedNonResources().iterator();
 		NthLevelConverter converter = new NthLevelConverter();
 		// Fill up the converter. We iterate the selection items
 		while (iter.hasNext()) {
@@ -74,4 +71,5 @@ public class CustomCopyAction extends SelectionListenerAction {
 			new Object[] { copyText },
 			new Transfer[] { TextTransfer.getInstance()});
 	}
+
 }