bug 1365831, error for creating new file with empty new PHP file template
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / PasteAction.java
index cf0f628..f43c1e4 100644 (file)
@@ -5,8 +5,8 @@ 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.QuantumPlugin;
 import com.quantum.model.Bookmark;
 import com.quantum.model.BookmarkCollection;
 
@@ -19,7 +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"));
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.PASTE));
         selectionProvider.addSelectionChangedListener(this);
         this.bookmarkClipboard = bookmarkClipboard;
     }