1) Fixed issue #779: PHPEclipse reports error with a correct try/catch block
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / CopyAction.java
index 4166947..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;
@@ -38,7 +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"));
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.COPY));
         this.bookmarkClipboard = bookmarkClipboard;
         selectionProvider.addSelectionChangedListener(this);
        }