Revision 9681
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
202 | 202 |
_Do_you_want_to_continue_anyway=\u00bfDesea continuar de todos modos? |
203 | 203 |
_Dont_add_the_tables_or_layers_to_the_project=No a\u00f1adir las tablas/capas al proyecto |
204 | 204 |
_Add_layers_to_view=A\u00f1adir las capas a la vista |
205 |
_Add_as_table_document_to_project=A\u00f1adir como documetos de tabla al proyecto
|
|
205 |
_Add_as_table_document_to_project=A\u00f1adir como documento tabla al proyecto
|
|
206 | 206 |
_Select_working_area=Seleccionar \u00e1rea de trabajo |
207 | 207 |
_Name=Nombre |
208 | 208 |
_Label=Etiqueta |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/java/org/gvsig/online/app/mainplugin/OnlineExtension.java | ||
---|---|---|
461 | 461 |
OnlineJDownload downloadPanel = (OnlineJDownload) this.dialogsHelper.getDialog("Download").getPanel(); |
462 | 462 |
int r = downloadPanel.actionPerformed(); |
463 | 463 |
if (r != 0) { |
464 |
List<String> layerNames = downloadPanel.getSelectedLayers(); |
|
464 |
List<String> layerNames = downloadPanel.getSelectedLayerNames();
|
|
465 | 465 |
dialogsManager.messageDialog( |
466 | 466 |
i18n.getTranslation( |
467 | 467 |
"_Failed_download_of_{0}", |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/java/org/gvsig/online/app/mainplugin/OnlineSwingServicesImpl.java | ||
---|---|---|
26 | 26 |
import javax.swing.ListModel; |
27 | 27 |
import javax.swing.tree.TreeModel; |
28 | 28 |
import org.apache.commons.lang3.StringUtils; |
29 |
import org.cresques.cts.IProjection; |
|
29 | 30 |
import org.gvsig.andami.PluginsLocator; |
30 | 31 |
import org.gvsig.app.ApplicationLocator; |
31 | 32 |
import org.gvsig.app.ApplicationManager; |
... | ... | |
145 | 146 |
return model; |
146 | 147 |
} |
147 | 148 |
|
149 |
public IProjection getDocumentProjection(Object document) { |
|
150 |
if( !(document instanceof ViewDocument)) { |
|
151 |
return null; |
|
152 |
} |
|
153 |
ViewDocument view = (ViewDocument) document; |
|
154 |
return view.getProjection(); |
|
155 |
} |
|
148 | 156 |
// @Override |
149 | 157 |
// public void addLayerToView(FeatureStore store, LabeledValue labeledView) { |
150 | 158 |
// addLayerToView(store, labeledView, null, null, false); |
... | ... | |
373 | 381 |
|
374 | 382 |
List<Document> views = project.getDocuments(ViewManager.TYPENAME); |
375 | 383 |
for (Document doc : views) { |
384 |
ViewDocument view = (ViewDocument) doc; |
|
385 |
for (Iterator<FLayer> it = view.deepiterator(); it.hasNext();) { |
|
386 |
FLayer layer = it.next(); |
|
387 |
if (layer instanceof FLyrVect) { |
|
388 |
FeatureStore layerStore = ((FLyrVect) layer).getFeatureStore(); |
|
389 |
if (layerStore != null ) { |
|
390 |
try { |
|
391 |
layerStore.refresh(); |
|
392 |
} catch (Exception ex) { |
|
393 |
LOGGER.warn("Can't refresh store from layer '" + layer.getName() + "'.", ex); |
|
394 |
} |
|
395 |
} |
|
396 |
} |
|
397 |
} |
|
376 | 398 |
doc.refresh(); |
377 | 399 |
} |
378 | 400 |
List<Document> tables = project.getDocuments(TableManager.TYPENAME); |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.api/src/main/java/org/gvsig/online/swing/api/OnlineJDownload.java | ||
---|---|---|
16 | 16 |
|
17 | 17 |
public OnlineWorkingcopy getWorkingcopy(); |
18 | 18 |
|
19 |
public List<String> getSelectedLayers(); |
|
19 |
public List<String> getSelectedLayerNames();
|
|
20 | 20 |
|
21 | 21 |
} |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.api/src/main/java/org/gvsig/online/swing/api/OnlineSwingServices.java | ||
---|---|---|
11 | 11 |
import javax.swing.Icon; |
12 | 12 |
import javax.swing.ListModel; |
13 | 13 |
import javax.swing.tree.TreeModel; |
14 |
import org.cresques.cts.IProjection; |
|
14 | 15 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
15 | 16 |
import org.gvsig.fmap.dal.store.jdbc.JDBCStoreParameters; |
16 | 17 |
import org.gvsig.fmap.geom.Geometry; |
... | ... | |
35 | 36 |
public void addTableToProject(OnlineWorkingcopy ws, FeatureStore store); |
36 | 37 |
|
37 | 38 |
public ComboBoxModel<LabeledValue> getViewDocumentsComboBoxModel(); |
39 |
|
|
40 |
public IProjection getDocumentProjection(Object document); |
|
38 | 41 |
|
39 | 42 |
public void addLayerToView(FeatureStore store, LabeledValue view, String groupName, String name, boolean replaceLayerIfExists); |
40 | 43 |
|
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadImpl.java | ||
---|---|---|
28 | 28 |
import java.util.Collections; |
29 | 29 |
import java.util.List; |
30 | 30 |
import java.util.stream.Collectors; |
31 |
import javax.swing.ComboBoxModel; |
|
32 | 31 |
import javax.swing.ImageIcon; |
33 | 32 |
import javax.swing.JComponent; |
34 | 33 |
import javax.swing.SwingUtilities; |
... | ... | |
36 | 35 |
import javax.swing.event.TableModelEvent; |
37 | 36 |
import org.apache.commons.collections4.CollectionUtils; |
38 | 37 |
import org.apache.commons.lang3.StringUtils; |
39 |
import org.gvsig.fmap.dal.feature.FeatureStore;
|
|
38 |
import org.cresques.cts.IProjection;
|
|
40 | 39 |
import org.gvsig.fmap.dal.swing.DALSwingLocator; |
41 | 40 |
import org.gvsig.fmap.dal.swing.DataSwingManager; |
42 | 41 |
import org.gvsig.fmap.mapcontrol.MapControl; |
... | ... | |
48 | 47 |
import org.gvsig.online.lib.api.OnlineProject; |
49 | 48 |
import org.gvsig.online.lib.api.workingcopy.OnlineWorkingcopy; |
50 | 49 |
import org.gvsig.online.lib.api.workingcopy.WorkingArea; |
50 |
import org.gvsig.online.swing.api.MessageStatus; |
|
51 | 51 |
import org.gvsig.online.swing.api.OnlineJDownload; |
52 | 52 |
import org.gvsig.online.swing.api.OnlineSwingLocator; |
53 | 53 |
import org.gvsig.online.swing.api.OnlineSwingManager; |
54 | 54 |
import org.gvsig.online.swing.api.OnlineSwingServices; |
55 |
import org.gvsig.online.swing.impl.AddLayerToProjectController; |
|
55 | 56 |
import org.gvsig.online.swing.impl.OnlineSwingCommons; |
56 | 57 |
import static org.gvsig.online.swing.impl.OnlineSwingCommons.notInSwingThreadInvokeLater; |
58 |
import org.gvsig.online.swing.impl.OnlineWorkingcopyPickerControllerImpl; |
|
57 | 59 |
import org.gvsig.online.swing.impl.initworkspace.LayersTableModel; |
58 | 60 |
import org.gvsig.online.swing.impl.workingarea.WorkingAreaPickerControllerImpl; |
59 | 61 |
import org.gvsig.tools.ToolsLocator; |
60 |
import org.gvsig.tools.dispose.DisposeUtils; |
|
61 | 62 |
import org.gvsig.tools.i18n.I18nManager; |
62 | 63 |
import org.gvsig.tools.swing.api.Component; |
63 | 64 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
... | ... | |
87 | 88 |
|
88 | 89 |
private WorkingAreaPickerControllerImpl workingAreaPicker; |
89 | 90 |
private TaskStatusController taskStatusController; |
90 |
private PickerController<OnlineWorkingcopy> workingcopyPicker;
|
|
91 |
private OnlineWorkingcopyPickerControllerImpl workingcopyPicker;
|
|
91 | 92 |
private List<String> defaultTablesSelection; |
92 | 93 |
private boolean processing; |
94 |
private AddLayerToProjectController addLayerToProjectController; |
|
95 |
private MessageStatus message; |
|
93 | 96 |
|
94 | 97 |
public OnlineJDownloadImpl() { |
95 | 98 |
translate(); |
... | ... | |
122 | 125 |
OnlineSwingManager swingManager = OnlineSwingLocator.getOnlineSwingManager(); |
123 | 126 |
OnlineSwingServices onlineServices = OnlineSwingLocator.getOnlineSwingManager().getDefaultServices(); |
124 | 127 |
|
128 |
this.message = swingManager.createMessageStatus(lblStatusTitle, pbStatus, lblStatusMessages); |
|
129 |
|
|
125 | 130 |
this.taskStatusController = taskStatusManager.createTaskStatusController( |
126 | 131 |
null, |
127 | 132 |
this.lblStatusTitle, |
... | ... | |
133 | 138 |
this.taskStatusController.setShowCancelButton(false); |
134 | 139 |
this.taskStatusController.setShowRemoveTaskButton(false); |
135 | 140 |
// this.taskStatusController.bind(ToolsLocator.getTaskStatusManager()); |
136 |
SwingUtilities.invokeLater(() -> {this.setVisibleStatus(false); });
|
|
141 |
SwingUtilities.invokeLater(() -> {this.message.setVisible(false); });
|
|
137 | 142 |
|
138 | 143 |
this.tblLayers.setModel(new LayersTableModel()); |
139 | 144 |
|
140 |
this.workingcopyPicker = swingManager.createPickerWorkspaceController(cboWorkingcopy); |
|
145 |
this.workingcopyPicker = (OnlineWorkingcopyPickerControllerImpl)swingManager.createPickerWorkspaceController(cboWorkingcopy);
|
|
141 | 146 |
|
142 | 147 |
this.workingcopyPicker.addChangeListener((ChangeEvent e) -> { |
143 |
this.clearMessage();
|
|
148 |
this.message.clear();
|
|
144 | 149 |
doChangeWorkingcopy(); |
145 | 150 |
}); |
146 | 151 |
|
... | ... | |
171 | 176 |
doUpdateComponents(); |
172 | 177 |
}); |
173 | 178 |
|
174 |
ComboBoxModel<LabeledValue> viewDocumentsModel = onlineServices.getViewDocumentsComboBoxModel(); |
|
175 |
|
|
176 |
cboView.setModel(viewDocumentsModel); |
|
177 |
cboView.addActionListener((ActionEvent e) -> { |
|
178 |
this.clearMessage(); |
|
179 |
this.addLayerToProjectController = new AddLayerToProjectController( |
|
180 |
rdbDontAddToProject, |
|
181 |
rdbAddLayerToView, |
|
182 |
rdbAddTableToProject, |
|
183 |
cboView, |
|
184 |
message |
|
185 |
); |
|
186 |
|
|
187 |
this.addLayerToProjectController.addChangeListener((ChangeEvent e) -> { |
|
188 |
this.message.clear(); |
|
179 | 189 |
doUpdateComponents(); |
190 |
}); |
|
191 |
this.btnChangeViewProjection.addActionListener((ActionEvent e) -> { |
|
192 |
doChangeViewProjection(); |
|
180 | 193 |
}); |
181 |
this.rdbDontAddToProject.addActionListener((ActionEvent e) -> { |
|
182 |
this.clearMessage(); |
|
183 |
doUpdateComponents(); |
|
184 |
}); |
|
194 |
|
|
195 |
ToolsSwingUtils.ensureRowsCols(this, 15, 40, 25, 100); |
|
185 | 196 |
|
186 |
this.rdbAddLayerToView.addActionListener((ActionEvent e) -> { |
|
187 |
this.clearMessage(); |
|
188 |
doUpdateComponents(); |
|
197 |
SwingUtilities.invokeLater(() -> { |
|
198 |
// this.workingcopyPicker.setSelectedIndex(0); |
|
199 |
// doChangeWorkingcopy(); |
|
200 |
this.message.clear(); |
|
189 | 201 |
}); |
202 |
|
|
190 | 203 |
|
191 |
this.rdbAddTableToProject.addActionListener((ActionEvent e) -> { |
|
192 |
this.clearMessage(); |
|
193 |
doUpdateComponents(); |
|
194 |
}); |
|
195 |
|
|
196 |
this.rdbDontAddToProject.setSelected(true); |
|
197 |
|
|
198 |
SwingUtilities.invokeLater(() -> { clearMessage(); }); |
|
199 |
ToolsSwingUtils.ensureRowsCols(this, 15, 40, 25, 100); |
|
200 |
|
|
201 | 204 |
} |
202 | 205 |
|
203 | 206 |
@Override |
... | ... | |
207 | 210 |
} |
208 | 211 |
|
209 | 212 |
private void doUpdateComponents() { |
210 |
message("");
|
|
213 |
this.message.clear();
|
|
211 | 214 |
|
212 | 215 |
boolean enableAll = true; |
213 | 216 |
|
... | ... | |
223 | 226 |
OnlineWorkingcopy w = this.getWorkingcopy(); |
224 | 227 |
isThereWorkingcopy = (w != null); |
225 | 228 |
if( !isThereWorkingcopy ) { |
226 |
message2(enableAll, "_You_must_select_a_workingcopy");
|
|
229 |
this.message.message(enableAll, "_You_must_select_a_workingcopy");
|
|
227 | 230 |
} |
228 | 231 |
enableAll = enableAll && isThereWorkingcopy; |
229 | 232 |
} |
... | ... | |
232 | 235 |
if( enableAll ) { |
233 | 236 |
isThereSelectedsLayers = !this.getLayersModel().isSelectionEmpty(); |
234 | 237 |
if( !isThereSelectedsLayers ) { |
235 |
message2(enableAll, "_You_must_select_some_layer");
|
|
238 |
this.message.message(enableAll, "_You_must_select_some_layer");
|
|
236 | 239 |
} |
237 | 240 |
enableAll = isThereWorkingcopy && isThereSelectedsLayers; |
238 | 241 |
} |
... | ... | |
242 | 245 |
WorkingArea workingArea = this.workingAreaPicker.getWithoutAddHistory(); |
243 | 246 |
isThereWorkingArea = (workingArea != null && workingArea.getValue() != null); |
244 | 247 |
if( !isThereWorkingArea ) { |
245 |
message2(enableAll, "_You_must_select_a_working_area");
|
|
248 |
this.message.message(enableAll, "_You_must_select_a_working_area");
|
|
246 | 249 |
} |
247 | 250 |
enableAll = isThereWorkingcopy && isThereWorkingArea; |
248 | 251 |
} |
... | ... | |
255 | 258 |
this.btnWorkingAreaFromView.setEnabled(isThereWorkingcopy); |
256 | 259 |
this.btnWorkingAreaDialog.setEnabled(isThereSelectedsLayers && isThereWorkingcopy); |
257 | 260 |
|
261 |
this.addLayerToProjectController.setEnabled(this.getSelectedLayers()); |
|
262 |
|
|
263 |
this.btnChangeViewProjection.setEnabled(this.getLayersProjection(this.getSelectedLayers())!=null); |
|
264 |
|
|
258 | 265 |
if (this.dialog != null) { |
259 | 266 |
this.dialog.setButtonEnabled(WindowManager_v2.BUTTON_OK,enableAll); |
260 | 267 |
} |
... | ... | |
342 | 349 |
} |
343 | 350 |
|
344 | 351 |
for (OnlineLayer layer : selectedLayers) { |
345 |
if (!rdbDontAddToProject.isSelected()) { |
|
346 |
FeatureStore store = null; |
|
347 |
LabeledValue selectedView = (LabeledValue) cboView.getSelectedItem(); |
|
348 |
try { |
|
349 |
store = workingcopy.openFeatureStore(layer.getName(), false); |
|
350 |
if (rdbAddLayerToView.isSelected()) { |
|
351 |
String layerName = layer.getLabel(); |
|
352 |
|
|
353 |
services.addLayerToView( |
|
354 |
store, |
|
355 |
selectedView, |
|
356 |
null, |
|
357 |
layerName, |
|
358 |
false |
|
359 |
); |
|
360 |
} |
|
361 |
if (rdbAddTableToProject.isSelected()) { |
|
362 |
services.addTableToProject(workingcopy, store); |
|
363 |
} |
|
364 |
} catch (Exception ex) { |
|
365 |
LOGGER.warn("Can't layer +'"+layer.getName()+"' to view '"+selectedView.getLabel()+"'", ex); |
|
366 |
} finally { |
|
367 |
DisposeUtils.disposeQuietly(store); |
|
368 |
} |
|
369 |
} |
|
352 |
this.addLayerToProjectController.process(workingcopy, layer); |
|
370 | 353 |
} |
371 | 354 |
|
372 | 355 |
} |
... | ... | |
390 | 373 |
return false; |
391 | 374 |
} |
392 | 375 |
|
393 |
private void message2(boolean doMessage, String s) { |
|
394 |
if( doMessage ) { |
|
395 |
message(s); |
|
396 |
} |
|
397 |
} |
|
398 |
|
|
399 |
private void message(String message) { |
|
400 |
if( notInSwingThreadInvokeLater(() -> {message(message);}) ) { |
|
401 |
return; |
|
402 |
} |
|
403 |
String s = message; |
|
404 |
if( StringUtils.startsWith(s, "_") ) { |
|
405 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
406 |
s = i18n.getTranslation(s); |
|
407 |
} |
|
408 |
this.lblStatusMessages.setText(s); |
|
409 |
// this.lblStatusMessages.setToolTipText(toolTipText); |
|
410 |
|
|
411 |
} |
|
412 |
|
|
413 | 376 |
@Override |
414 | 377 |
public ImageIcon loadImage(String imageName) { |
415 | 378 |
return OnlineSwingCommons.loadImage(imageName); |
416 | 379 |
} |
417 | 380 |
|
418 |
private void clearLayers() { |
|
419 |
LayersTableModel model = new LayersTableModel(); |
|
420 |
this.tblLayers.setModel(model); |
|
421 |
} |
|
422 |
|
|
423 |
// private WorkingArea getWorkingArea() { |
|
424 |
// return this.workingAreaPicker.get(); |
|
425 |
// } |
|
426 |
|
|
427 | 381 |
private LayersTableModel getLayersModel() { |
428 | 382 |
return (LayersTableModel) this.tblLayers.getModel(); |
429 | 383 |
} |
... | ... | |
437 | 391 |
return taskStatus; |
438 | 392 |
} |
439 | 393 |
|
440 |
public void setVisibleStatus(boolean visible) { |
|
441 |
if( notInSwingThreadInvokeLater(() -> {setVisibleStatus(visible);}) ) { |
|
442 |
return; |
|
443 |
} |
|
444 |
this.lblStatusTitle.setVisible(visible); |
|
445 |
this.pbStatus.setVisible(visible); |
|
446 |
this.lblStatusMessages.setVisible(true); |
|
447 |
} |
|
448 |
|
|
449 |
private void clearMessage() { |
|
450 |
message(" "); |
|
451 |
} |
|
452 |
|
|
453 | 394 |
@Override |
454 | 395 |
public OnlineWorkingcopy getWorkingcopy() { |
455 | 396 |
OnlineWorkingcopy w = this.workingcopyPicker.get(); |
... | ... | |
457 | 398 |
} |
458 | 399 |
|
459 | 400 |
@Override |
460 |
public List<String> getSelectedLayers() { |
|
401 |
public List<String> getSelectedLayerNames() {
|
|
461 | 402 |
OnlineWorkingcopy w = this.getWorkingcopy(); |
462 | 403 |
if( w == null ) { |
463 | 404 |
return Collections.EMPTY_LIST; |
... | ... | |
497 | 438 |
doUpdateComponents(); |
498 | 439 |
} |
499 | 440 |
|
441 |
private List<OnlineLayer> getSelectedLayers() { |
|
442 |
LayersTableModel model = (LayersTableModel) this.tblLayers.getModel(); |
|
443 |
if( model == null ) { |
|
444 |
return Collections.EMPTY_LIST; |
|
445 |
} |
|
446 |
List<OnlineLayer> selectedLayers = model.getSelectedLayers(); |
|
447 |
if( selectedLayers == null ) { |
|
448 |
return Collections.EMPTY_LIST; |
|
449 |
} |
|
450 |
return selectedLayers; |
|
451 |
} |
|
452 |
|
|
453 |
private IProjection getLayersProjection(List<OnlineLayer> layers) { |
|
454 |
if( layers == null ) { |
|
455 |
return null; |
|
456 |
} |
|
457 |
IProjection proj = null; |
|
458 |
for (OnlineLayer layer : layers) { |
|
459 |
IProjection curproj = layer.getProjection(); |
|
460 |
if( proj == null ) { |
|
461 |
proj = curproj; |
|
462 |
} else if( !proj.equals(curproj) ) { |
|
463 |
return null; |
|
464 |
} |
|
465 |
} |
|
466 |
return proj; |
|
467 |
} |
|
468 |
|
|
469 |
private void doChangeViewProjection() { |
|
470 |
IProjection proj = this.getLayersProjection(this.getSelectedLayers()); |
|
471 |
if( proj == null ) { |
|
472 |
return; |
|
473 |
} |
|
474 |
OnlineSwingServices onlineServices = OnlineSwingLocator.getOnlineSwingManager().getDefaultServices(); |
|
475 |
LabeledValue<MapControl> labeledMapControl = onlineServices.getActiveMapControl(); |
|
476 |
if( labeledMapControl == null ) { |
|
477 |
return; |
|
478 |
} |
|
479 |
MapControl mapControl = labeledMapControl.getValue(); |
|
480 |
if( mapControl == null ) { |
|
481 |
return; |
|
482 |
} |
|
483 |
mapControl.setProjection(proj); |
|
484 |
this.doUpdateComponents(); |
|
485 |
} |
|
500 | 486 |
} |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.xml | ||
---|---|---|
24 | 24 |
</at> |
25 | 25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
26 | 26 |
</super> |
27 |
<at name="id">/home/fdiaz/projects/gvSIG/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.xml</at>
|
|
28 |
<at name="path">org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.xml</at> |
|
29 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
|
27 |
<at name="id">/home/jjdelcerro/datos/devel/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.xml</at>
|
|
28 |
<at name="path">datos/devel/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.xml</at>
|
|
29 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at>
|
|
30 | 30 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at> |
31 | 31 |
<at name="components"> |
32 | 32 |
<object classname="java.util.LinkedList"> |
... | ... | |
75 | 75 |
</object> |
76 | 76 |
</at> |
77 | 77 |
<at name="name">lblProjects</at> |
78 |
<at name="width">82</at>
|
|
78 |
<at name="width">78</at>
|
|
79 | 79 |
<at name="text">_Workingcopy</at> |
80 | 80 |
<at name="fill"> |
81 | 81 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
82 | 82 |
<at name="name">fill</at> |
83 | 83 |
</object> |
84 | 84 |
</at> |
85 |
<at name="height">14</at>
|
|
85 |
<at name="height">16</at>
|
|
86 | 86 |
</object> |
87 | 87 |
</at> |
88 | 88 |
</object> |
... | ... | |
135 | 135 |
</object> |
136 | 136 |
</at> |
137 | 137 |
<at name="name">lblWorkspaceName</at> |
138 |
<at name="width">82</at>
|
|
138 |
<at name="width">78</at>
|
|
139 | 139 |
<at name="text">Nombre</at> |
140 | 140 |
<at name="fill"> |
141 | 141 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
142 | 142 |
<at name="name">fill</at> |
143 | 143 |
</object> |
144 | 144 |
</at> |
145 |
<at name="height">14</at>
|
|
145 |
<at name="height">16</at>
|
|
146 | 146 |
</object> |
147 | 147 |
</at> |
148 | 148 |
</object> |
... | ... | |
195 | 195 |
</object> |
196 | 196 |
</at> |
197 | 197 |
<at name="name">lblLayers</at> |
198 |
<at name="width">82</at>
|
|
198 |
<at name="width">78</at>
|
|
199 | 199 |
<at name="text">Capas</at> |
200 | 200 |
<at name="fill"> |
201 | 201 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
202 | 202 |
<at name="name">fill</at> |
203 | 203 |
</object> |
204 | 204 |
</at> |
205 |
<at name="height">14</at>
|
|
205 |
<at name="height">16</at>
|
|
206 | 206 |
</object> |
207 | 207 |
</at> |
208 | 208 |
</object> |
... | ... | |
255 | 255 |
</object> |
256 | 256 |
</at> |
257 | 257 |
<at name="name">tblLayers</at> |
258 |
<at name="width">1291</at>
|
|
258 |
<at name="width">1569</at>
|
|
259 | 259 |
<at name="scollBars"> |
260 | 260 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
261 | 261 |
<at name="name">scollBars</at> |
... | ... | |
298 | 298 |
<at name="cellconstraints"> |
299 | 299 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
300 | 300 |
<at name="column">2</at> |
301 |
<at name="row">10</at>
|
|
301 |
<at name="row">12</at>
|
|
302 | 302 |
<at name="colspan">1</at> |
303 | 303 |
<at name="rowspan">1</at> |
304 | 304 |
<at name="halign">default</at> |
... | ... | |
336 | 336 |
</object> |
337 | 337 |
</at> |
338 | 338 |
<at name="name">lblWorkingArea</at> |
339 |
<at name="width">82</at>
|
|
339 |
<at name="width">78</at>
|
|
340 | 340 |
<at name="text">_Working_area</at> |
341 | 341 |
<at name="fill"> |
342 | 342 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
343 | 343 |
<at name="name">fill</at> |
344 | 344 |
</object> |
345 | 345 |
</at> |
346 |
<at name="height">14</at>
|
|
346 |
<at name="height">16</at>
|
|
347 | 347 |
</object> |
348 | 348 |
</at> |
349 | 349 |
</object> |
... | ... | |
396 | 396 |
</object> |
397 | 397 |
</at> |
398 | 398 |
<at name="name">cboWorkingcopy</at> |
399 |
<at name="width">1191</at>
|
|
399 |
<at name="width">1473</at>
|
|
400 | 400 |
<at name="items"> |
401 | 401 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
402 | 402 |
<at name="name">items</at> |
... | ... | |
405 | 405 |
</at> |
406 | 406 |
</object> |
407 | 407 |
</at> |
408 |
<at name="height">20</at>
|
|
408 |
<at name="height">22</at>
|
|
409 | 409 |
</object> |
410 | 410 |
</at> |
411 | 411 |
</object> |
... | ... | |
459 | 459 |
</at> |
460 | 460 |
<at name="selectionStart">7</at> |
461 | 461 |
<at name="name">txtWorkspaceName</at> |
462 |
<at name="width">1191</at>
|
|
462 |
<at name="width">1473</at>
|
|
463 | 463 |
<at name="selectionEnd">7</at> |
464 | 464 |
<at name="text">Pruebas</at> |
465 |
<at name="height">20</at>
|
|
465 |
<at name="height">22</at>
|
|
466 | 466 |
</object> |
467 | 467 |
</at> |
468 | 468 |
</object> |
... | ... | |
477 | 477 |
<at name="cellconstraints"> |
478 | 478 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
479 | 479 |
<at name="column">2</at> |
480 |
<at name="row">18</at>
|
|
480 |
<at name="row">20</at>
|
|
481 | 481 |
<at name="colspan">3</at> |
482 | 482 |
<at name="rowspan">1</at> |
483 | 483 |
<at name="halign">default</at> |
... | ... | |
522 | 522 |
</object> |
523 | 523 |
</at> |
524 | 524 |
<at name="name">rdbAddTableToProject</at> |
525 |
<at name="width">1293</at>
|
|
525 |
<at name="width">1571</at>
|
|
526 | 526 |
<at name="text">_Add_as_table_document_to_project</at> |
527 |
<at name="height">16</at>
|
|
527 |
<at name="height">18</at>
|
|
528 | 528 |
</object> |
529 | 529 |
</at> |
530 | 530 |
</object> |
... | ... | |
539 | 539 |
<at name="cellconstraints"> |
540 | 540 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
541 | 541 |
<at name="column">2</at> |
542 |
<at name="row">14</at>
|
|
542 |
<at name="row">16</at>
|
|
543 | 543 |
<at name="colspan">3</at> |
544 | 544 |
<at name="rowspan">1</at> |
545 | 545 |
<at name="halign">default</at> |
... | ... | |
584 | 584 |
</object> |
585 | 585 |
</at> |
586 | 586 |
<at name="name">rdbAddLayerToView</at> |
587 |
<at name="width">1293</at>
|
|
587 |
<at name="width">1571</at>
|
|
588 | 588 |
<at name="text">_Add_layers_to_view</at> |
589 |
<at name="height">16</at>
|
|
589 |
<at name="height">18</at>
|
|
590 | 590 |
</object> |
591 | 591 |
</at> |
592 | 592 |
</object> |
... | ... | |
596 | 596 |
</item> |
597 | 597 |
<item > |
598 | 598 |
<at name="value"> |
599 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
600 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
601 |
<at name="cellconstraints"> |
|
602 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
603 |
<at name="column">2</at> |
|
604 |
<at name="row">14</at> |
|
605 |
<at name="colspan">3</at> |
|
606 |
<at name="rowspan">1</at> |
|
607 |
<at name="halign">default</at> |
|
608 |
<at name="valign">default</at> |
|
609 |
<at name="insets" object="insets">0,0,0,0</at> |
|
610 |
</object> |
|
611 |
</at> |
|
612 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
613 |
</super> |
|
614 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
615 |
<at name="beanclass">javax.swing.JRadioButton</at> |
|
616 |
<at name="beanproperties"> |
|
617 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
618 |
<at name="classname">javax.swing.JRadioButton</at> |
|
619 |
<at name="properties"> |
|
620 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
621 |
<at name="border"> |
|
622 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
623 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
624 |
<at name="name">border</at> |
|
625 |
</super> |
|
626 |
<at name="borders"> |
|
627 |
<object classname="java.util.LinkedList"> |
|
628 |
<item > |
|
629 |
<at name="value"> |
|
630 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
631 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
632 |
<at name="name">border</at> |
|
633 |
</super> |
|
634 |
</object> |
|
635 |
</at> |
|
636 |
</item> |
|
637 |
</object> |
|
638 |
</at> |
|
639 |
</object> |
|
640 |
</at> |
|
641 |
<at name="actionCommand">_Dont_add_the_table_or_layer_to_the_project</at> |
|
642 |
<at name="buttonGroup"> |
|
643 |
<object classname="com.jeta.forms.store.properties.ButtonGroupProperty"> |
|
644 |
<at name="name">buttonGroup</at> |
|
645 |
<at name="groupname">2</at> |
|
646 |
</object> |
|
647 |
</at> |
|
648 |
<at name="name">rdbDontAddToProject</at> |
|
649 |
<at name="width">1571</at> |
|
650 |
<at name="text">_Dont_add_the_tables_or_layers_to_the_project</at> |
|
651 |
<at name="height">18</at> |
|
652 |
</object> |
|
653 |
</at> |
|
654 |
</object> |
|
655 |
</at> |
|
656 |
</object> |
|
657 |
</at> |
|
658 |
</item> |
|
659 |
<item > |
|
660 |
<at name="value"> |
|
599 | 661 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
600 | 662 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
601 | 663 |
<at name="cellconstraints"> |
602 | 664 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
603 | 665 |
<at name="column">4</at> |
604 |
<at name="row">10</at>
|
|
666 |
<at name="row">12</at>
|
|
605 | 667 |
<at name="colspan">1</at> |
606 | 668 |
<at name="rowspan">1</at> |
607 | 669 |
<at name="halign">default</at> |
... | ... | |
611 | 673 |
</at> |
612 | 674 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
613 | 675 |
</super> |
614 |
<at name="id">embedded.35345639</at>
|
|
676 |
<at name="id">embedded.35652230</at>
|
|
615 | 677 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE</at> |
616 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
678 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at>
|
|
617 | 679 |
<at name="components"> |
618 | 680 |
<object classname="java.util.LinkedList"> |
619 | 681 |
<item > |
... | ... | |
661 | 723 |
</object> |
662 | 724 |
</at> |
663 | 725 |
<at name="name">txtWorkingAreaLabel</at> |
664 |
<at name="width">1124</at>
|
|
665 |
<at name="height">20</at>
|
|
726 |
<at name="width">1362</at>
|
|
727 |
<at name="height">22</at>
|
|
666 | 728 |
</object> |
667 | 729 |
</at> |
668 | 730 |
</object> |
... | ... | |
678 | 740 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
679 | 741 |
<at name="column">1</at> |
680 | 742 |
<at name="row">3</at> |
681 |
<at name="colspan">1</at>
|
|
743 |
<at name="colspan">9</at>
|
|
682 | 744 |
<at name="rowspan">1</at> |
683 | 745 |
<at name="halign">default</at> |
684 | 746 |
<at name="valign">default</at> |
... | ... | |
715 | 777 |
</object> |
716 | 778 |
</at> |
717 | 779 |
<at name="name">txtWorkingArea</at> |
718 |
<at name="width">1124</at>
|
|
719 |
<at name="height">20</at>
|
|
780 |
<at name="width">1468</at>
|
|
781 |
<at name="height">22</at>
|
|
720 | 782 |
</object> |
721 | 783 |
</at> |
722 | 784 |
</object> |
... | ... | |
730 | 792 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
731 | 793 |
<at name="cellconstraints"> |
732 | 794 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
733 |
<at name="column">3</at>
|
|
734 |
<at name="row">3</at>
|
|
795 |
<at name="column">9</at>
|
|
796 |
<at name="row">1</at>
|
|
735 | 797 |
<at name="colspan">1</at> |
736 | 798 |
<at name="rowspan">1</at> |
737 | 799 |
<at name="halign">default</at> |
... | ... | |
773 | 835 |
</object> |
774 | 836 |
</at> |
775 | 837 |
<at name="actionCommand">...</at> |
776 |
<at name="icon"> |
|
777 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
778 |
<at name="embedded">false</at> |
|
779 |
<at name="path">org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png</at> |
|
780 |
<at name="description">picker-envelope-from-mapcontrol.png</at> |
|
781 |
<at name="width">16</at> |
|
782 |
<at name="height">16</at> |
|
783 |
</object> |
|
784 |
</at> |
|
785 |
<at name="name">btnWorkingAreaFromView</at> |
|
786 |
<at name="width">20</at> |
|
838 |
<at name="name">btnWorkingAreaBookmarks</at> |
|
839 |
<at name="width">13</at> |
|
840 |
<at name="text">...</at> |
|
787 | 841 |
<at name="height">20</at> |
788 | 842 |
</object> |
789 | 843 |
</at> |
... | ... | |
798 | 852 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
799 | 853 |
<at name="cellconstraints"> |
800 | 854 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
801 |
<at name="column">5</at>
|
|
802 |
<at name="row">3</at>
|
|
855 |
<at name="column">7</at>
|
|
856 |
<at name="row">1</at>
|
|
803 | 857 |
<at name="colspan">1</at> |
804 | 858 |
<at name="rowspan">1</at> |
805 | 859 |
<at name="halign">default</at> |
... | ... | |
841 | 895 |
</object> |
842 | 896 |
</at> |
843 | 897 |
<at name="actionCommand">...</at> |
844 |
<at name="icon"> |
|
845 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
846 |
<at name="embedded">false</at> |
|
847 |
<at name="path">addons/onlinecaptures/images/picker-envelope-from-mapcontrol.png</at> |
|
848 |
<at name="description">picker-envelope-from-mapcontrol.png</at> |
|
849 |
<at name="width">16</at> |
|
850 |
<at name="height">16</at> |
|
851 |
</object> |
|
852 |
</at> |
|
853 |
<at name="name">btnWorkingAreaDialog</at> |
|
854 |
<at name="width">20</at> |
|
898 |
<at name="name">btnWorkingAreaHistory</at> |
|
899 |
<at name="width">13</at> |
|
900 |
<at name="text">...</at> |
|
855 | 901 |
<at name="height">20</at> |
856 | 902 |
</object> |
857 | 903 |
</at> |
... | ... | |
909 | 955 |
</object> |
910 | 956 |
</at> |
911 | 957 |
<at name="actionCommand">...</at> |
912 |
<at name="name">btnWorkingAreaBookmarks</at> |
|
958 |
<at name="icon"> |
|
959 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
960 |
<at name="embedded">false</at> |
|
961 |
<at name="path">addons/onlinecaptures/images/picker-envelope-from-mapcontrol.png</at> |
|
962 |
<at name="description">picker-envelope-from-mapcontrol.png</at> |
|
963 |
<at name="width">16</at> |
|
964 |
<at name="height">16</at> |
|
965 |
</object> |
|
966 |
</at> |
|
967 |
<at name="name">btnWorkingAreaDialog</at> |
|
913 | 968 |
<at name="width">20</at> |
914 |
<at name="text">...</at> |
|
915 |
<at name="height">18</at> |
|
969 |
<at name="height">20</at> |
|
916 | 970 |
</object> |
917 | 971 |
</at> |
918 | 972 |
</object> |
... | ... | |
969 | 1023 |
</object> |
970 | 1024 |
</at> |
971 | 1025 |
<at name="actionCommand">...</at> |
972 |
<at name="name">btnWorkingAreaHistory</at> |
|
1026 |
<at name="icon"> |
|
1027 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
1028 |
<at name="embedded">false</at> |
|
1029 |
<at name="path">org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png</at> |
|
1030 |
<at name="description">picker-envelope-from-mapcontrol.png</at> |
|
1031 |
<at name="width">16</at> |
|
1032 |
<at name="height">16</at> |
|
1033 |
</object> |
|
1034 |
</at> |
|
1035 |
<at name="name">btnWorkingAreaFromView</at> |
|
973 | 1036 |
<at name="width">20</at> |
974 |
<at name="text">...</at> |
|
975 |
<at name="height">18</at> |
|
1037 |
<at name="height">20</at> |
|
976 | 1038 |
</object> |
977 | 1039 |
</at> |
978 | 1040 |
</object> |
... | ... | |
1039 | 1101 |
<at name="rows"> |
1040 | 1102 |
<object classname="[Ljava.lang.Object;" size="3"> |
1041 | 1103 |
<at name="item" index="0"> |
1042 |
<object classname="[Ljava.lang.Object;" size="5"/>
|
|
1104 |
<object classname="[Ljava.lang.Object;" size="9"/>
|
|
1043 | 1105 |
</at> |
1044 | 1106 |
<at name="item" index="1"> |
1045 |
<object classname="[Ljava.lang.Object;" size="5"/>
|
|
1107 |
<object classname="[Ljava.lang.Object;" size="9"/>
|
|
1046 | 1108 |
</at> |
1047 | 1109 |
<at name="item" index="2"> |
1048 |
<object classname="[Ljava.lang.Object;" size="5"/>
|
|
1110 |
<object classname="[Ljava.lang.Object;" size="9"/>
|
|
1049 | 1111 |
</at> |
1050 | 1112 |
</object> |
1051 | 1113 |
</at> |
... | ... | |
1075 | 1137 |
<at name="cellconstraints"> |
1076 | 1138 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1077 | 1139 |
<at name="column">2</at> |
1078 |
<at name="row">20</at>
|
|
1140 |
<at name="row">22</at>
|
|
1079 | 1141 |
<at name="colspan">3</at> |
1080 | 1142 |
<at name="rowspan">1</at> |
1081 | 1143 |
<at name="halign">default</at> |
... | ... | |
1085 | 1147 |
</at> |
1086 | 1148 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1087 | 1149 |
</super> |
1088 |
<at name="id">embedded.985777835</at>
|
|
1150 |
<at name="id">embedded.1378322493</at>
|
|
1089 | 1151 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
1090 | 1152 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:MAX(12DLU;DEFAULT):NONE</at> |
1091 | 1153 |
<at name="components"> |
... | ... | |
1135 | 1197 |
</object> |
1136 | 1198 |
</at> |
1137 | 1199 |
<at name="name">lblStatusTitle</at> |
1138 |
<at name="width">1267</at>
|
|
1200 |
<at name="width">1548</at>
|
|
1139 | 1201 |
<at name="fill"> |
1140 | 1202 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1141 | 1203 |
<at name="name">fill</at> |
... | ... | |
1194 | 1256 |
</object> |
1195 | 1257 |
</at> |
1196 | 1258 |
<at name="name">pbStatus</at> |
1197 |
<at name="width">1267</at>
|
|
1259 |
<at name="width">1548</at>
|
|
1198 | 1260 |
<at name="percentComplete">0.25</at> |
1199 | 1261 |
<at name="value">25</at> |
1200 | 1262 |
<at name="height">14</at> |
... | ... | |
1250 | 1312 |
</object> |
1251 | 1313 |
</at> |
1252 | 1314 |
<at name="name">lblStatusMessages</at> |
1253 |
<at name="width">1267</at>
|
|
1315 |
<at name="width">1548</at>
|
|
1254 | 1316 |
<at name="fill"> |
1255 | 1317 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1256 | 1318 |
<at name="name">fill</at> |
... | ... | |
1315 | 1377 |
<at name="actionCommand">...</at> |
1316 | 1378 |
<at name="opaque">false</at> |
1317 | 1379 |
<at name="name">btnStatusCancel</at> |
1318 |
<at name="width">17</at>
|
|
1380 |
<at name="width">14</at>
|
|
1319 | 1381 |
<at name="text">...</at> |
1320 |
<at name="height">18</at>
|
|
1382 |
<at name="height">20</at>
|
|
1321 | 1383 |
</object> |
1322 | 1384 |
</at> |
1323 | 1385 |
</object> |
... | ... | |
1342 | 1404 |
</at> |
1343 | 1405 |
</object> |
1344 | 1406 |
</at> |
1345 |
<at name="name"></at>
|
|
1407 |
<at name="name"/>
|
|
1346 | 1408 |
<at name="fill"> |
1347 | 1409 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1348 | 1410 |
<at name="name">fill</at> |
... | ... | |
1420 | 1482 |
<at name="cellconstraints"> |
1421 | 1483 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1422 | 1484 |
<at name="column">2</at> |
1423 |
<at name="row">16</at>
|
|
1485 |
<at name="row">18</at>
|
|
1424 | 1486 |
<at name="colspan">3</at> |
1425 | 1487 |
<at name="rowspan">1</at> |
1426 | 1488 |
<at name="halign">default</at> |
... | ... | |
1430 | 1492 |
</at> |
1431 | 1493 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1432 | 1494 |
</super> |
1433 |
<at name="id">embedded.721197197</at>
|
|
1495 |
<at name="id">embedded.446779532</at>
|
|
1434 | 1496 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
1435 | 1497 |
<at name="colspecs">FILL:8DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)</at> |
1436 | 1498 |
<at name="components"> |
... | ... | |
1480 | 1542 |
</object> |
1481 | 1543 |
</at> |
1482 | 1544 |
<at name="name">cboView</at> |
1483 |
<at name="width">1274</at>
|
|
1545 |
<at name="width">1554</at>
|
|
1484 | 1546 |
<at name="items"> |
1485 | 1547 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
1486 | 1548 |
<at name="name">items</at> |
1487 | 1549 |
</object> |
1488 | 1550 |
</at> |
1489 |
<at name="height">20</at>
|
|
1551 |
<at name="height">22</at>
|
|
1490 | 1552 |
</object> |
1491 | 1553 |
</at> |
1492 | 1554 |
</object> |
... | ... | |
1511 | 1573 |
</at> |
1512 | 1574 |
</object> |
1513 | 1575 |
</at> |
1514 |
<at name="name"></at>
|
|
1576 |
<at name="name"/>
|
|
1515 | 1577 |
<at name="fill"> |
1516 | 1578 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1517 | 1579 |
<at name="name">fill</at> |
... | ... | |
1578 | 1640 |
</item> |
1579 | 1641 |
<item > |
1580 | 1642 |
<at name="value"> |
1581 |
<object classname="com.jeta.forms.store.memento.BeanMemento">
|
|
1643 |
<object classname="com.jeta.forms.store.memento.FormMemento">
|
|
1582 | 1644 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
1583 | 1645 |
<at name="cellconstraints"> |
1584 | 1646 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1585 |
<at name="column">2</at>
|
|
1586 |
<at name="row">12</at>
|
|
1587 |
<at name="colspan">3</at>
|
|
1647 |
<at name="column">4</at>
|
|
1648 |
<at name="row">10</at>
|
|
1649 |
<at name="colspan">1</at>
|
|
1588 | 1650 |
<at name="rowspan">1</at> |
1589 |
<at name="halign">default</at>
|
|
1651 |
<at name="halign">right</at>
|
|
1590 | 1652 |
<at name="valign">default</at> |
1591 | 1653 |
<at name="insets" object="insets">0,0,0,0</at> |
1592 | 1654 |
</object> |
1593 | 1655 |
</at> |
1594 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at>
|
|
1656 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at>
|
|
1595 | 1657 |
</super> |
1596 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
1597 |
<at name="beanclass">javax.swing.JRadioButton</at> |
|
1598 |
<at name="beanproperties"> |
|
1658 |
<at name="id">embedded.2035119488</at> |
|
1659 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
1660 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE</at> |
|
1661 |
<at name="components"> |
|
1662 |
<object classname="java.util.LinkedList"> |
|
1663 |
<item > |
|
1664 |
<at name="value"> |
|
1665 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
1666 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
1667 |
<at name="cellconstraints"> |
|
1668 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
1669 |
<at name="column">3</at> |
|
1670 |
<at name="row">1</at> |
|
1671 |
<at name="colspan">1</at> |
|
1672 |
<at name="rowspan">1</at> |
|
1673 |
<at name="halign">default</at> |
|
1674 |
<at name="valign">default</at> |
|
1675 |
<at name="insets" object="insets">0,0,0,0</at> |
|
1676 |
</object> |
|
1677 |
</at> |
|
1678 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
1679 |
</super> |
|
1680 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
1681 |
<at name="beanclass">javax.swing.JButton</at> |
|
1682 |
<at name="beanproperties"> |
|
1683 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
1684 |
<at name="classname">javax.swing.JButton</at> |
|
1685 |
<at name="properties"> |
|
1686 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
1687 |
<at name="border"> |
|
1688 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
1689 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1690 |
<at name="name">border</at> |
|
1691 |
</super> |
|
1692 |
<at name="borders"> |
|
1693 |
<object classname="java.util.LinkedList"> |
|
1694 |
<item > |
|
1695 |
<at name="value"> |
|
1696 |
<object classname="com.jeta.forms.store.properties.EmptyBorderProperty"> |
|
1697 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1698 |
<at name="name">border</at> |
|
1699 |
</super> |
|
1700 |
<at name="top">2</at> |
|
1701 |
<at name="left">2</at> |
|
1702 |
<at name="bottom">2</at> |
|
1703 |
<at name="right">2</at> |
|
1704 |
</object> |
|
1705 |
</at> |
|
1706 |
</item> |
|
1707 |
</object> |
|
1708 |
</at> |
|
1709 |
</object> |
|
1710 |
</at> |
|
1711 |
<at name="actionCommand">...</at> |
|
1712 |
<at name="opaque">false</at> |
|
1713 |
<at name="icon"> |
|
1714 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
1715 |
<at name="embedded">false</at> |
|
1716 |
<at name="path">datos/devel/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.geodb.app/org.gvsig.geodb.app.mainplugin/src/main/resources-plugin/images/geodb/geodb-crstoview.png</at> |
|
1717 |
<at name="description">geodb-crstoview.png</at> |
|
1718 |
<at name="width">16</at> |
|
1719 |
<at name="height">16</at> |
|
1720 |
</object> |
|
1721 |
</at> |
|
1722 |
<at name="name">btnChangeViewProjection</at> |
|
1723 |
<at name="width">20</at> |
|
1724 |
<at name="toolTipText">_Change_view_projection_to_this_projection</at> |
|
1725 |
<at name="height">20</at> |
|
1726 |
</object> |
|
1727 |
</at> |
|
1728 |
</object> |
|
1729 |
</at> |
|
1730 |
</object> |
|
1731 |
</at> |
|
1732 |
</item> |
|
1733 |
</object> |
|
1734 |
</at> |
|
1735 |
<at name="properties"> |
|
1599 | 1736 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
1600 |
<at name="classname">javax.swing.JRadioButton</at>
|
|
1737 |
<at name="classname">com.jeta.forms.gui.form.GridView</at>
|
|
1601 | 1738 |
<at name="properties"> |
1602 | 1739 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
1603 | 1740 |
<at name="border"> |
... | ... | |
1606 | 1743 |
<at name="name">border</at> |
1607 | 1744 |
</super> |
1608 | 1745 |
<at name="borders"> |
1609 |
<object classname="java.util.LinkedList"> |
|
1610 |
<item > |
|
1611 |
<at name="value"> |
|
1612 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
1613 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1614 |
<at name="name">border</at> |
|
1615 |
</super> |
|
1616 |
</object> |
|
1617 |
</at> |
|
1618 |
</item> |
|
1619 |
</object> |
|
1746 |
<object classname="java.util.LinkedList"/> |
|
1620 | 1747 |
</at> |
1621 | 1748 |
</object> |
1622 | 1749 |
</at> |
1623 |
<at name="actionCommand">_Dont_add_the_table_or_layer_to_the_project</at> |
|
1624 |
<at name="buttonGroup"> |
|
1625 |
<object classname="com.jeta.forms.store.properties.ButtonGroupProperty"> |
|
1626 |
<at name="name">buttonGroup</at> |
|
1627 |
<at name="groupname">2</at> |
|
1750 |
<at name="name"></at> |
|
1751 |
<at name="fill"> |
|
1752 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
1753 |
<at name="name">fill</at> |
|
1628 | 1754 |
</object> |
1629 | 1755 |
</at> |
1630 |
<at name="name">rdbDontAddToProject</at> |
|
1631 |
<at name="width">1293</at> |
|
1632 |
<at name="text">_Dont_add_the_tables_or_layers_to_the_project</at> |
|
1633 |
<at name="height">16</at> |
|
1756 |
<at name="scollBars"> |
|
1757 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
1758 |
<at name="name">scollBars</at> |
|
1759 |
<at name="verticalpolicy">21</at> |
|
1760 |
<at name="horizontalpolicy">31</at> |
|
1761 |
<at name="border"> |
|
1762 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
1763 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1764 |
<at name="name">border</at> |
|
1765 |
</super> |
|
1766 |
<at name="borders"> |
|
1767 |
<object classname="java.util.LinkedList"> |
|
1768 |
<item > |
|
1769 |
<at name="value"> |
|
1770 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
1771 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1772 |
<at name="name">border</at> |
|
1773 |
</super> |
|
1774 |
</object> |
|
1775 |
</at> |
|
1776 |
</item> |
|
1777 |
</object> |
|
1778 |
</at> |
|
1779 |
</object> |
|
1780 |
</at> |
|
1781 |
</object> |
|
1782 |
</at> |
|
1634 | 1783 |
</object> |
1635 | 1784 |
</at> |
1636 | 1785 |
</object> |
1637 | 1786 |
</at> |
1787 |
<at name="cellpainters"> |
|
1788 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
1789 |
<at name="rows"> |
|
1790 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
1791 |
<at name="item" index="0"> |
|
1792 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
1793 |
</at> |
|
1794 |
</object> |
|
1795 |
</at> |
|
1796 |
</object> |
|
1797 |
</at> |
|
1798 |
<at name="rowgroups"> |
|
1799 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
1800 |
<at name="groups"> |
|
1801 |
<object classname="java.util.HashMap"/> |
|
1802 |
</at> |
|
1803 |
</object> |
|
1804 |
</at> |
|
1805 |
<at name="colgroups"> |
|
1806 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
1807 |
<at name="groups"> |
|
1808 |
<object classname="java.util.HashMap"/> |
|
1809 |
</at> |
|
1810 |
</object> |
|
1811 |
</at> |
|
1638 | 1812 |
</object> |
1639 | 1813 |
</at> |
1640 | 1814 |
</item> |
... | ... | |
1695 | 1869 |
<at name="cellpainters"> |
1696 | 1870 |
<object classname="com.jeta.forms.store.support.Matrix"> |
1697 | 1871 |
<at name="rows"> |
1698 |
<object classname="[Ljava.lang.Object;" size="21">
|
|
1872 |
<object classname="[Ljava.lang.Object;" size="23">
|
|
1699 | 1873 |
<at name="item" index="0"> |
1700 | 1874 |
<object classname="[Ljava.lang.Object;" size="5"/> |
1701 | 1875 |
</at> |
... | ... | |
1759 | 1933 |
<at name="item" index="20"> |
1760 | 1934 |
<object classname="[Ljava.lang.Object;" size="5"/> |
1761 | 1935 |
</at> |
1936 |
<at name="item" index="21"> |
|
1937 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
1938 |
</at> |
|
1939 |
<at name="item" index="22"> |
|
1940 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
1941 |
</at> |
|
1762 | 1942 |
</object> |
1763 | 1943 |
</at> |
1764 | 1944 |
</object> |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/download/OnlineJDownloadView.java | ||
---|---|---|
35 | 35 |
JRadioButton rdbAddTableToProject = new JRadioButton(); |
36 | 36 |
ButtonGroup buttongroup2 = new ButtonGroup(); |
37 | 37 |
JRadioButton rdbAddLayerToView = new JRadioButton(); |
38 |
JRadioButton rdbDontAddToProject = new JRadioButton(); |
|
38 | 39 |
JTextField txtWorkingAreaLabel = new JTextField(); |
39 | 40 |
JTextField txtWorkingArea = new JTextField(); |
40 |
JButton btnWorkingAreaFromView = new JButton(); |
|
41 |
JButton btnWorkingAreaDialog = new JButton(); |
|
42 | 41 |
JButton btnWorkingAreaBookmarks = new JButton(); |
43 | 42 |
JButton btnWorkingAreaHistory = new JButton(); |
43 |
JButton btnWorkingAreaDialog = new JButton(); |
|
44 |
JButton btnWorkingAreaFromView = new JButton(); |
|
44 | 45 |
JLabel lblStatusTitle = new JLabel(); |
45 | 46 |
JProgressBar pbStatus = new JProgressBar(); |
46 | 47 |
JLabel lblStatusMessages = new JLabel(); |
47 | 48 |
JButton btnStatusCancel = new JButton(); |
48 | 49 |
JComboBox cboView = new JComboBox(); |
49 |
JRadioButton rdbDontAddToProject = new JRadioButton();
|
|
50 |
JButton btnChangeViewProjection = new JButton();
|
|
50 | 51 |
|
51 | 52 |
/** |
52 | 53 |
* Default constructor |
... | ... | |
138 | 139 |
public JPanel createPanel() |
139 | 140 |
{ |
140 | 141 |
JPanel jpanel1 = new JPanel(); |
141 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
142 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
142 | 143 |
CellConstraints cc = new CellConstraints(); |
143 | 144 |
jpanel1.setLayout(formlayout1); |
144 | 145 |
|
... | ... | |
163 | 164 |
|
164 | 165 |
lblWorkingArea.setName("lblWorkingArea"); |
165 | 166 |
lblWorkingArea.setText("_Working_area"); |
166 |
jpanel1.add(lblWorkingArea,new CellConstraints(2,10,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
167 |
jpanel1.add(lblWorkingArea,new CellConstraints(2,12,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
167 | 168 |
|
168 | 169 |
cboWorkingcopy.setName("cboWorkingcopy"); |
169 | 170 |
jpanel1.add(cboWorkingcopy,cc.xy(4,2)); |
... | ... | |
178 | 179 |
rdbAddTableToProject.setName("rdbAddTableToProject"); |
179 | 180 |
rdbAddTableToProject.setText("_Add_as_table_document_to_project"); |
180 | 181 |
buttongroup2.add(rdbAddTableToProject); |
181 |
jpanel1.add(rdbAddTableToProject,cc.xywh(2,18,3,1));
|
|
182 |
jpanel1.add(rdbAddTableToProject,cc.xywh(2,20,3,1));
|
|
182 | 183 |
|
183 | 184 |
rdbAddLayerToView.setActionCommand("_Add_layer_to_view"); |
184 | 185 |
rdbAddLayerToView.setName("rdbAddLayerToView"); |
185 | 186 |
rdbAddLayerToView.setText("_Add_layers_to_view"); |
186 | 187 |
buttongroup2.add(rdbAddLayerToView); |
187 |
jpanel1.add(rdbAddLayerToView,cc.xywh(2,14,3,1));
|
|
188 |
jpanel1.add(rdbAddLayerToView,cc.xywh(2,16,3,1));
|
|
188 | 189 |
|
189 |
jpanel1.add(createPanel1(),cc.xy(4,10)); |
|
190 |
jpanel1.add(createPanel2(),cc.xywh(2,20,3,1)); |
|
191 |
jpanel1.add(createPanel3(),cc.xywh(2,16,3,1)); |
|
192 | 190 |
rdbDontAddToProject.setActionCommand("_Dont_add_the_table_or_layer_to_the_project"); |
193 | 191 |
rdbDontAddToProject.setName("rdbDontAddToProject"); |
194 | 192 |
rdbDontAddToProject.setText("_Dont_add_the_tables_or_layers_to_the_project"); |
195 | 193 |
buttongroup2.add(rdbDontAddToProject); |
196 |
jpanel1.add(rdbDontAddToProject,cc.xywh(2,12,3,1));
|
|
194 |
jpanel1.add(rdbDontAddToProject,cc.xywh(2,14,3,1));
|
|
197 | 195 |
|
198 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 }); |
|
196 |
jpanel1.add(createPanel1(),cc.xy(4,12)); |
|
197 |
jpanel1.add(createPanel2(),cc.xywh(2,22,3,1)); |
|
198 |
jpanel1.add(createPanel3(),cc.xywh(2,18,3,1)); |
|
199 |
jpanel1.add(createPanel4(),new CellConstraints(4,10,1,1,CellConstraints.RIGHT,CellConstraints.DEFAULT)); |
|
200 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 }); |
|
199 | 201 |
return jpanel1; |
200 | 202 |
} |
201 | 203 |
|
202 | 204 |
public JPanel createPanel1() |
203 | 205 |
{ |
204 | 206 |
JPanel jpanel1 = new JPanel(); |
205 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
207 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
206 | 208 |
CellConstraints cc = new CellConstraints(); |
207 | 209 |
jpanel1.setLayout(formlayout1); |
208 | 210 |
|
... | ... | |
210 | 212 |
jpanel1.add(txtWorkingAreaLabel,cc.xy(1,1)); |
211 | 213 |
|
212 | 214 |
txtWorkingArea.setName("txtWorkingArea"); |
213 |
jpanel1.add(txtWorkingArea,cc.xy(1,3));
|
|
215 |
jpanel1.add(txtWorkingArea,cc.xywh(1,3,9,1));
|
|
214 | 216 |
|
215 |
btnWorkingAreaFromView.setActionCommand("...");
|
|
216 |
btnWorkingAreaFromView.setIcon(loadImage("org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png"));
|
|
217 |
btnWorkingAreaFromView.setName("btnWorkingAreaFromView");
|
|
217 |
btnWorkingAreaBookmarks.setActionCommand("...");
|
|
218 |
btnWorkingAreaBookmarks.setName("btnWorkingAreaBookmarks");
|
|
219 |
btnWorkingAreaBookmarks.setText("...");
|
|
218 | 220 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
219 |
btnWorkingAreaFromView.setBorder(emptyborder1);
|
|
220 |
jpanel1.add(btnWorkingAreaFromView,cc.xy(3,3));
|
|
221 |
btnWorkingAreaBookmarks.setBorder(emptyborder1);
|
|
222 |
jpanel1.add(btnWorkingAreaBookmarks,cc.xy(9,1));
|
|
221 | 223 |
|
224 |
btnWorkingAreaHistory.setActionCommand("..."); |
|
225 |
btnWorkingAreaHistory.setName("btnWorkingAreaHistory"); |
|
226 |
btnWorkingAreaHistory.setText("..."); |
|
227 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
228 |
btnWorkingAreaHistory.setBorder(emptyborder2); |
|
229 |
jpanel1.add(btnWorkingAreaHistory,cc.xy(7,1)); |
|
230 |
|
|
222 | 231 |
btnWorkingAreaDialog.setActionCommand("..."); |
223 | 232 |
btnWorkingAreaDialog.setIcon(loadImage("addons/onlinecaptures/images/picker-envelope-from-mapcontrol.png")); |
224 | 233 |
btnWorkingAreaDialog.setName("btnWorkingAreaDialog"); |
225 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
226 |
btnWorkingAreaDialog.setBorder(emptyborder2); |
|
227 |
jpanel1.add(btnWorkingAreaDialog,cc.xy(5,3)); |
|
228 |
|
|
229 |
btnWorkingAreaBookmarks.setActionCommand("..."); |
|
230 |
btnWorkingAreaBookmarks.setName("btnWorkingAreaBookmarks"); |
|
231 |
btnWorkingAreaBookmarks.setText("..."); |
|
232 | 234 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
233 |
btnWorkingAreaBookmarks.setBorder(emptyborder3);
|
|
234 |
jpanel1.add(btnWorkingAreaBookmarks,cc.xy(5,1));
|
|
235 |
btnWorkingAreaDialog.setBorder(emptyborder3);
|
|
236 |
jpanel1.add(btnWorkingAreaDialog,cc.xy(5,1));
|
|
235 | 237 |
|
236 |
btnWorkingAreaHistory.setActionCommand("...");
|
|
237 |
btnWorkingAreaHistory.setName("btnWorkingAreaHistory");
|
|
238 |
btnWorkingAreaHistory.setText("...");
|
|
238 |
btnWorkingAreaFromView.setActionCommand("...");
|
|
239 |
btnWorkingAreaFromView.setIcon(loadImage("org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png"));
|
|
240 |
btnWorkingAreaFromView.setName("btnWorkingAreaFromView");
|
|
239 | 241 |
EmptyBorder emptyborder4 = new EmptyBorder(2,2,2,2); |
240 |
btnWorkingAreaHistory.setBorder(emptyborder4);
|
|
241 |
jpanel1.add(btnWorkingAreaHistory,cc.xy(3,1));
|
|
242 |
btnWorkingAreaFromView.setBorder(emptyborder4);
|
|
243 |
jpanel1.add(btnWorkingAreaFromView,cc.xy(3,1));
|
|
242 | 244 |
|
243 |
addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2 }); |
|
245 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8 },new int[]{ 2 });
|
|
244 | 246 |
return jpanel1; |
245 | 247 |
} |
246 | 248 |
|
... | ... | |
287 | 289 |
return jpanel1; |
288 | 290 |
} |
289 | 291 |
|
292 |
public JPanel createPanel4() |
|
293 |
{ |
|
294 |
JPanel jpanel1 = new JPanel(); |
|
295 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
296 |
CellConstraints cc = new CellConstraints(); |
|
297 |
jpanel1.setLayout(formlayout1); |
|
298 |
|
|
299 |
btnChangeViewProjection.setActionCommand("..."); |
|
300 |
btnChangeViewProjection.setIcon(loadImage("datos/devel/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.geodb.app/org.gvsig.geodb.app.mainplugin/src/main/resources-plugin/images/geodb/geodb-crstoview.png")); |
|
301 |
btnChangeViewProjection.setName("btnChangeViewProjection"); |
|
302 |
btnChangeViewProjection.setOpaque(false); |
|
303 |
btnChangeViewProjection.setToolTipText("_Change_view_projection_to_this_projection"); |
|
304 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
|
305 |
btnChangeViewProjection.setBorder(emptyborder1); |
|
306 |
jpanel1.add(btnChangeViewProjection,cc.xy(3,1)); |
|
307 |
|
|
308 |
addFillComponents(jpanel1,new int[]{ 1,2 },new int[]{ 1 }); |
|
309 |
return jpanel1; |
|
310 |
} |
|
311 |
|
|
290 | 312 |
/** |
291 | 313 |
* Initializer |
292 | 314 |
*/ |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/changes/OnlineJChangesView.java | ||
---|---|---|
80 | 80 |
JButton btnRemoteReloadChanges = new JButton(); |
81 | 81 |
JTextField txtWorkingAreaLabel = new JTextField(); |
82 | 82 |
JTextField txtWorkingArea = new JTextField(); |
83 |
JButton btnWorkingAreaFromView = new JButton(); |
|
84 |
JButton btnWorkingAreaDialog = new JButton(); |
|
85 | 83 |
JButton btnWorkingAreaBookmarks = new JButton(); |
86 | 84 |
JButton btnWorkingAreaHistory = new JButton(); |
85 |
JButton btnWorkingAreaDialog = new JButton(); |
|
86 |
JButton btnWorkingAreaFromView = new JButton(); |
|
87 | 87 |
|
88 | 88 |
/** |
89 | 89 |
* Default constructor |
... | ... | |
748 | 748 |
public JPanel createPanel8() |
749 | 749 |
{ |
750 | 750 |
JPanel jpanel1 = new JPanel(); |
751 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
751 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
752 | 752 |
CellConstraints cc = new CellConstraints(); |
753 | 753 |
jpanel1.setLayout(formlayout1); |
754 | 754 |
|
... | ... | |
756 | 756 |
jpanel1.add(txtWorkingAreaLabel,cc.xy(1,1)); |
757 | 757 |
|
758 | 758 |
txtWorkingArea.setName("txtWorkingArea"); |
759 |
jpanel1.add(txtWorkingArea,cc.xy(1,3));
|
|
759 |
jpanel1.add(txtWorkingArea,cc.xywh(1,3,9,1));
|
|
760 | 760 |
|
761 |
btnWorkingAreaFromView.setActionCommand("...");
|
|
762 |
btnWorkingAreaFromView.setIcon(loadImage("org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png"));
|
|
763 |
btnWorkingAreaFromView.setName("btnWorkingAreaFromView");
|
|
761 |
btnWorkingAreaBookmarks.setActionCommand("...");
|
|
762 |
btnWorkingAreaBookmarks.setName("btnWorkingAreaBookmarks");
|
|
763 |
btnWorkingAreaBookmarks.setText("...");
|
|
764 | 764 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
765 |
btnWorkingAreaFromView.setBorder(emptyborder1);
|
|
766 |
jpanel1.add(btnWorkingAreaFromView,cc.xy(3,3));
|
|
765 |
btnWorkingAreaBookmarks.setBorder(emptyborder1);
|
|
766 |
jpanel1.add(btnWorkingAreaBookmarks,cc.xy(9,1));
|
|
767 | 767 |
|
768 |
btnWorkingAreaHistory.setActionCommand("..."); |
|
769 |
btnWorkingAreaHistory.setName("btnWorkingAreaHistory"); |
|
770 |
btnWorkingAreaHistory.setText("..."); |
|
771 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
772 |
btnWorkingAreaHistory.setBorder(emptyborder2); |
|
773 |
jpanel1.add(btnWorkingAreaHistory,cc.xy(7,1)); |
|
774 |
|
|
768 | 775 |
btnWorkingAreaDialog.setActionCommand("..."); |
769 | 776 |
btnWorkingAreaDialog.setIcon(loadImage("addons/onlinecaptures/images/picker-envelope-from-mapcontrol.png")); |
770 | 777 |
btnWorkingAreaDialog.setName("btnWorkingAreaDialog"); |
771 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
772 |
btnWorkingAreaDialog.setBorder(emptyborder2); |
|
773 |
jpanel1.add(btnWorkingAreaDialog,cc.xy(5,3)); |
|
774 |
|
|
775 |
btnWorkingAreaBookmarks.setActionCommand("..."); |
|
776 |
btnWorkingAreaBookmarks.setName("btnWorkingAreaBookmarks"); |
|
777 |
btnWorkingAreaBookmarks.setText("..."); |
|
778 | 778 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
779 |
btnWorkingAreaBookmarks.setBorder(emptyborder3);
|
|
780 |
jpanel1.add(btnWorkingAreaBookmarks,cc.xy(5,1));
|
|
779 |
btnWorkingAreaDialog.setBorder(emptyborder3);
|
|
780 |
jpanel1.add(btnWorkingAreaDialog,cc.xy(5,1));
|
|
781 | 781 |
|
782 |
btnWorkingAreaHistory.setActionCommand("...");
|
|
783 |
btnWorkingAreaHistory.setName("btnWorkingAreaHistory");
|
|
784 |
btnWorkingAreaHistory.setText("...");
|
|
782 |
btnWorkingAreaFromView.setActionCommand("...");
|
|
783 |
btnWorkingAreaFromView.setIcon(loadImage("org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/resources/org/gvsig/online/swing/impl/images/picker-envelope-from-mapcontrol.png"));
|
|
784 |
btnWorkingAreaFromView.setName("btnWorkingAreaFromView");
|
|
785 | 785 |
EmptyBorder emptyborder4 = new EmptyBorder(2,2,2,2); |
786 |
btnWorkingAreaHistory.setBorder(emptyborder4);
|
|
787 |
jpanel1.add(btnWorkingAreaHistory,cc.xy(3,1));
|
|
786 |
btnWorkingAreaFromView.setBorder(emptyborder4);
|
|
787 |
jpanel1.add(btnWorkingAreaFromView,cc.xy(3,1));
|
|
788 | 788 |
|
789 |
addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2 }); |
|
789 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8 },new int[]{ 2 });
|
|
790 | 790 |
return jpanel1; |
791 | 791 |
} |
792 | 792 |
|
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/online/swing/impl/changes/OnlineJChangesImpl.java | ||
---|---|---|
68 | 68 |
import org.gvsig.online.swing.impl.OnlineSwingManagerImpl; |
69 | 69 |
import static org.gvsig.online.swing.impl.OnlineSwingManagerImpl.ICON_GROUP_NAME; |
70 | 70 |
import static org.gvsig.online.swing.impl.OnlineSwingManagerImpl.ICON_PROVIDER_NAME; |
71 |
import org.gvsig.online.swing.impl.OnlineWorkingcopyPickerControllerImpl; |
|
71 | 72 |
import org.gvsig.online.swing.impl.workingarea.WorkingAreaPickerControllerImpl; |
72 | 73 |
import org.gvsig.tools.ToolsLocator; |
73 | 74 |
import org.gvsig.tools.dispose.DisposeUtils; |
... | ... | |
111 | 112 |
public static final int LOCAL_TAB_INDEX = 0; |
112 | 113 |
public static final int REMOTE_TAB_INDEX = 1; |
113 | 114 |
|
114 |
private PickerController<OnlineWorkingcopy> workspacePicker;
|
|
115 |
private OnlineWorkingcopyPickerControllerImpl workspacePicker;
|
|
115 | 116 |
private LocalChangesController localChangesController; |
116 | 117 |
private RemoteChangesController remoteChangesController; |
117 | 118 |
// private final List<VCSGisWorkspaceEntity> workspaceEntities = null; |
... | ... | |
222 | 223 |
SwingUtilities.invokeLater(() -> {this.setVisibleStatus(false); }); |
223 | 224 |
|
224 | 225 |
|
225 |
this.workspacePicker = onlineSwingManager.createPickerWorkspaceController( |
|
226 |
this.workspacePicker = (OnlineWorkingcopyPickerControllerImpl) onlineSwingManager.createPickerWorkspaceController(
|
|
226 | 227 |
this.cboWorkspace, |
227 | 228 |
this.btnWorkspace |
228 | 229 |
); |
... | ... | |
309 | 310 |
this.cboSynchorizationZone.addActionListener((ActionEvent e) -> { |
310 | 311 |
doUpdateComponents(); |
311 | 312 |
}); |
312 |
this.cboSynchorizationZone.setSelectedIndex(0);
|
|
313 |
this.cboSynchorizationZone.setSelectedIndex(1);
|
|
313 | 314 |
|
314 | 315 |
this.localChangesController = new LocalChangesController( |
315 | 316 |
this, |
... | ... | |
368 | 369 |
}); |
369 | 370 |
|
370 | 371 |
ToolsSwingUtils.ensureRowsCols(this, 14, 100); |
372 |
|
|
373 |
|
|
374 |
SwingUtilities.invokeLater(() -> { |
|
375 |
// this.workspacePicker.setSelectedIndex(0); |
Also available in: Unified diff