Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
72ceb4b5
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
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,发现更多精彩内容 >>
提交
72ceb4b5
编写于
3月 18, 2018
作者:
S
serge-rider
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#2202 SSH implementations moved to separate plugins
上级
afc8b286
变更
14
展开全部
隐藏空白更改
内联
并排
Showing
14 changed file
with
83 addition
and
70 deletion
+83
-70
nls/bundles/org.jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_fr.properties
...jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_fr.properties
+62
-64
nls/bundles/org.jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_zh.properties
...jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_zh.properties
+0
-2
plugins/org.jkiss.dbeaver.core/OSGI-INF/l10n/bundle.properties
...ns/org.jkiss.dbeaver.core/OSGI-INF/l10n/bundle.properties
+0
-2
plugins/org.jkiss.dbeaver.core/plugin.xml
plugins/org.jkiss.dbeaver.core/plugin.xml
+1
-0
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/network/NetworkHandlerDescriptor.java
...ss/dbeaver/registry/network/NetworkHandlerDescriptor.java
+7
-1
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/network/NetworkHandlerRegistry.java
...kiss/dbeaver/registry/network/NetworkHandlerRegistry.java
+2
-0
plugins/org.jkiss.dbeaver.ext.mysql/plugin.xml
plugins/org.jkiss.dbeaver.ext.mysql/plugin.xml
+1
-0
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
+1
-0
plugins/org.jkiss.dbeaver.net.ssh.jsch/META-INF/MANIFEST.MF
plugins/org.jkiss.dbeaver.net.ssh.jsch/META-INF/MANIFEST.MF
+1
-0
plugins/org.jkiss.dbeaver.net.ssh.sshj/META-INF/MANIFEST.MF
plugins/org.jkiss.dbeaver.net.ssh.sshj/META-INF/MANIFEST.MF
+1
-0
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle.properties
...org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle.properties
+2
-1
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_fr.properties
....jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_fr.properties
+2
-0
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_zh.properties
....jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_zh.properties
+2
-0
plugins/org.jkiss.dbeaver.net.ssh/plugin.xml
plugins/org.jkiss.dbeaver.net.ssh/plugin.xml
+1
-0
未找到文件。
nls/bundles/org.jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_fr.properties
浏览文件 @
72ceb4b5
此差异已折叠。
点击以展开。
nls/bundles/org.jkiss.dbeaver.core.nls/OSGI-INF/l10n/bundle_zh.properties
浏览文件 @
72ceb4b5
...
...
@@ -428,8 +428,6 @@ fontDefinition.org.jkiss.dbeaver.sql.resultset.font.label = \u7ED3\u679C\u7F51\u
handler.socks_proxy.description
=
SOCKS4/SOCKS5
\u
4EE3
\u7406
handler.socks_proxy.label
=
SOCKS
\u
4EE3
\u7406
handler.ssh_tunnel.description
=
SSH
\u
901A
\u9053
handler.ssh_tunnel.label
=
SSH
\u
901A
\u9053
keyword.org.jkiss.dbeaver.core.keyword.pref.db.dataformat.label
=
\u
683C
\u
5F0F
\u5316\u
65E5
\u
671F
\u
5B57
\u
7B26
\u
4E32
\u
4E3A
\u
672C
\u5730\u5316\u
8BED
\u
8A00
keyword.org.jkiss.dbeaver.core.keyword.pref.db.general.label
=
\u
81EA
\u
52A8
\u
63D0
\u
4EA4
\u
6E38
\u6807\u
56DE
\u
6EDA
\u
7ED3
\u
679C
\u
96C6lob
\u
811A
\u
672C
...
...
plugins/org.jkiss.dbeaver.core/OSGI-INF/l10n/bundle.properties
浏览文件 @
72ceb4b5
...
...
@@ -584,8 +584,6 @@ keyword.org.jkiss.dbeaver.core.keyword.pref.ui.general.label = update http proxy
extension.org.jkiss.dbeaver.DBeaverNature.name
=
DBeaver Nature
handler.ssh_tunnel.description
=
SSH tunnel
handler.ssh_tunnel.label
=
SSH Tunnel
handler.socks_proxy.description
=
SOCKS4/SOCKS5 proxy
handler.socks_proxy.label
=
SOCKS Proxy
...
...
plugins/org.jkiss.dbeaver.core/plugin.xml
浏览文件 @
72ceb4b5
...
...
@@ -3583,6 +3583,7 @@
label=
"%handler.socks_proxy.label"
description=
"%handler.socks_proxy.description"
secured=
"true"
order=
"10"
handlerClass=
"org.jkiss.dbeaver.model.impl.net.SocksProxyImpl"
/>
</extension>
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/network/NetworkHandlerDescriptor.java
浏览文件 @
72ceb4b5
...
...
@@ -42,8 +42,9 @@ public class NetworkHandlerDescriptor extends AbstractContextDescriptor implemen
private
DBWHandlerType
type
;
private
final
boolean
secured
;
private
final
ObjectType
handlerType
;
private
final
int
order
;
public
NetworkHandlerDescriptor
(
NetworkHandlerDescriptor
(
IConfigurationElement
config
)
{
super
(
config
);
...
...
@@ -54,6 +55,7 @@ public class NetworkHandlerDescriptor extends AbstractContextDescriptor implemen
this
.
type
=
DBWHandlerType
.
valueOf
(
config
.
getAttribute
(
RegistryConstants
.
ATTR_TYPE
).
toUpperCase
(
Locale
.
ENGLISH
));
this
.
secured
=
CommonUtils
.
getBoolean
(
config
.
getAttribute
(
RegistryConstants
.
ATTR_SECURED
),
false
);
this
.
handlerType
=
new
ObjectType
(
config
.
getAttribute
(
RegistryConstants
.
ATTR_HANDLER_CLASS
));
this
.
order
=
CommonUtils
.
toInt
(
config
.
getAttribute
(
RegistryConstants
.
ATTR_ORDER
),
1
);
}
@NotNull
...
...
@@ -82,6 +84,10 @@ public class NetworkHandlerDescriptor extends AbstractContextDescriptor implemen
return
secured
;
}
public
int
getOrder
()
{
return
order
;
}
public
boolean
matches
(
DBPDataSourceProvider
provider
)
{
return
appliesTo
(
provider
);
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/network/NetworkHandlerRegistry.java
浏览文件 @
72ceb4b5
...
...
@@ -22,6 +22,7 @@ import org.eclipse.core.runtime.Platform;
import
org.jkiss.dbeaver.model.DBPDataSourceContainer
;
import
java.util.ArrayList
;
import
java.util.Comparator
;
import
java.util.List
;
public
class
NetworkHandlerRegistry
...
...
@@ -47,6 +48,7 @@ public class NetworkHandlerRegistry
NetworkHandlerDescriptor
formatterDescriptor
=
new
NetworkHandlerDescriptor
(
ext
);
descriptors
.
add
(
formatterDescriptor
);
}
descriptors
.
sort
(
Comparator
.
comparingInt
(
NetworkHandlerDescriptor:
:
getOrder
));
}
}
...
...
plugins/org.jkiss.dbeaver.ext.mysql/plugin.xml
浏览文件 @
72ceb4b5
...
...
@@ -375,6 +375,7 @@
label=
"SSL"
description=
"Secure socket layer"
secured=
"false"
order=
"100"
handlerClass=
"org.jkiss.dbeaver.ext.mysql.model.net.MySQLSSLHandlerImpl"
>
<objectType
name=
"org.jkiss.dbeaver.ext.mysql.MySQLDataSourceProvider"
/>
</handler>
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
浏览文件 @
72ceb4b5
...
...
@@ -368,6 +368,7 @@
label=
"%handler.ssl.name"
description=
"%handler.ssl.description"
secured=
"false"
order=
"100"
handlerClass=
"org.jkiss.dbeaver.ext.postgresql.model.net.PostgreSSLHandlerImpl"
>
<objectType
name=
"org.jkiss.dbeaver.ext.postgresql.PostgreDataSourceProvider"
/>
</handler>
...
...
plugins/org.jkiss.dbeaver.net.ssh.jsch/META-INF/MANIFEST.MF
浏览文件 @
72ceb4b5
...
...
@@ -9,5 +9,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .
Require-Bundle: org.jkiss.dbeaver.model,
org.jkiss.dbeaver.net.ssh,
com.jcraft.jsch
Bundle-Localization: OSGI-INF/l10n/bundle
plugins/org.jkiss.dbeaver.net.ssh.sshj/META-INF/MANIFEST.MF
浏览文件 @
72ceb4b5
...
...
@@ -9,5 +9,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .
Require-Bundle: org.jkiss.dbeaver.model,
org.jkiss.dbeaver.net.ssh,
com.hierynomus.sshj
Bundle-Localization: OSGI-INF/l10n/bundle
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle.properties
浏览文件 @
72ceb4b5
...
...
@@ -2,4 +2,5 @@ Bundle-Vendor = JKISS
Bundle-Name
=
DBeaver SSH tunnels
extension-point.org.jkiss.dbeaver.net.ssh.name
=
SSH implementations
handler.ssh_tunnel.label
=
SSH
handler.ssh_tunnel.label
=
SSH Tunnel
handler.ssh_tunnel.description
=
SSH tunnel
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_fr.properties
0 → 100644
浏览文件 @
72ceb4b5
handler.ssh_tunnel.description
=
Tunnel SSH
handler.ssh_tunnel.label
=
Tunnel SSH
plugins/org.jkiss.dbeaver.net.ssh/OSGI-INF/l10n/bundle_zh.properties
0 → 100644
浏览文件 @
72ceb4b5
handler.ssh_tunnel.description
=
SSH
\u
901A
\u9053
handler.ssh_tunnel.label
=
SSH
\u
901A
\u9053
plugins/org.jkiss.dbeaver.net.ssh/plugin.xml
浏览文件 @
72ceb4b5
...
...
@@ -12,6 +12,7 @@
label=
"%handler.ssh_tunnel.label"
description=
"%handler.ssh_tunnel.description"
secured=
"true"
order=
"1"
handlerClass=
"org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl"
/>
</extension>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录