提交 c165a9db 编写于 作者: J jurgen

SQlite version update

Empty presentation fix

Former-commit-id: a3cdfefc
上级 d01cdb43
source.. =
bin.includes = .,plugin.xml,META-INF/,drivers/sqlite/xerial/LICENSE.txt,drivers/sqlite/xerial/sqlite-jdbc-3.7.2.jar
bin.includes = .,plugin.xml,META-INF/,drivers/sqlite/xerial/LICENSE.txt,drivers/sqlite/xerial/sqlite-jdbc-3.8.7.jar
src.includes =
......@@ -2,6 +2,6 @@
<plugin>
<extension point="org.jkiss.dbeaver.resources">
<resource name="drivers/sqlite/xerial/LICENSE.txt"/>
<resource name="drivers/sqlite/xerial/sqlite-jdbc-3.7.2.jar"/>
<resource name="drivers/sqlite/xerial/sqlite-jdbc-3.8.7.jar"/>
</extension>
</plugin>
\ No newline at end of file
......@@ -72,6 +72,8 @@ public interface IResultSetController {
*/
void refreshData(@Nullable Runnable onSuccess);
boolean isRefreshInProgress();
/**
* Reads next segment of data
*/
......
......@@ -1411,7 +1411,7 @@ public class ResultSetViewer extends Viewer
UIUtils.showErrorDialog(
viewerPanel.getShell(),
"Error executing query",
"Other query execution is in progress");
"Viewer detached rom data source or other query execution is in progress");
}
}
......
......@@ -75,6 +75,9 @@ public class EmptyPresentation implements IResultSetPresentation {
placeholder.addPaintListener(new PaintListener() {
@Override
public void paintControl(PaintEvent e) {
if (controller.isRefreshInProgress()) {
return;
}
e.gc.setFont(largeFont);
drawMessage(e, "No Data", -10);
e.gc.setFont(normalFont);
......
......@@ -534,7 +534,7 @@
defaultPort=""
webURL="https://bitbucket.org/xerial/sqlite-jdbc"
description="SQLite JDBC driver by Taro L. Saito (extension of Zentus driver)">
<file type="jar" path="drivers/sqlite/xerial/sqlite-jdbc-3.7.2.jar" url="*"/>
<file type="jar" path="drivers/sqlite/xerial/sqlite-jdbc-3.8.7.jar" url="*"/>
<file type="license" path="drivers/sqlite/xerial/LICENSE.txt" url="*"/>
<parameter name="embedded" value="true"/>
<parameter name="supports-references" value="true"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册