import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.dnd.TextTransfer;
+import org.eclipse.swt.dnd.Transfer;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionEvent;
import com.quantum.QuantumPlugin;
import com.quantum.sql.TableRow;
-import com.quantum.view.PHPSourceConsole;
+//import com.quantum.view.PHPSourceConsole;
import com.quantum.view.tableview.TableAdapter;
public class PHPSelectRowPage extends WizardPage implements SQLPage {
}
public boolean performFinish() {
- PHPSourceConsole console = PHPSourceConsole.getInstance();
- console.clear();
- console.print(query.getText());
+// PHPSourceConsole console = PHPSourceConsole.getInstance();
+// console.clear();
+// console.print(query.getText());
+ QuantumPlugin.getDefault().getSysClip().setContents(
+ new Object[] { query.getText() },
+ new Transfer[] { TextTransfer.getInstance()});
return true;
}
}
\ No newline at end of file