misc
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / ExportQueryAction.java
index 081897e..cef3fe7 100644 (file)
@@ -7,6 +7,7 @@ import java.io.PrintWriter;
 import java.util.StringTokenizer;
 
 import com.quantum.Messages;
+import com.quantum.QuantumPlugin;
 import com.quantum.util.StringUtil;
 import com.quantum.view.LogProxy;
 import com.quantum.view.SQLLogView;
@@ -22,6 +23,12 @@ import org.eclipse.ui.IViewPart;
 public class ExportQueryAction extends Action implements IViewActionDelegate  {
        SQLQueryView view;
        
+       public ExportQueryAction() {
+               setImageDescriptor(QuantumPlugin.getImageDescriptor("export.gif"));
+               setText(Messages.getString("sqlqueryview.exportQuery"));
+               setToolTipText(Messages.getString("sqlqueryview.exportQuery"));
+       }
+       
        /**
         * @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
         */