newest quantum CVS sources
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / RefreshBookmarkAction.java
index c28df56..366644b 100644 (file)
@@ -4,8 +4,8 @@ import java.sql.SQLException;
 import java.util.Iterator;
 import java.util.List;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.NotConnectedException;
 import com.quantum.ui.dialog.ExceptionDisplayDialog;
 import com.quantum.view.bookmark.TreeNode;
@@ -19,9 +19,9 @@ import org.eclipse.ui.actions.SelectionListenerAction;
 public class RefreshBookmarkAction extends SelectionListenerAction {
     private IViewPart view;
        public RefreshBookmarkAction(IViewPart view) {
-        super(Messages.getString(RefreshBookmarkAction.class.getName() + ".text"));
+        super(Messages.getString(RefreshBookmarkAction.class, "text"));
                this.view = view;
-        setImageDescriptor(QuantumPlugin.getImageDescriptor("refresh.gif"));
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.REFRESH));
        }
 
        public void run() {