Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
558ce121
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
558ce121
编写于
2月 20, 2017
作者:
S
Serge Rider
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor UI fixes
上级
4e1aaa3a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
5 deletion
+12
-5
plugins/org.jkiss.dbeaver.core.application/src/org/jkiss/dbeaver/core/application/DBeaverSettingsImporter.java
...iss/dbeaver/core/application/DBeaverSettingsImporter.java
+2
-2
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/querylog/QueryLogViewer.java
...rg/jkiss/dbeaver/ui/controls/querylog/QueryLogViewer.java
+1
-1
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/txn/PendingTransactionsDialog.java
...ss/dbeaver/ui/controls/txn/PendingTransactionsDialog.java
+4
-2
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/txn/TransactionInfoDialog.java
.../jkiss/dbeaver/ui/controls/txn/TransactionInfoDialog.java
+5
-0
未找到文件。
plugins/org.jkiss.dbeaver.core.application/src/org/jkiss/dbeaver/core/application/DBeaverSettingsImporter.java
浏览文件 @
558ce121
...
...
@@ -123,9 +123,9 @@ class DBeaverSettingsImporter {
iconLabel
.
setLayoutData
(
new
GridData
(
GridData
.
VERTICAL_ALIGN_BEGINNING
));
Label
confirmLabel
=
new
Label
(
infoGroup
,
SWT
.
NONE
);
//confirmLabel.setImage(JFaceResources.getImage(org.eclipse.jface.dialogs.Dialog.DLG_IMG_MESSAGE_INFO));
confirmLabel
.
setText
(
"
Settings of previous version ("
+
oldVersion
+
") of "
+
GeneralUtils
.
getProductName
()
+
" was found at
\n"
+
confirmLabel
.
setText
(
"
Previous version ("
+
GeneralUtils
.
getProductName
()
+
" "
+
oldVersion
+
") settings were found:
\n"
+
oldDir
.
getAbsolutePath
()
+
"\n"
+
"Do you want to import
previous version
settings? (Recommended).\n\n"
+
"Do you want to import
these
settings? (Recommended).\n\n"
+
"Make sure previous version of "
+
GeneralUtils
.
getProductName
()
+
" isn't running"
);
confirmLabel
.
setLayoutData
(
new
GridData
(
GridData
.
FILL_BOTH
));
}
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/querylog/QueryLogViewer.java
浏览文件 @
558ce121
...
...
@@ -464,7 +464,7 @@ public class QueryLogViewer extends Viewer implements QMMetaListener, DBPPrefere
}
@Override
public
Control
getControl
()
public
Table
getControl
()
{
return
logTable
;
}
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/txn/PendingTransactionsDialog.java
浏览文件 @
558ce121
...
...
@@ -82,7 +82,9 @@ public class PendingTransactionsDialog extends TransactionInfoDialog {
colName
.
setText
(
"Connection"
);
TreeColumn
colTxn
=
new
TreeColumn
(
contextTree
,
SWT
.
RIGHT
);
colTxn
.
setText
(
"Transaction"
);
contextTree
.
setLayoutData
(
new
GridData
(
GridData
.
FILL_BOTH
));
GridData
gd
=
new
GridData
(
GridData
.
FILL_BOTH
);
gd
.
heightHint
=
contextTree
.
getHeaderHeight
()
+
contextTree
.
getItemHeight
()
*
5
;
contextTree
.
setLayoutData
(
gd
);
contextTree
.
addSelectionListener
(
new
SelectionAdapter
()
{
@Override
public
void
widgetSelected
(
SelectionEvent
e
)
{
...
...
@@ -109,7 +111,7 @@ public class PendingTransactionsDialog extends TransactionInfoDialog {
loadContexts
(
showAllCheck
.
getSelection
());
}
});
GridData
gd
=
new
GridData
(
GridData
.
FILL_HORIZONTAL
);
gd
=
new
GridData
(
GridData
.
FILL_HORIZONTAL
);
gd
.
grabExcessHorizontalSpace
=
true
;
showAllCheck
.
setLayoutData
(
gd
);
commitButton
=
UIUtils
.
createPushButton
(
controlPanel
,
"Commit"
,
DBeaverIcons
.
getImage
(
UIIcon
.
TXN_COMMIT
));
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/txn/TransactionInfoDialog.java
浏览文件 @
558ce121
...
...
@@ -20,6 +20,7 @@ import org.eclipse.jface.dialogs.Dialog;
import
org.eclipse.jface.dialogs.IDialogConstants
;
import
org.eclipse.swt.events.SelectionAdapter
;
import
org.eclipse.swt.events.SelectionEvent
;
import
org.eclipse.swt.layout.GridData
;
import
org.eclipse.swt.widgets.Button
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Shell
;
...
...
@@ -67,6 +68,10 @@ public abstract class TransactionInfoDialog extends Dialog {
DBCExecutionContext
context
=
getCurrentContext
();
QMEventFilter
filter
=
context
==
null
?
VOID_FILTER
:
createContextFilter
(
context
);
logViewer
=
new
QueryLogViewer
(
composite
,
activeEditor
.
getSite
(),
filter
,
false
);
final
Object
gd
=
logViewer
.
getControl
().
getLayoutData
();
if
(
gd
instanceof
GridData
)
{
((
GridData
)
gd
).
heightHint
=
logViewer
.
getControl
().
getHeaderHeight
()
+
logViewer
.
getControl
().
getItemHeight
()
*
5
;
}
showAllCheck
=
UIUtils
.
createCheckbox
(
composite
,
"Show all queries"
,
"Show all transaction queries. Otherwise shows only modifying queries."
,
false
,
1
);
showAllCheck
.
addSelectionListener
(
new
SelectionAdapter
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录