Removed dead comments
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / PasteAction.java
index a7bf476..f43c1e4 100644 (file)
@@ -1,18 +1,17 @@
 package com.quantum.view.bookmark;
 
-import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
-import com.quantum.model.Bookmark;
-import com.quantum.model.BookmarkCollection;
-
 import org.eclipse.jface.viewers.ISelectionProvider;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.ui.IViewPart;
 import org.eclipse.ui.actions.SelectionListenerAction;
 
+import com.quantum.ImageStore;
+import com.quantum.Messages;
+import com.quantum.model.Bookmark;
+import com.quantum.model.BookmarkCollection;
+
 
 final class PasteAction extends SelectionListenerAction {
-    private IViewPart view;
     private BookmarkClipboard bookmarkClipboard;
     /**
      * @param BookmarkView
@@ -20,8 +19,7 @@ final class PasteAction extends SelectionListenerAction {
     public PasteAction(IViewPart view, BookmarkClipboard bookmarkClipboard, 
         ISelectionProvider selectionProvider) {
         super(Messages.getString(PasteAction.class.getName() + ".text"));
-        setImageDescriptor(QuantumPlugin.getImageDescriptor("paste.gif"));
-        this.view = view;
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.PASTE));
         selectionProvider.addSelectionChangedListener(this);
         this.bookmarkClipboard = bookmarkClipboard;
     }