Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
23d1f934
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,发现更多精彩内容 >>
提交
23d1f934
编写于
9月 16, 2015
作者:
J
jurgen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Maven artifact resolve fixed
上级
545a4985
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
3 deletion
+15
-3
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/core/CoreResources.properties
....core/src/org/jkiss/dbeaver/core/CoreResources.properties
+1
-1
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/core/DBeaverPreferencesInitializer.java
...org/jkiss/dbeaver/core/DBeaverPreferencesInitializer.java
+1
-1
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
...core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
+5
-0
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/maven/MavenRegistry.java
...e/src/org/jkiss/dbeaver/registry/maven/MavenRegistry.java
+3
-0
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverEditDialog.java
...org/jkiss/dbeaver/ui/dialogs/driver/DriverEditDialog.java
+3
-1
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
....dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
+2
-0
未找到文件。
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/core/CoreResources.properties
浏览文件 @
23d1f934
...
...
@@ -331,7 +331,7 @@ dialog_edit_driver_button_add_folder=Add Fol&der
dialog_edit_driver_button_add_artifact
=
Add &Artifact
dialog_edit_driver_button_bind_class
=
Find Class
dialog_edit_driver_button_classpath
=
&Classpath
dialog_edit_driver_button_update_version
=
Update Version
dialog_edit_driver_button_update_version
=
Download/Update
dialog_edit_driver_button_delete
=
D&elete
dialog_edit_driver_button_down
=
Do&wn
dialog_edit_driver_button_reset_to_defaults
=
Reset to Defaults
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/core/DBeaverPreferencesInitializer.java
浏览文件 @
23d1f934
...
...
@@ -124,7 +124,7 @@ public class DBeaverPreferencesInitializer extends AbstractPreferenceInitializer
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_AUTO_UPDATE_CHECK
,
true
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_KEEP_DATABASE_EDITORS
,
true
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_PROXY_HOST
,
""
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_PROXY_PORT
,
0
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_PROXY_PORT
,
108
0
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_PROXY_USER
,
""
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_PROXY_PASSWORD
,
""
);
PrefUtils
.
setDefaultPreferenceValue
(
store
,
DBeaverPreferences
.
UI_DRIVERS_HOME
,
""
);
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
浏览文件 @
23d1f934
...
...
@@ -938,6 +938,11 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
}
}
@Override
public
void
updateFiles
(
DBRRunnableContext
runnableContext
)
{
}
public
boolean
acceptDriverLicenses
(
DBRRunnableContext
runnableContext
)
{
// User must accept all licenses before actual drivers download
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/maven/MavenRegistry.java
浏览文件 @
23d1f934
...
...
@@ -63,6 +63,9 @@ public class MavenRegistry
}
public
void
loadCustomRepositories
()
{
// Clear not-found cache
notFoundArtifacts
.
clear
();
// Remove all custom repositories
for
(
Iterator
<
MavenRepository
>
iterator
=
repositories
.
iterator
();
iterator
.
hasNext
();
)
{
MavenRepository
repository
=
iterator
.
next
();
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverEditDialog.java
浏览文件 @
23d1f934
...
...
@@ -440,6 +440,8 @@ public class DriverEditDialog extends HelpEnabledDialog
updateVersionButton
=
UIUtils
.
createToolButton
(
libsControlGroup
,
CoreMessages
.
dialog_edit_driver_button_update_version
,
new
SelectionAdapter
()
{
@Override
public
void
widgetSelected
(
SelectionEvent
e
)
{
// driver.updateFiles();
// DriverDownloadDialog.downloadDriverFiles(getShell(), driver, Collections.singletonList(lib), true);
DriverFileDescriptor
selectedLib
=
getSelectedLibrary
();
updateArtifactVersion
(
selectedLib
);
}
...
...
@@ -590,6 +592,7 @@ public class DriverEditDialog extends HelpEnabledDialog
{
libTable
.
refresh
();
findClassButton
.
setEnabled
(
provider
.
isDriversManagable
()
&&
!
libList
.
isEmpty
());
updateVersionButton
.
setEnabled
(!
libList
.
isEmpty
());
}
private
void
changeLibSelection
()
...
...
@@ -598,7 +601,6 @@ public class DriverEditDialog extends HelpEnabledDialog
deleteButton
.
setEnabled
(
selectedLib
!=
null
);
upButton
.
setEnabled
(
libList
.
indexOf
(
selectedLib
)
>
0
);
downButton
.
setEnabled
(
libList
.
indexOf
(
selectedLib
)
<
libList
.
size
()
-
1
);
updateVersionButton
.
setEnabled
(
selectedLib
!=
null
&&
selectedLib
.
isMavenArtifact
());
}
private
void
onChangeProperty
()
...
...
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
浏览文件 @
23d1f934
...
...
@@ -97,6 +97,8 @@ public interface DBPDriver extends DBPObject
void
validateFilesPresence
(
DBRRunnableContext
runnableContext
);
void
updateFiles
(
DBRRunnableContext
runnableContext
);
void
loadDriver
(
DBRRunnableContext
runnableContext
)
throws
DBException
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录