Revision 3017 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/src/main/java/org/gvsig/tools/swing/impl/ToolsSwingDefaultImplLibrary.java
ToolsSwingDefaultImplLibrary.java | ||
---|---|---|
119 | 119 |
ToolsSwingDefaultImplLibrary.class, |
120 | 120 |
"/org/gvsig/tools/swing/impl/datatypes/images", |
121 | 121 |
LIBRARY_NAME, |
122 |
new String[] { "DataTypes", "datatype-any" },
|
|
123 |
new String[] { "DataTypes", "datatype-binary" },
|
|
124 |
new String[] { "DataTypes", "datatype-boolean" },
|
|
125 |
new String[] { "DataTypes", "datatype-byte" },
|
|
126 |
new String[] { "DataTypes", "datatype-bytearray" },
|
|
127 |
new String[] { "DataTypes", "datatype-date" },
|
|
128 |
new String[] { "DataTypes", "datatype-double" },
|
|
129 |
new String[] { "DataTypes", "datatype-decimal" },
|
|
130 |
new String[] { "DataTypes", "datatype-float" },
|
|
131 |
new String[] { "DataTypes", "datatype-image" },
|
|
132 |
new String[] { "DataTypes", "datatype-integer" },
|
|
133 |
new String[] { "DataTypes", "datatype-locale" },
|
|
134 |
new String[] { "DataTypes", "datatype-long" },
|
|
135 |
new String[] { "DataTypes", "datatype-object" },
|
|
136 |
new String[] { "DataTypes", "datatype-string" },
|
|
137 |
new String[] { "DataTypes", "datatype-text" },
|
|
138 |
new String[] { "DataTypes", "datatype-time" },
|
|
139 |
new String[] { "DataTypes", "datatype-timestamp" }
|
|
122 |
new String[] { "datatypes", "datatype-any" },
|
|
123 |
new String[] { "datatypes", "datatype-binary" },
|
|
124 |
new String[] { "datatypes", "datatype-boolean" },
|
|
125 |
new String[] { "datatypes", "datatype-byte", null, "Byte o entero de 0 a 255, o -127 a 128." },
|
|
126 |
new String[] { "datatypes", "datatype-bytearray", null, "Array de bytes." },
|
|
127 |
new String[] { "datatypes", "datatype-date", null, "Dia (dia, mes, a?o, sin la hora)." },
|
|
128 |
new String[] { "datatypes", "datatype-double", null, "Valor decimal grande de precisi?n variable." },
|
|
129 |
new String[] { "datatypes", "datatype-decimal", null, "Valor decimal de precisi?n fija." },
|
|
130 |
new String[] { "datatypes", "datatype-float", null, "Valor decimal peque?o de precision variable " },
|
|
131 |
new String[] { "datatypes", "datatype-image" },
|
|
132 |
new String[] { "datatypes", "datatype-integer", null, "Entero." },
|
|
133 |
new String[] { "datatypes", "datatype-locale", null, "Configuraci?n regional, por ejemplo:\n- Espa?ol de Espa?a (es_ES)\n? Espa?ol de Argentina (es_AR)\n- Ingl?s, Reino Unido (en_GB)\n- Ingl?s, Estados Unidos (es_US)" },
|
|
134 |
new String[] { "datatypes", "datatype-long", null, "Entero grande" },
|
|
135 |
new String[] { "datatypes", "datatype-object" },
|
|
136 |
new String[] { "datatypes", "datatype-string", null, "Cadena de texto" },
|
|
137 |
new String[] { "datatypes", "datatype-text", null, "Cadena de texto grande" },
|
|
138 |
new String[] { "datatypes", "datatype-time", null, "Hora (horas, minutos y segundos)" },
|
|
139 |
new String[] { "datatypes", "datatype-timestamp", null, "D?a y hora" }
|
|
140 | 140 |
); |
141 | 141 |
ToolsSwingUtils.registerIcons( |
142 | 142 |
ToolsSwingDefaultImplLibrary.class, |
143 | 143 |
"/org/gvsig/tools/swing/impl/common", |
144 | 144 |
LIBRARY_NAME, |
145 |
new String[] { "Common", "common-applychanges" }, |
|
146 |
new String[] { "Common", "common-folder-open" }, |
|
147 |
new String[] { "Common", "common-folder-closed" }, |
|
148 |
new String[] { "Common", "common-leaf" }, |
|
149 |
new String[] { "Common", "common-filter" }, |
|
150 |
new String[] { "Common", "common-refresh" }, |
|
151 |
new String[] { "Common", "common-more" }, |
|
152 |
new String[] { "Common", "common-showform" }, |
|
145 |
new String[] { "common", "common-applychanges", "common-others", "Aparece en botones normalmente con la etiqueta ?Aplicar cambios?." }, |
|
146 |
new String[] { "common", "common-filter", "common-others", "Se presenta junto algunas cajas de texto que permiten filtrar el contenido de una lista o tabla. El usuario introduce en la caja el filtro y pulsa enter o hace clic en este bot?n para que se ejecute el filtro." }, |
|
147 |
new String[] { "common", "common-refresh", "common-others", "Bot?n gen?rico de actualizar o refrescar los contenidos de un componente." }, |
|
148 |
new String[] { "common", "common-more", "common-others", "Usado en botones que normalmente llevan la etiqueta ?Mas??." }, |
|
149 |
new String[] { "common", "common-showform", "common-others", "Imagen gen?rica usada en botones que muestran el formulario de datos. Hay varios iconos que duplican a este y que mientras no se cambien deber?a tener la misma imagen." }, |
|
150 |
new String[] { "common", "common-add", "common-others", "" }, |
|
151 |
new String[] { "common", "common-remove", "common-others", "" }, |
|
152 |
new String[] { "common", "common-sortdown", "common-others", "Se presenta junto a listas o tablas, y suele tener dos usos:\n? Como bot?n de acci?n. Al pulsarlo se ordena la lista de forma descendente.\n? Como bot?n de selecci?n (se queda pulsado al hacer clic sobre el). Indica que hay que ordenar descendentemente por el elemento seleccionado en la lista." }, |
|
153 |
new String[] { "common", "common-sortup", "common-others", "Similar a common-sortdown pero ascendente" }, |
|
154 |
new String[] { "common", "common-start", "common-others" }, |
|
155 |
new String[] { "common", "common-stop", "common-others" }, |
|
156 |
new String[] { "common", "common-copy", "common-others" }, |
|
153 | 157 |
|
154 |
new String[] { "Common", "common-form-cancelnew" }, |
|
155 |
new String[] { "Common", "common-form-close" }, |
|
156 |
new String[] { "Common", "common-form-copy" }, |
|
157 |
new String[] { "Common", "common-form-delete" }, |
|
158 |
new String[] { "Common", "common-form-first" }, |
|
159 |
new String[] { "Common", "common-form-last" }, |
|
160 |
new String[] { "Common", "common-form-needrefresh" }, |
|
161 |
new String[] { "Common", "common-form-new" }, |
|
162 |
new String[] { "Common", "common-form-next" }, |
|
163 |
new String[] { "Common", "common-form-previous" }, |
|
164 |
new String[] { "Common", "common-form-print" }, |
|
165 |
new String[] { "Common", "common-form-problemindicator" }, |
|
166 |
new String[] { "Common", "common-form-refresh" }, |
|
167 |
new String[] { "Common", "common-form-save" }, |
|
168 |
new String[] { "Common", "common-form-search" }, |
|
158 |
new String[] { "common", "common-arrow-left", "common-arrows" }, |
|
159 |
new String[] { "common", "common-arrow-right", "common-arrows" }, |
|
160 |
new String[] { "common", "common-arrow-up", "common-arrows" }, |
|
161 |
new String[] { "common", "common-arrow-down", "common-arrows" }, |
|
169 | 162 |
|
170 |
new String[] { "Common", "common-sortdown" }, |
|
171 |
new String[] { "Common", "common-check-on" }, |
|
172 |
new String[] { "Common", "common-check-onsmart" }, |
|
173 |
new String[] { "Common", "common-check-off" }, |
|
174 |
new String[] { "Common", "common-collapse-all" }, |
|
175 |
new String[] { "Common", "common-expand-all" }, |
|
163 |
new String[] { "common", "common-folder-open", "common-tree", "Usada para representar una carpeta expandida en el arbol" }, |
|
164 |
new String[] { "common", "common-folder-closed", "common-tree", "Usada para representar una capeta en el arbol" }, |
|
165 |
new String[] { "common", "common-leaf", "common-tree", "Usada para representar una rama final o hoja en el arbol" }, |
|
166 |
new String[] { "common", "common-collapse-all", "common-tree", "Colapsa o cierra todas las ramas del arbol" }, |
|
167 |
new String[] { "common", "common-expand-all", "common-tree", "Expande todas las ramas del arbol." }, |
|
176 | 168 |
|
177 |
new String[] { "Common", "common-arrow-left" }, |
|
178 |
new String[] { "Common", "common-arrow-right" }, |
|
179 |
new String[] { "Common", "common-arrow-up" }, |
|
180 |
new String[] { "Common", "common-arrow-down" } |
|
169 |
new String[] { "common", "common-form-cancelnew", "common-form", "" }, |
|
170 |
new String[] { "common", "common-form-close", "common-form", "" }, |
|
171 |
new String[] { "common", "common-form-copy", "common-form", "" }, |
|
172 |
new String[] { "common", "common-form-delete", "common-form", "" }, |
|
173 |
new String[] { "common", "common-form-first", "common-form", "" }, |
|
174 |
new String[] { "common", "common-form-last", "common-form", "" }, |
|
175 |
new String[] { "common", "common-form-needrefresh", "common-form", "" }, |
|
176 |
new String[] { "common", "common-form-new", "common-form", "" }, |
|
177 |
new String[] { "common", "common-form-next", "common-form", "" }, |
|
178 |
new String[] { "common", "common-form-previous", "common-form", "" }, |
|
179 |
new String[] { "common", "common-form-print", "common-form", "" }, |
|
180 |
new String[] { "common", "common-form-problemindicator", "common-form", "" }, |
|
181 |
new String[] { "common", "common-form-refresh", "common-form", "" }, |
|
182 |
new String[] { "common", "common-form-save", "common-form", "" }, |
|
183 |
new String[] { "common", "common-form-search", "common-form", "" }, |
|
184 |
new String[] { "common", "common-form-compute", "common-form", "" }, |
|
185 |
|
|
186 |
new String[] { "common", "common-go-first", "common-toolbargo", "" }, |
|
187 |
new String[] { "common", "common-go-last", "common-toolbargo", "" }, |
|
188 |
new String[] { "common", "common-go-next", "common-toolbargo", "" }, |
|
189 |
new String[] { "common", "common-go-next-fast", "common-toolbargo", "" }, |
|
190 |
new String[] { "common", "common-go-previous-fast", "common-toolbargo", "" }, |
|
191 |
new String[] { "common", "common-go-previous", "common-toolbargo", "" }, |
|
192 |
|
|
193 |
new String[] { "common", "common-check-on", "common-checks" }, |
|
194 |
new String[] { "common", "common-check-onsmart", "common-checks" }, |
|
195 |
new String[] { "common", "common-check-off", "common-checks" } |
|
196 |
|
|
181 | 197 |
); |
182 | 198 |
ToolsSwingUtils.registerIcons( |
183 | 199 |
ToolsSwingDefaultImplLibrary.class, |
184 | 200 |
"/org/gvsig/tools/swing/picker", |
185 | 201 |
LIBRARY_NAME, |
186 |
new String[] { "picker", "picker-bytearray-download" }, |
|
187 |
new String[] { "picker", "picker-bytearray-editastext" }, |
|
188 |
new String[] { "picker", "picker-bytearray-setnull" },
|
|
189 |
new String[] { "picker", "picker-bytearray-upload" }, |
|
190 |
new String[] { "picker", "picker-cleartext" }, |
|
191 |
new String[] { "picker", "picker-color" }, |
|
192 |
new String[] { "picker", "picker-date" }, |
|
193 |
new String[] { "picker", "picker-file" }, |
|
194 |
new String[] { "picker", "picker-folder" }, |
|
195 |
new String[] { "picker", "picker-script-remove" }, |
|
196 |
new String[] { "picker", "picker-script" }, |
|
197 |
new String[] { "picker", "picker-datatype" } |
|
202 |
new String[] { "picker", "picker-bytearray-download","picker-bytearray" },
|
|
203 |
new String[] { "picker", "picker-bytearray-editastext","picker-bytearray" },
|
|
204 |
// new String[] { "picker", "picker-bytearray-setnull","picker-bytearray" },
|
|
205 |
new String[] { "picker", "picker-bytearray-upload","picker-bytearray" },
|
|
206 |
new String[] { "picker", "picker-cleartext", "picker-cleartext", "Se utiliza para presentar un bot?n dentro de la capa de texto, a la derecha de esta y permite al usuario borrar el contenido de esta al pulsar sobre el." },
|
|
207 |
new String[] { "picker", "picker-color", "picker-color" },
|
|
208 |
new String[] { "picker", "picker-date", "picker-date" },
|
|
209 |
new String[] { "picker", "picker-file", "picker-file" },
|
|
210 |
new String[] { "picker", "picker-folder", "picker-folder" },
|
|
211 |
new String[] { "picker", "picker-script-remove", "picker-script" },
|
|
212 |
new String[] { "picker", "picker-script", "picker-script" },
|
|
213 |
new String[] { "picker", "picker-datatype", "picker-datatype" }
|
|
198 | 214 |
); |
215 |
|
|
216 |
ToolsSwingUtils.registerGroupIconDescription("datatypes","Images used in lists and dropdowns where the available data types are presented next to the type name for the user to select a data type."); |
|
217 |
ToolsSwingUtils.registerGroupIconDescription("common","Images in the 'common' group are not used as images associated with menu actions or the toolbar. They are images that are used in buttons along the different panels of the application."); |
|
218 |
ToolsSwingUtils.registerGroupIconDescription("picker","These are images that are part of a component that allows the user to enter a special type of data. For example, when you need to enter a file name in the application, a text box usually appears with a button to the right of it. Clicking on the button displays the file selection dialog, and then the selected file is displayed in the text box. Just as there is the file selection component made up of a text box and a button, there are others to select a date, a color or a CRS. In gvSIG desktop we call these components 'pickers', each of them presenting specific images in the buttons they have associated. These images are the ones that appear in the 'picker' group. These types of components help to present a uniform appearance of the application in the parts of the application that have data input."); |
|
219 |
|
|
220 |
ToolsSwingUtils.registerSubgroupIconDescription("common","common-others",""); |
|
221 |
ToolsSwingUtils.registerSubgroupIconDescription("common","common-arrows",""); |
|
222 |
ToolsSwingUtils.registerSubgroupIconDescription("common","common-tree","Estas imagenes suelen usarse en los arboles o botones asociados a los arboles."); |
|
223 |
ToolsSwingUtils.registerSubgroupIconDescription("common","common-form","Estos botones son usados en la barra de herramientas especifica de los formularios de datos."); |
|
224 |
ToolsSwingUtils.registerSubgroupIconDescription("common","common-checks","Normalmente usados para indicar marcar todo, ninguno, o algunos seg?n algun criterio especifico del contexto."); |
|
225 |
|
|
226 |
ToolsSwingUtils.registerSubgroupIconDescription("picker","picker-bytearray","Asociado a un dato binario o array-de-bytes. Tiene asociados varios botones."); |
|
227 |
ToolsSwingUtils.registerSubgroupIconDescription("picker","picker-color","Usados en los compoenents de selecci?n de color"); |
|
228 |
ToolsSwingUtils.registerSubgroupIconDescription("picker","picker-datatype","Es usado en el componente de selecci?n de tipo de datos."); |
|
229 |
ToolsSwingUtils.registerSubgroupIconDescription("picker","picker-date","Usados en los compoenents de selecci?n de color"); |
|
230 |
|
|
231 |
ToolsSwingUtils.registerSubgroupIconScreenshot( |
|
232 |
ToolsSwingDefaultImplLibrary.class, |
|
233 |
"picker", |
|
234 |
"picker-bytearray", |
|
235 |
"/org/gvsig/tools/swing/impl/screenshots/picker-bytearray.png" |
|
236 |
); |
|
237 |
|
|
199 | 238 |
} |
200 | 239 |
} |
Also available in: Unified diff