Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / CopyAction.java
index ec24e79..d4d97ab 100644 (file)
@@ -11,6 +11,7 @@ import java.util.List;
 
 import javax.xml.parsers.ParserConfigurationException;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
 import com.quantum.QuantumPlugin;
 import com.quantum.model.Bookmark;
@@ -30,7 +31,6 @@ import org.w3c.dom.Element;
 
 
 final class CopyAction extends SelectionListenerAction {
-       private IViewPart view;
     private BookmarkClipboard bookmarkClipboard;
     
        /**
@@ -39,8 +39,7 @@ final class CopyAction extends SelectionListenerAction {
        public CopyAction(IViewPart view, BookmarkClipboard bookmarkClipboard, 
         ISelectionProvider selectionProvider) {
         super(Messages.getString(CopyAction.class.getName() + ".text"));
-        setImageDescriptor(QuantumPlugin.getImageDescriptor("copy.gif"));
-               this.view = view;
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.COPY));
         this.bookmarkClipboard = bookmarkClipboard;
         selectionProvider.addSelectionChangedListener(this);
        }