Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
df9086ad
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,发现更多精彩内容 >>
提交
df9086ad
编写于
6月 23, 2015
作者:
J
jurgen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Icons model refactoring
上级
15741915
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
278 addition
and
202 deletion
+278
-202
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/model/DBIcon.java
...kiss.dbeaver.core/src/org/jkiss/dbeaver/model/DBIcon.java
+199
-199
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/model/DBIconCustom.java
...beaver.core/src/org/jkiss/dbeaver/model/DBIconCustom.java
+71
-0
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/DBeaverIcons.java
...s.dbeaver.core/src/org/jkiss/dbeaver/ui/DBeaverIcons.java
+8
-3
未找到文件。
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/model/DBIcon.java
浏览文件 @
df9086ad
...
...
@@ -29,223 +29,223 @@ import java.io.IOException;
/**
* DBIcon
*/
public
enum
DBIcon
implements
DBPImage
public
class
DBIcon
implements
DBPImage
{
DBEAVER_LOGO
(
"dbeaver_logo"
,
"dbeaver.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
DBEAVER_LOGO
=
new
DBIcon
(
"dbeaver_logo"
,
"dbeaver.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
GEN_DATABASE
(
"gen_database"
,
"database.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
GEN_DATABASE_TYPE
(
"gen_database_type"
,
"database_type.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
GEN_DATABASE
=
new
DBIcon
(
"gen_database"
,
"database.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
GEN_DATABASE_TYPE
=
new
DBIcon
(
"gen_database_type"
,
"database_type.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
TREE
(
"tree"
,
"tree/tree.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_ADMIN
(
"admin"
,
"tree/admin.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_DATABASE
(
"database"
,
"tree/database.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_DATABASE_CATEGORY
(
"database_category"
,
"tree/database_category.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SCHEMA
(
"schema"
,
"tree/schema.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_TABLE
(
"table"
,
"tree/table.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_TABLE_ALIAS
(
"table_alias"
,
"tree/table_alias.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_TABLE_SORT
(
"table_sort"
,
"tree/table_sort.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_VIEW
(
"view"
,
"tree/view.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FUNCTION
(
"function"
,
"tree/function.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_PROCEDURE
(
"procedure"
,
"tree/procedure.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_COLUMNS
(
"columns"
,
"tree/columns.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_COLUMN
(
"column"
,
"tree/column.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_INDEX
(
"index"
,
"tree/index.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_CONSTRAINT
(
"constraint"
,
"tree/constraint.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_UNIQUE_KEY
(
"unique-key"
,
"tree/unique_constraint.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOREIGN_KEY
(
"foreign-key"
,
"tree/foreign_key.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOREIGN_KEY_COLUMN
(
"foreign-key-column"
,
"tree/foreign_key_column.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_REFERENCE
(
"reference"
,
"tree/reference.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_TRIGGER
(
"trigger"
,
"tree/trigger.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_USER
(
"user"
,
"tree/user.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_PAGE
(
"page"
,
"tree/page.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER
(
"folder"
,
"tree/folder.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_LINK
(
"folder_linked"
,
"tree/folder_link.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_DATABASE
(
"folder_database"
,
"tree/folder_database.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_SCHEMA
(
"folder_schema"
,
"tree/folder_schema.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_TABLE
(
"folder_table"
,
"tree/folder_table.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_VIEW
(
"folder_view"
,
"tree/folder_view.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_USER
(
"folder_user"
,
"tree/folder_user.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_ADMIN
(
"folder_admin"
,
"tree/folder_admin.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SESSIONS
(
"sessions"
,
"tree/sessions.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_PACKAGE
(
"package"
,
"tree/package.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_DATA_TYPE
(
"data_type"
,
"tree/data_type.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SEQUENCE
(
"sequence"
,
"tree/sequence.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SYNONYM
(
"synonym"
,
"tree/synonym.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_TABLESPACE
(
"tablespace"
,
"tree/tablespace.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_PARTITION
(
"partition"
,
"tree/partition.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_ATTRIBUTE
(
"attribute"
,
"tree/attribute.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_ARGUMENT
(
"argument"
,
"tree/argument.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_JAVA_CLASS
(
"javaClass"
,
"tree/java_class.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_JAVA_INTERFACE
(
"javaInterface"
,
"tree/java_interface.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_LINK
(
"link"
,
"tree/link.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FILE
(
"file"
,
"tree/file.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_CLASS
(
"class"
,
"tree/class.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_ASSOCIATION
(
"association"
,
"tree/association.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SERVER
(
"server"
,
"tree/server.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_SERVERS
(
"servers"
,
"tree/servers.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE
=
new
DBIcon
(
"tree"
,
"tree/tree.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_ADMIN
=
new
DBIcon
(
"admin"
,
"tree/admin.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_DATABASE
=
new
DBIcon
(
"database"
,
"tree/database.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_DATABASE_CATEGORY
=
new
DBIcon
(
"database_category"
,
"tree/database_category.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SCHEMA
=
new
DBIcon
(
"schema"
,
"tree/schema.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_TABLE
=
new
DBIcon
(
"table"
,
"tree/table.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_TABLE_ALIAS
=
new
DBIcon
(
"table_alias"
,
"tree/table_alias.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_TABLE_SORT
=
new
DBIcon
(
"table_sort"
,
"tree/table_sort.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_VIEW
=
new
DBIcon
(
"view"
,
"tree/view.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FUNCTION
=
new
DBIcon
(
"function"
,
"tree/function.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_PROCEDURE
=
new
DBIcon
(
"procedure"
,
"tree/procedure.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_COLUMNS
=
new
DBIcon
(
"columns"
,
"tree/columns.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_COLUMN
=
new
DBIcon
(
"column"
,
"tree/column.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_INDEX
=
new
DBIcon
(
"index"
,
"tree/index.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_CONSTRAINT
=
new
DBIcon
(
"constraint"
,
"tree/constraint.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_UNIQUE_KEY
=
new
DBIcon
(
"unique-key"
,
"tree/unique_constraint.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOREIGN_KEY
=
new
DBIcon
(
"foreign-key"
,
"tree/foreign_key.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOREIGN_KEY_COLUMN
=
new
DBIcon
(
"foreign-key-column"
,
"tree/foreign_key_column.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_REFERENCE
=
new
DBIcon
(
"reference"
,
"tree/reference.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_TRIGGER
=
new
DBIcon
(
"trigger"
,
"tree/trigger.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_USER
=
new
DBIcon
(
"user"
,
"tree/user.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_PAGE
=
new
DBIcon
(
"page"
,
"tree/page.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER
=
new
DBIcon
(
"folder"
,
"tree/folder.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_LINK
=
new
DBIcon
(
"folder_linked"
,
"tree/folder_link.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_DATABASE
=
new
DBIcon
(
"folder_database"
,
"tree/folder_database.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_SCHEMA
=
new
DBIcon
(
"folder_schema"
,
"tree/folder_schema.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_TABLE
=
new
DBIcon
(
"folder_table"
,
"tree/folder_table.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_VIEW
=
new
DBIcon
(
"folder_view"
,
"tree/folder_view.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_USER
=
new
DBIcon
(
"folder_user"
,
"tree/folder_user.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_ADMIN
=
new
DBIcon
(
"folder_admin"
,
"tree/folder_admin.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SESSIONS
=
new
DBIcon
(
"sessions"
,
"tree/sessions.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_PACKAGE
=
new
DBIcon
(
"package"
,
"tree/package.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_DATA_TYPE
=
new
DBIcon
(
"data_type"
,
"tree/data_type.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SEQUENCE
=
new
DBIcon
(
"sequence"
,
"tree/sequence.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SYNONYM
=
new
DBIcon
(
"synonym"
,
"tree/synonym.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_TABLESPACE
=
new
DBIcon
(
"tablespace"
,
"tree/tablespace.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_PARTITION
=
new
DBIcon
(
"partition"
,
"tree/partition.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_ATTRIBUTE
=
new
DBIcon
(
"attribute"
,
"tree/attribute.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_ARGUMENT
=
new
DBIcon
(
"argument"
,
"tree/argument.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_JAVA_CLASS
=
new
DBIcon
(
"javaClass"
,
"tree/java_class.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_JAVA_INTERFACE
=
new
DBIcon
(
"javaInterface"
,
"tree/java_interface.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_LINK
=
new
DBIcon
(
"link"
,
"tree/link.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FILE
=
new
DBIcon
(
"file"
,
"tree/file.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_CLASS
=
new
DBIcon
(
"class"
,
"tree/class.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_ASSOCIATION
=
new
DBIcon
(
"association"
,
"tree/association.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SERVER
=
new
DBIcon
(
"server"
,
"tree/server.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_SERVERS
=
new
DBIcon
(
"servers"
,
"tree/servers.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
TREE_INFO
(
"info"
,
"/tree/info.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_FOLDER_INFO
(
"folder_info"
,
"/tree/folder_info.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_RECYCLE_BIN
(
"recycle_bin"
,
"/tree/recycle_bin.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_INFO
=
new
DBIcon
(
"info"
,
"/tree/info.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_FOLDER_INFO
=
new
DBIcon
(
"folder_info"
,
"/tree/folder_info.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_RECYCLE_BIN
=
new
DBIcon
(
"recycle_bin"
,
"/tree/recycle_bin.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
TREE_EXPAND
(
"expand"
,
"/misc/expand.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TREE_COLLAPSE
(
"collapse"
,
"/misc/collapse.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_EXPAND
=
new
DBIcon
(
"expand"
,
"/misc/expand.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TREE_COLLAPSE
=
new
DBIcon
(
"collapse"
,
"/misc/collapse.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
PROJECT
(
"project"
,
"project.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROJECTS
(
"projects"
,
"projects.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CONNECTIONS
(
"connections"
,
"connections.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
DATABASES
(
"databases"
,
"databases.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SCRIPTS
(
"scripts"
,
"scripts.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BOOKMARK_FOLDER
(
"bookmark_folder"
,
"bookmark_folder.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BOOKMARK
(
"bookmark"
,
"bookmark.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
PICTURE
(
"picture"
,
"picture.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
PICTURE_SAVE
(
"picture_save"
,
"picture_save.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROPERTIES
(
"properties"
,
"properties.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CONFIGURATION
(
"configuration"
,
"configuration.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
LINK
(
"link"
,
"misc/link.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CURSOR
(
"cursor"
,
"misc/cursor.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROJECT
=
new
DBIcon
(
"project"
,
"project.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROJECTS
=
new
DBIcon
(
"projects"
,
"projects.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CONNECTIONS
=
new
DBIcon
(
"connections"
,
"connections.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
DATABASES
=
new
DBIcon
(
"databases"
,
"databases.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SCRIPTS
=
new
DBIcon
(
"scripts"
,
"scripts.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BOOKMARK_FOLDER
=
new
DBIcon
(
"bookmark_folder"
,
"bookmark_folder.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BOOKMARK
=
new
DBIcon
(
"bookmark"
,
"bookmark.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PICTURE
=
new
DBIcon
(
"picture"
,
"picture.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PICTURE_SAVE
=
new
DBIcon
(
"picture_save"
,
"picture_save.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROPERTIES
=
new
DBIcon
(
"properties"
,
"properties.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CONFIGURATION
=
new
DBIcon
(
"configuration"
,
"configuration.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LINK
=
new
DBIcon
(
"link"
,
"misc/link.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CURSOR
=
new
DBIcon
(
"cursor"
,
"misc/cursor.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
LOADING1
(
"loading1"
,
"tree/load/loading1.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
LOADING2
(
"loading2"
,
"tree/load/loading2.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
LOADING3
(
"loading3"
,
"tree/load/loading3.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
LOADING4
(
"loading4"
,
"tree/load/loading4.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LOADING1
=
new
DBIcon
(
"loading1"
,
"tree/load/loading1.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LOADING2
=
new
DBIcon
(
"loading2"
,
"tree/load/loading2.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LOADING3
=
new
DBIcon
(
"loading3"
,
"tree/load/loading3.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LOADING4
=
new
DBIcon
(
"loading4"
,
"tree/load/loading4.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS0
(
"progress0"
,
"misc/progress_0.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS1
(
"progress1"
,
"misc/progress_1.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS2
(
"progress2"
,
"misc/progress_2.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS3
(
"progress3"
,
"misc/progress_3.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS4
(
"progress4"
,
"misc/progress_4.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS5
(
"progress5"
,
"misc/progress_5.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS6
(
"progress6"
,
"misc/progress_6.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS7
(
"progress7"
,
"misc/progress_7.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS8
(
"progress8"
,
"misc/progress_8.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
PROGRESS9
(
"progress9"
,
"misc/progress_9.gif"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS0
=
new
DBIcon
(
"progress0"
,
"misc/progress_0.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS1
=
new
DBIcon
(
"progress1"
,
"misc/progress_1.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS2
=
new
DBIcon
(
"progress2"
,
"misc/progress_2.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS3
=
new
DBIcon
(
"progress3"
,
"misc/progress_3.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS4
=
new
DBIcon
(
"progress4"
,
"misc/progress_4.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS5
=
new
DBIcon
(
"progress5"
,
"misc/progress_5.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS6
=
new
DBIcon
(
"progress6"
,
"misc/progress_6.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS7
=
new
DBIcon
(
"progress7"
,
"misc/progress_7.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS8
=
new
DBIcon
(
"progress8"
,
"misc/progress_8.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
PROGRESS9
=
new
DBIcon
(
"progress9"
,
"misc/progress_9.gif"
);
//$NON-NLS-1$ //$NON-NLS-2$
//
RS_FIRST("rs_first", "/sql/resultset_first.png"),
//$NON-NLS-1$ //$NON-NLS-2$
//
RS_LAST("rs_last", "/sql/resultset_last.png"),
//$NON-NLS-1$ //$NON-NLS-2$
//
RS_NEXT("rs_next", "/sql/resultset_next.png"),
//$NON-NLS-1$ //$NON-NLS-2$
//
RS_PREV("rs_prev", "/sql/resultset_previous.png"),
//$NON-NLS-1$ //$NON-NLS-2$
//
RS_FETCH_PAGE("resultset_fetch_page.png", "sql/resultset_fetch_page.png"),
//$NON-NLS-1$ //$NON-NLS-2$
RS_REFRESH
(
"rs_refresh"
,
"/sql/resultset_refresh.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
RS_GRID
(
"rs_mode_grid"
,
"sql/grid.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
RS_DETAILS
(
"rs_details"
,
"sql/details.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
RS_FORWARD
(
"rs_forward"
,
"sql/forward.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
RS_BACK
(
"rs_back"
,
"sql/back.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
//
public static final DBIcon RS_FIRST = new DBIcon("rs_first", "/sql/resultset_first.png");
//$NON-NLS-1$ //$NON-NLS-2$
//
public static final DBIcon RS_LAST = new DBIcon("rs_last", "/sql/resultset_last.png");
//$NON-NLS-1$ //$NON-NLS-2$
//
public static final DBIcon RS_NEXT = new DBIcon("rs_next", "/sql/resultset_next.png");
//$NON-NLS-1$ //$NON-NLS-2$
//
public static final DBIcon RS_PREV = new DBIcon("rs_prev", "/sql/resultset_previous.png");
//$NON-NLS-1$ //$NON-NLS-2$
//
public static final DBIcon RS_FETCH_PAGE = new DBIcon("resultset_fetch_page.png", "sql/resultset_fetch_page.png");
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RS_REFRESH
=
new
DBIcon
(
"rs_refresh"
,
"/sql/resultset_refresh.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RS_GRID
=
new
DBIcon
(
"rs_mode_grid"
,
"sql/grid.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RS_DETAILS
=
new
DBIcon
(
"rs_details"
,
"sql/details.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RS_FORWARD
=
new
DBIcon
(
"rs_forward"
,
"sql/forward.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RS_BACK
=
new
DBIcon
(
"rs_back"
,
"sql/back.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
TXN_COMMIT_AUTO
(
"txn_commit_auto"
,
"sql/txn_auto.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TXN_COMMIT_MANUAL
(
"txn_commit_manual"
,
"sql/txn_manual.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TXN_COMMIT_AUTO
=
new
DBIcon
(
"txn_commit_auto"
,
"sql/txn_auto.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TXN_COMMIT_MANUAL
=
new
DBIcon
(
"txn_commit_manual"
,
"sql/txn_manual.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
RULER_POSITION
(
"ruler_position"
,
"/misc/ruler_position.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER_VALUE
(
"filter_value"
,
"/misc/filter_value.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER_INPUT
(
"filter_input"
,
"/misc/filter_input.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER_CLIPBOARD
(
"filter_clipboard"
,
"/misc/filter_clipboard.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RULER_POSITION
=
new
DBIcon
(
"ruler_position"
,
"/misc/ruler_position.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER_VALUE
=
new
DBIcon
(
"filter_value"
,
"/misc/filter_value.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER_INPUT
=
new
DBIcon
(
"filter_input"
,
"/misc/filter_input.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER_CLIPBOARD
=
new
DBIcon
(
"filter_clipboard"
,
"/misc/filter_clipboard.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
FIND
(
"find"
,
"/misc/find.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FIND_TEXT
(
"find_text"
,
"/misc/find_text.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SEARCH
(
"search"
,
"/misc/search.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CHECK
(
"check"
,
"/misc/check.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CHECK2
(
"check2"
,
"/misc/check2.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CHECK_ON
(
"checked"
,
"/misc/checked.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CHECK_OFF
(
"unchecked"
,
"/misc/unchecked.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ZOOM
(
"zoom"
,
"/misc/zoom.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ZOOM_IN
(
"zoom_in"
,
"/misc/zoom_in.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ZOOM_OUT
(
"zoom_out"
,
"/misc/zoom_out.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROTATE
(
"rotate"
,
"/misc/rotate.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROTATE_LEFT
(
"rotate_left"
,
"/misc/rotate_left.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROTATE_RIGHT
(
"rotate_right"
,
"/misc/rotate_right.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FIT_WINDOW
(
"fit_window"
,
"/misc/fit-window.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ORIGINAL_SIZE
(
"original_size"
,
"/misc/original-size.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ASTERISK
(
"asterisk"
,
"/misc/asterisk.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BULLET_BLACK
(
"bullet_black"
,
"/misc/bullet_black.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BULLET_GREEN
(
"bullet_green"
,
"/misc/bullet_green.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BULLET_RED
(
"bullet_red"
,
"/misc/bullet_red.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
BULLET_STAR
(
"bullet_star"
,
"/misc/bullet_star.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_UP
(
"arrow_up"
,
"/misc/arrow_up.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_DOWN
(
"arrow_down"
,
"/misc/arrow_down.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_LEFT
(
"arrow_left"
,
"/misc/arrow_left.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_LEFT_ALL
(
"arrow_left_all"
,
"/misc/arrow_left_all.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_RIGHT
(
"arrow_right"
,
"/misc/arrow_right.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_RIGHT_ALL
(
"arrow_right_all"
,
"/misc/arrow_right_all.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ARROW_RESET
(
"arrow_reset"
,
"/misc/arrow_reset.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SORT_INCREASE
(
"sort_increase"
,
"/misc/sort_increase.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SORT_DECREASE
(
"sort_decrease"
,
"/misc/sort_decrease.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SORT_UNKNOWN
(
"sort_unknown"
,
"/misc/sort_unknown.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FRAME_QUERY
(
"frame_query"
,
"/misc/frame_query.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER
(
"filter"
,
"/misc/filter.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER_APPLY
(
"filter_apply"
,
"/misc/filter_apply.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
FILTER_RESET
(
"filter_reset"
,
"/misc/filter_reset.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
EVENT
(
"event"
,
"/misc/event.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
HOME
(
"home"
,
"/misc/home.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
COMPILE
(
"compile"
,
"/misc/compile.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
COMPILE_LOG
(
"compile_log"
,
"/misc/compile_log.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FIND
=
new
DBIcon
(
"find"
,
"/misc/find.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FIND_TEXT
=
new
DBIcon
(
"find_text"
,
"/misc/find_text.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SEARCH
=
new
DBIcon
(
"search"
,
"/misc/search.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CHECK
=
new
DBIcon
(
"check"
,
"/misc/check.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CHECK2
=
new
DBIcon
(
"check2"
,
"/misc/check2.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CHECK_ON
=
new
DBIcon
(
"checked"
,
"/misc/checked.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CHECK_OFF
=
new
DBIcon
(
"unchecked"
,
"/misc/unchecked.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ZOOM
=
new
DBIcon
(
"zoom"
,
"/misc/zoom.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ZOOM_IN
=
new
DBIcon
(
"zoom_in"
,
"/misc/zoom_in.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ZOOM_OUT
=
new
DBIcon
(
"zoom_out"
,
"/misc/zoom_out.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROTATE
=
new
DBIcon
(
"rotate"
,
"/misc/rotate.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROTATE_LEFT
=
new
DBIcon
(
"rotate_left"
,
"/misc/rotate_left.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROTATE_RIGHT
=
new
DBIcon
(
"rotate_right"
,
"/misc/rotate_right.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FIT_WINDOW
=
new
DBIcon
(
"fit_window"
,
"/misc/fit-window.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ORIGINAL_SIZE
=
new
DBIcon
(
"original_size"
,
"/misc/original-size.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ASTERISK
=
new
DBIcon
(
"asterisk"
,
"/misc/asterisk.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BULLET_BLACK
=
new
DBIcon
(
"bullet_black"
,
"/misc/bullet_black.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BULLET_GREEN
=
new
DBIcon
(
"bullet_green"
,
"/misc/bullet_green.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BULLET_RED
=
new
DBIcon
(
"bullet_red"
,
"/misc/bullet_red.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
BULLET_STAR
=
new
DBIcon
(
"bullet_star"
,
"/misc/bullet_star.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_UP
=
new
DBIcon
(
"arrow_up"
,
"/misc/arrow_up.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_DOWN
=
new
DBIcon
(
"arrow_down"
,
"/misc/arrow_down.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_LEFT
=
new
DBIcon
(
"arrow_left"
,
"/misc/arrow_left.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_LEFT_ALL
=
new
DBIcon
(
"arrow_left_all"
,
"/misc/arrow_left_all.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_RIGHT
=
new
DBIcon
(
"arrow_right"
,
"/misc/arrow_right.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_RIGHT_ALL
=
new
DBIcon
(
"arrow_right_all"
,
"/misc/arrow_right_all.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ARROW_RESET
=
new
DBIcon
(
"arrow_reset"
,
"/misc/arrow_reset.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SORT_INCREASE
=
new
DBIcon
(
"sort_increase"
,
"/misc/sort_increase.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SORT_DECREASE
=
new
DBIcon
(
"sort_decrease"
,
"/misc/sort_decrease.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SORT_UNKNOWN
=
new
DBIcon
(
"sort_unknown"
,
"/misc/sort_unknown.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FRAME_QUERY
=
new
DBIcon
(
"frame_query"
,
"/misc/frame_query.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER
=
new
DBIcon
(
"filter"
,
"/misc/filter.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER_APPLY
=
new
DBIcon
(
"filter_apply"
,
"/misc/filter_apply.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
FILTER_RESET
=
new
DBIcon
(
"filter_reset"
,
"/misc/filter_reset.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
EVENT
=
new
DBIcon
(
"event"
,
"/misc/event.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
HOME
=
new
DBIcon
(
"home"
,
"/misc/home.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
COMPILE
=
new
DBIcon
(
"compile"
,
"/misc/compile.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
COMPILE_LOG
=
new
DBIcon
(
"compile_log"
,
"/misc/compile_log.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
SAVE
(
"save"
,
"/file/save.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SAVE_AS
(
"save_as"
,
"/file/save_as.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
LOAD
(
"load"
,
"/file/load.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
RESET
(
"reset"
,
"/file/reset.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
COMPARE
(
"compare"
,
"/file/compare.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ACCEPT
(
"accept"
,
"/sql/accept.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
REJECT
(
"reject"
,
"/sql/cancel.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
REVERT
(
"revert"
,
"/sql/revert.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
IMPORT
(
"import"
,
"/file/import.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
EXPORT
(
"export"
,
"/file/export.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
REFRESH
(
"refresh"
,
"/refresh.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CONFIRM
(
"confirm"
,
"/misc/confirm.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CLOSE
(
"close"
,
"/misc/close.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
JAR
(
"jar"
,
"/misc/jar.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SOURCES
(
"sources"
,
"/misc/sources.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CANCEL
(
"cancel"
,
"/misc/cancel.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SAVE
=
new
DBIcon
(
"save"
,
"/file/save.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SAVE_AS
=
new
DBIcon
(
"save_as"
,
"/file/save_as.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
LOAD
=
new
DBIcon
(
"load"
,
"/file/load.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
RESET
=
new
DBIcon
(
"reset"
,
"/file/reset.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
COMPARE
=
new
DBIcon
(
"compare"
,
"/file/compare.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ACCEPT
=
new
DBIcon
(
"accept"
,
"/sql/accept.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
REJECT
=
new
DBIcon
(
"reject"
,
"/sql/cancel.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
REVERT
=
new
DBIcon
(
"revert"
,
"/sql/revert.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
IMPORT
=
new
DBIcon
(
"import"
,
"/file/import.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
EXPORT
=
new
DBIcon
(
"export"
,
"/file/export.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
REFRESH
=
new
DBIcon
(
"refresh"
,
"/refresh.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CONFIRM
=
new
DBIcon
(
"confirm"
,
"/misc/confirm.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CLOSE
=
new
DBIcon
(
"close"
,
"/misc/close.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
JAR
=
new
DBIcon
(
"jar"
,
"/misc/jar.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SOURCES
=
new
DBIcon
(
"sources"
,
"/misc/sources.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CANCEL
=
new
DBIcon
(
"cancel"
,
"/misc/cancel.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
ROW_ADD
(
"row_add"
,
"/sql/row_add.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROW_COPY
(
"row_copy"
,
"/sql/row_copy.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROW_EDIT
(
"row_edit"
,
"/sql/row_edit.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
ROW_DELETE
(
"row_delete"
,
"/sql/row_delete.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROW_ADD
=
new
DBIcon
(
"row_add"
,
"/sql/row_add.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROW_COPY
=
new
DBIcon
(
"row_copy"
,
"/sql/row_copy.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROW_EDIT
=
new
DBIcon
(
"row_edit"
,
"/sql/row_edit.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
ROW_DELETE
=
new
DBIcon
(
"row_delete"
,
"/sql/row_delete.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
EDIT_DATABASE
(
"edit_database"
,
"/misc/edit_database.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
EDIT_TABLE
(
"edit_table"
,
"/misc/edit_table.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
EDIT_COLUMN
(
"edit_column"
,
"/misc/edit_column.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
CONFIG_TABLE
(
"edit_table"
,
"/misc/config_table.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
EDIT_DATABASE
=
new
DBIcon
(
"edit_database"
,
"/misc/edit_database.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
EDIT_TABLE
=
new
DBIcon
(
"edit_table"
,
"/misc/edit_table.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
EDIT_COLUMN
=
new
DBIcon
(
"edit_column"
,
"/misc/edit_column.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
CONFIG_TABLE
=
new
DBIcon
(
"edit_table"
,
"/misc/config_table.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_BOOLEAN
(
"boolean"
,
"/sql/types/boolean.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_NUMBER
(
"number"
,
"/sql/types/number.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_STRING
(
"string"
,
"/sql/types/string.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_DATETIME
(
"datetime"
,
"/sql/types/datetime.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_BINARY
(
"binary"
,
"/sql/types/binary.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_TEXT
(
"text"
,
"/sql/types/text.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_XML
(
"xml"
,
"/sql/types/xml.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_LOB
(
"lob"
,
"/sql/types/lob.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_ARRAY
(
"array"
,
"/sql/types/array.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_STRUCT
(
"struct"
,
"/sql/types/struct.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_DOCUMENT
(
"document"
,
"/sql/types/document.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_OBJECT
(
"object"
,
"/sql/types/object.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_IMAGE
(
"image"
,
"/sql/types/image.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_REFERENCE
(
"reference"
,
"/sql/types/reference.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_ROWID
(
"rowid"
,
"/sql/types/rowid.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_ANY
(
"any"
,
"/sql/types/any.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_UUID
(
"uuid"
,
"/sql/types/uuid.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
TYPE_UNKNOWN
(
"unknown"
,
"/sql/types/unknown.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_BOOLEAN
=
new
DBIcon
(
"boolean"
,
"/sql/types/boolean.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_NUMBER
=
new
DBIcon
(
"number"
,
"/sql/types/number.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_STRING
=
new
DBIcon
(
"string"
,
"/sql/types/string.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_DATETIME
=
new
DBIcon
(
"datetime"
,
"/sql/types/datetime.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_BINARY
=
new
DBIcon
(
"binary"
,
"/sql/types/binary.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_TEXT
=
new
DBIcon
(
"text"
,
"/sql/types/text.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_XML
=
new
DBIcon
(
"xml"
,
"/sql/types/xml.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_LOB
=
new
DBIcon
(
"lob"
,
"/sql/types/lob.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_ARRAY
=
new
DBIcon
(
"array"
,
"/sql/types/array.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_STRUCT
=
new
DBIcon
(
"struct"
,
"/sql/types/struct.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_DOCUMENT
=
new
DBIcon
(
"document"
,
"/sql/types/document.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_OBJECT
=
new
DBIcon
(
"object"
,
"/sql/types/object.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_IMAGE
=
new
DBIcon
(
"image"
,
"/sql/types/image.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_REFERENCE
=
new
DBIcon
(
"reference"
,
"/sql/types/reference.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_ROWID
=
new
DBIcon
(
"rowid"
,
"/sql/types/rowid.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_ANY
=
new
DBIcon
(
"any"
,
"/sql/types/any.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_UUID
=
new
DBIcon
(
"uuid"
,
"/sql/types/uuid.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
TYPE_UNKNOWN
=
new
DBIcon
(
"unknown"
,
"/sql/types/unknown.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
SQL_CONNECT
(
"sql_connect"
,
"/sql/connect.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_DISCONNECT
(
"sql_disconnect"
,
"/sql/disconnect.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_SCRIPT
(
"sql_script"
,
"/sql/sql_script.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_EXECUTE
(
"sql_exec"
,
"/sql/sql_exec.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_SCRIPT_EXECUTE
(
"sql_script_exec"
,
"/sql/sql_script_exec.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_ANALYSE
(
"sql_analyse"
,
"/sql/sql_analyse.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_EXPLAIN_PLAN
(
"sql_explain"
,
"/sql/sql_plan.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_VALIDATE
(
"sql_validate"
,
"/sql/sql_validate.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_PREVIEW
(
"sql_preview"
,
"/sql/sql_preview.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SQL_TEXT
(
"sql_text"
,
"/sql/sql_text.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
SAVE_TO_DATABASE
(
"save_to_db"
,
"/sql/save_to_database.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_CONNECT
=
new
DBIcon
(
"sql_connect"
,
"/sql/connect.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_DISCONNECT
=
new
DBIcon
(
"sql_disconnect"
,
"/sql/disconnect.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_SCRIPT
=
new
DBIcon
(
"sql_script"
,
"/sql/sql_script.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_EXECUTE
=
new
DBIcon
(
"sql_exec"
,
"/sql/sql_exec.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_SCRIPT_EXECUTE
=
new
DBIcon
(
"sql_script_exec"
,
"/sql/sql_script_exec.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_ANALYSE
=
new
DBIcon
(
"sql_analyse"
,
"/sql/sql_analyse.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_EXPLAIN_PLAN
=
new
DBIcon
(
"sql_explain"
,
"/sql/sql_plan.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_VALIDATE
=
new
DBIcon
(
"sql_validate"
,
"/sql/sql_validate.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_PREVIEW
=
new
DBIcon
(
"sql_preview"
,
"/sql/sql_preview.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SQL_TEXT
=
new
DBIcon
(
"sql_text"
,
"/sql/sql_text.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
SAVE_TO_DATABASE
=
new
DBIcon
(
"save_to_db"
,
"/sql/save_to_database.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
OVER_SUCCESS
(
"over_success"
,
"/over/success_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_FAILED
(
"over_failed"
,
"/over/failed_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_ERROR
(
"over_error"
,
"/over/error_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_UNKNOWN
(
"over_condition"
,
"/over/conditional_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_LAMP
(
"over_lamp"
,
"/over/lamp_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_KEY
(
"over_key"
,
"/over/key_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_LOCK
(
"over_lock"
,
"/over/lock_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_EXTERNAL
(
"over_external"
,
"/over/external_ovr.png"
),
//$NON-NLS-1$ //$NON-NLS-2$
OVER_REFERENCE
(
"over_reference"
,
"/over/reference_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_SUCCESS
=
new
DBIcon
(
"over_success"
,
"/over/success_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_FAILED
=
new
DBIcon
(
"over_failed"
,
"/over/failed_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_ERROR
=
new
DBIcon
(
"over_error"
,
"/over/error_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_UNKNOWN
=
new
DBIcon
(
"over_condition"
,
"/over/conditional_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_LAMP
=
new
DBIcon
(
"over_lamp"
,
"/over/lamp_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_KEY
=
new
DBIcon
(
"over_key"
,
"/over/key_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_LOCK
=
new
DBIcon
(
"over_lock"
,
"/over/lock_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_EXTERNAL
=
new
DBIcon
(
"over_external"
,
"/over/external_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
public
static
final
DBIcon
OVER_REFERENCE
=
new
DBIcon
(
"over_reference"
,
"/over/reference_ovr.png"
);
//$NON-NLS-1$ //$NON-NLS-2$
private
final
String
token
;
private
final
String
path
;
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/model/DBIconCustom.java
0 → 100644
浏览文件 @
df9086ad
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package
org.jkiss.dbeaver.model
;
import
java.io.File
;
import
java.io.IOException
;
/**
* Image with overlays
*/
public
class
DBIconCustom
implements
DBPImage
{
private
final
DBPImage
main
;
private
final
boolean
disabled
;
private
final
DBPImage
topLeft
,
topRight
,
bottomLeft
,
bottomRight
;
public
DBIconCustom
(
DBPImage
main
,
boolean
disabled
,
DBPImage
topLeft
,
DBPImage
topRight
,
DBPImage
bottomLeft
,
DBPImage
bottomRight
)
{
this
.
main
=
main
;
this
.
disabled
=
disabled
;
this
.
topLeft
=
topLeft
;
this
.
topRight
=
topRight
;
this
.
bottomLeft
=
bottomLeft
;
this
.
bottomRight
=
bottomRight
;
}
public
boolean
isDisabled
()
{
return
disabled
;
}
public
DBPImage
getTopLeft
()
{
return
topLeft
;
}
public
DBPImage
getTopRight
()
{
return
topRight
;
}
public
DBPImage
getBottomLeft
()
{
return
bottomLeft
;
}
public
DBPImage
getBottomRight
()
{
return
bottomRight
;
}
@Override
public
String
getLocation
()
{
return
main
.
getLocation
();
}
@Override
public
File
getFile
()
throws
IOException
{
return
main
.
getFile
();
}
}
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/DBeaverIcons.java
浏览文件 @
df9086ad
...
...
@@ -22,9 +22,10 @@ import org.eclipse.jface.resource.ImageDescriptor;
import
org.eclipse.swt.graphics.Image
;
import
org.jkiss.dbeaver.core.Log
;
import
org.jkiss.dbeaver.model.DBIcon
;
import
org.osgi.framework.Bundle
;
import
java.io.IOException
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Modifier
;
import
java.net.URL
;
import
java.util.HashMap
;
import
java.util.Map
;
...
...
@@ -46,8 +47,12 @@ public class DBeaverIcons
public
static
void
initRegistry
()
{
for
(
DBIcon
icon
:
DBIcon
.
values
())
{
for
(
Field
field
:
DBIcon
.
class
.
getDeclaredFields
())
{
if
((
field
.
getModifiers
()
&
Modifier
.
STATIC
)
==
0
||
field
.
getType
()
!=
DBIcon
.
class
)
{
continue
;
}
try
{
DBIcon
icon
=
(
DBIcon
)
field
.
get
(
null
);
ImageDescriptor
imageDescriptor
=
ImageDescriptor
.
createFromURL
(
new
URL
(
icon
.
getLocation
()));
IconDescriptor
iconDescriptor
=
new
IconDescriptor
();
iconDescriptor
.
id
=
icon
;
...
...
@@ -58,7 +63,7 @@ public class DBeaverIcons
continue
;
}
iconMap
.
put
(
icon
.
getToken
(),
iconDescriptor
);
}
catch
(
IO
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
);
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录