View Javadoc

1   package com.explosion.datastream.exql;
2   /* =============================================================================
3    *       
4    *     Copyright 2004 Stephen Cowx
5    *
6    *     Licensed under the Apache License, Version 2.0 (the "License");
7    *     you may not use this file except in compliance with the License.
8    *     You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   *     Unless required by applicable law or agreed to in writing, software
13   *     distributed under the License is distributed on an "AS IS" BASIS,
14   *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   *     See the License for the specific language governing permissions and
16   *     limitations under the License.
17   * 
18   * =============================================================================
19   */
20  
21  
22  /***
23   * Author: Stephen Cowx
24   * Date: Dec 9, 2002
25   * Time: 11:54:36 PM
26   **/
27  
28  public interface EXQLConstants
29  {
30    public static final String RDBMS_OPTION_ALLOW_DB_UPDATES = "allowdbupdates";
31    public static final String RDBMS_OPTION_FULL_TABLE_INFO_ON_STARTUP = "fulltableinfoonstartup";
32    public static final String RDBMS_OPTION_REMEMBER_COMMAND_HISTORY = "persistcommandhistory";
33    public static final String RDBMS_OPTION_MAXCOMMANDSPERSISTED = "maxpersistedcommands";
34    
35    public static final String RDBMS_OPTION_MAX_AUTO_COLUMNWIDTH = "maxcolumnwidth";
36    public static final String RDBMS_OPTION_SHOW_GRID = "showgrid";
37    public static final String RDBMS_OPTION_SHOW_HORIZONTAL_GRID_LINES = "showhgrid";
38    public static final String RDBMS_OPTION_SHOW_VERTICAL_GRID_LINES = "showvgrid";
39    public static final String RDBMS_OPTION_CLIENTSIDE_SORTING = "sortclientside";
40    
41    public static final String MENU_CONNECTION           = "MENU_CONNECTION";
42    public static final String MENU_OPEN_CONNECTION      = "MENU_OPEN_CONNECTION";
43    public static final String MENU_NEW_CONNECTION       = "MENU_NEW_CONNECTION";
44    public static final String MENU_NEW_DRIVER           = "MENU_NEW_DRIVER";
45    public static final String MENU_RDBMS_ADD            = "MENU_RDBMS_ADD";
46    public static final String MENU_CONNECTIONS          = "MENU_CONNECTIONS";
47    public static final String MENU_CLOSE_CONNECTION     = "MENU_CLOSE_CONNECTION";
48    public static final String MENU_CLOSEALL_CONNECTIONS = "MENU_CLOSEALL_CONNECTIONS";
49    public static final String MENU_DRIVERS              = "MENU_DRIVERS";
50    public static final String MENU_TEST                 = "MENU_TEST";
51    public static final String MENU_REFRESH              = "MENU_REFRESH";
52  	
53    public static final String MENU_RUNSCRIPT            = "MENU_RUNSCRIPT";
54    public static final String MENU_EDIT_SQL             = "MENU_EDIT_SQL";
55    public static final String MENU_FORMAT_SQL           = "MENU_FORMAT_SQL";
56    public static final String MENU_EXPORT               = "MENU_EXPORT";
57    public static final String MENU_EXPORT_SELECTED      = "MENU_EXPORT_SELECTED"; 
58    
59    public static final String MENU_INSERT_ROW           = "MENU_INSERT_ROW";
60    public static final String MENU_DELETE_ROW           = "MENU_DELETE_ROW";
61    public static final String MENU_DUPLICATE_ROW        = "MENU_DUPLICATE_ROW";
62    public static final String MENU_EXECUTE_CHANGES      = "MENU_EXECUTE_CHANGES";
63    public static final String MENU_COMMIT_CHANGES       = "MENU_COMMIT_CHANGES";
64    
65    public static final String BROWSER_COLORS_FOREGROUND        = "browser_col_foreground";
66    public static final String BROWSER_COLORS_BACKGROUND        = "browser_col_background";
67    public static final String BROWSER_COLOR_SELECTEDFORGROUND  = "browser_col_sel_foreground";
68    public static final String BROWSER_COLOR_SELECTEDBACKGROUND = "browser_col_sel_background";
69    public static final String BROWSER_FONT                     = "browser_font";
70    
71    public static final String TABLE_EDIT_DELETED_COLORS_FOREGROUND  = "table_edit_del_col_foreground";
72    public static final String TABLE_EDIT_DELETED_COLORS_BACKGROUND  = "table_edit_del_col_background";
73    public static final String TABLE_EDIT_ADD_COLORS_FOREGROUND      = "table_edit_add_col_foreground";
74    public static final String TABLE_EDIT_ADD_COLORS_BACKGROUND      = "table_edit_add_col_background";
75    public static final String TABLE_NONEDITABLE_COLORS_FOREGROUND   = "table_noneditable_col_foreground";
76    public static final String TABLE_NONEDITABLE_COLORS_BACKGROUND   = "table_noneditable_col_background";
77    public static final String TABLE_NULL_INDICATOR_BACKGROUND       = "table_nullindicator_col_background";
78    
79    public static final String TABLE_COLORS_FOREGROUND        = "table_col_foreground";
80    public static final String TABLE_COLORS_BACKGROUND        = "table_col_background";
81    public static final String TABLE_COLOR_SELECTEDFORGROUND  = "table_col_sel_foreground";
82    public static final String TABLE_COLOR_SELECTEDBACKGROUND = "table_col_sel_background";
83    public static final String TABLE_GRID_COLOR               = "table_col_grid";
84    public static final String TABLE_FONT                     = "table_font";
85    
86    public static final String COMMANDER_BROWSE_MODE_FOREGROUND_COLOR  = "cmmndr_browsemode_foreground";
87    public static final String COMMANDER_BROWSE_MODE_BACKGROUND_COLOR  = "cmmndr_browsemode_background";
88    public static final String COMMANDER_EDIT_MODE_FOREGROUND_COLOR    = "cmmndr_editmode_foreground";
89    public static final String COMMANDER_EDIT_MODE_BACKGROUND_COLOR    = "cmmndr_editmode_background";  
90    public static final String COMMANDER_COLOR_SELECTEDFORGROUND       = "cmmndr_selectedforeground";  
91    public static final String COMMANDER_COLOR_SELECTEDBACKGROUND      = "cmmndr_selectedbackground";  
92    public static final String COMMANDER_FONT                          = "cmmndr_font";
93    
94    public static final String EDIT_CONNECTIONS_IMAGE = "com/explosion/datastream/resources/images/db/ds_connections_icon.gif";
95    public static final String EDIT_DRIVERS_IMAGE = "com/explosion/datastream/resources/images/db/ds_drivers_icon.gif";
96    
97    public static final String TABLE_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_table_icon.gif";
98    public static final String CATALOG_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_catalog_icon.gif";
99    public static final String COLUMN_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_column_icon.gif";
100   public static final String COLUMN_PK_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_column_pk_icon.gif";
101   public static final String COLUMN_FK_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_column_fk_icon.gif";
102   public static final String DB_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_icon.gif";
103   public static final String VIEW_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_view_icon.gif";
104   public static final String SYSTEM_TABLE_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_systable_icon.gif";
105   public static final String SCHEMA_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_schema_icon.gif";
106   public static final String SYNONYM_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_synonym_icon.gif";
107 
108   public static final String REFRESH_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_refresh_icon.gif";
109   public static final String RUNSCRIPT_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_runscript_icon.gif";
110   public static final String EDIT_SQL_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_editsql_icon.gif";
111   public static final String FORMAT_SQL_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_formatsql_icon.gif";
112   public static final String DELETE_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_delete_icon.gif";
113   public static final String ADD_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_addnew_icon.gif";
114   public static final String FILTER_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_filter_icon.gif";
115   public static final String COMMIT_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_commit_icon.gif";
116   public static final String EXECUTE_ICON_IMAGE = "com/explosion/datastream/resources/images/db/ds_db_execute_icon.gif";
117   
118   public static final String SPIN_ICON_IMAGE_SEED = "com/explosion/datastream/resources/images/anims/busystar/star_f";
119   public static final String SEARCH_ICON_IMAGE_SEED = "com/explosion/datastream/resources/images/anims/search/search_f";
120   public static final String SPINSTAR_ICON_IMAGE_SEED = "com/explosion/datastream/resources/images/anims/spinstarsmall/spinnngstar_f";
121                                                       
122   public static final String CHOOSE_NEW_FILE_NAME = "<Choose new file>";
123 
124 }