intial source from ttp://www.sf.net/projects/wdte
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / ExportQueryAction.java
index 081897e..cce682b 100644 (file)
@@ -6,6 +6,7 @@ import java.io.IOException;
 import java.io.PrintWriter;
 import java.util.StringTokenizer;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
 import com.quantum.util.StringUtil;
 import com.quantum.view.LogProxy;
@@ -22,6 +23,12 @@ import org.eclipse.ui.IViewPart;
 public class ExportQueryAction extends Action implements IViewActionDelegate  {
        SQLQueryView view;
        
+       public ExportQueryAction() {
+               setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.EXPORT));
+               setText(Messages.getString("sqlqueryview.exportQuery"));
+               setToolTipText(Messages.getString("sqlqueryview.exportQuery"));
+       }
+       
        /**
         * @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
         */