Bug 579207: Upgrade all manifest to OSGI style and 3.2
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / ConnectAction.java
index 05eeed9..ba99f42 100644 (file)
@@ -3,8 +3,8 @@ package com.quantum.actions;
 import java.sql.Connection;
 import java.util.Iterator;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.Bookmark;
 import com.quantum.util.connection.ConnectionUtil;
 import com.quantum.view.bookmark.BookmarkNode;
@@ -12,6 +12,7 @@ import com.quantum.view.bookmark.BookmarkNode;
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IActionDelegate;
 import org.eclipse.ui.IViewPart;
 import org.eclipse.ui.actions.SelectionListenerAction;
 
@@ -23,7 +24,7 @@ public class ConnectAction extends SelectionListenerAction {
         super(Messages.getString(ConnectAction.class.getName() + ".text"));
         this.view = view;
         setImageDescriptor(
-            QuantumPlugin.getImageDescriptor("connect.gif")); //$NON-NLS-1$
+            ImageStore.getImageDescriptor(ImageStore.CONNECT));
     }
 
     private IViewPart view;