removed unused dependencies, replaced deprecated code and declarations
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / SQLLogView.java
index dfd7465..a3df2af 100644 (file)
@@ -1,7 +1,7 @@
 package com.quantum.view;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.action.IToolBarManager;
@@ -43,7 +43,7 @@ public class SQLLogView extends ViewPart implements LogConstants {
                bars.setGlobalActionHandler(IWorkbenchActionConstants.SELECT_ALL, selectAllAction);
 
                IToolBarManager toolBar = getViewSite().getActionBars().getToolBarManager();
-               clearAction.setImageDescriptor(QuantumPlugin.getImageDescriptor("clear.gif")); //$NON-NLS-1$
+               clearAction.setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.CLEAR));
                clearAction.setToolTipText(Messages.getString("SQLLogView.ClearLog")); //$NON-NLS-1$
                toolBar.add(clearAction);