Revision 9120
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
360 | 360 |
_Too_many_repositories_only_one_allowed=Demasiados repositorios, solo esta permitido uno. |
361 | 361 |
|
362 | 362 |
_Cant_update_table_XtablaX_dont_exists=No es posible actualizar la tabla ''{0}'', no existe. |
363 |
_Cant_update_table_XtablaX_are_in_edition=No es posible actualizar la tabla ''{0}'', esta en edici\u00f3n. |
|
363 |
_Cant_update_table_XtablaX_are_in_edition=No es posible actualizar la tabla ''{0}'', esta en edici\u00f3n. |
|
364 |
|
|
365 |
_Select_entities_in_use=Seleccionar entidades en uso |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties | ||
---|---|---|
345 | 345 |
_Too_many_repositories_only_one_allowed=Too many repositories, only one allowed. |
346 | 346 |
|
347 | 347 |
_Cant_update_table_XtablaX_dont_exists=Can't update the thable ''{0}'', don't exists. |
348 |
_Cant_update_table_XtablaX_are_in_edition=Can't update the thable ''{0}'', are in edition. |
|
348 |
_Cant_update_table_XtablaX_are_in_edition=Can't update the thable ''{0}'', are in edition. |
|
349 |
|
|
350 |
_Select_entities_in_use=Select entities in use |
|
351 |
|
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.mainplugin/src/main/java/org/gvsig/vcsgis/app/VCSGisSwingServicesImpl.java | ||
---|---|---|
53 | 53 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
54 | 54 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
55 | 55 |
import org.gvsig.fmap.mapcontext.layers.vectorial.GraphicLayer; |
56 |
import org.gvsig.fmap.mapcontext.layers.vectorial.VectorLayer; |
|
56 | 57 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
57 | 58 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol_v2; |
58 | 59 |
import org.gvsig.fmap.mapcontrol.MapControl; |
... | ... | |
60 | 61 |
import org.gvsig.json.JsonArrayBuilder; |
61 | 62 |
import org.gvsig.json.JsonObjectBuilder; |
62 | 63 |
import org.gvsig.tools.ToolsLocator; |
64 |
import org.gvsig.tools.dispose.Disposable; |
|
65 |
import org.gvsig.tools.dispose.DisposeUtils; |
|
63 | 66 |
import org.gvsig.tools.i18n.I18nManager; |
64 | 67 |
import org.gvsig.tools.util.LabeledValue; |
65 | 68 |
import org.gvsig.tools.util.LabeledValueImpl; |
... | ... | |
670 | 673 |
} |
671 | 674 |
} |
672 | 675 |
|
676 |
private static class ListDisposable<T> extends ArrayList<T> implements Disposable { |
|
677 |
|
|
678 |
@Override |
|
679 |
public void dispose() { |
|
680 |
for (T element : this) { |
|
681 |
DisposeUtils.dispose(element); |
|
682 |
} |
|
683 |
this.clear(); |
|
684 |
} |
|
685 |
|
|
686 |
} |
|
687 |
|
|
688 |
public List<FeatureStore> getFeatureStores() { |
|
689 |
ListDisposable<FeatureStore> stores = new ListDisposable<>(); |
|
690 |
|
|
691 |
ApplicationManager appManager = ApplicationLocator.getApplicationManager(); |
|
692 |
Project project = appManager.getCurrentProject(); |
|
693 |
List<Document> docs = project.getDocuments(); |
|
694 |
for (Document document : docs) { |
|
695 |
if( document instanceof TableDocument ) { |
|
696 |
TableDocument table = (TableDocument) document; |
|
697 |
FeatureStore store = table.getFeatureStore(); |
|
698 |
if( store!=null ) { |
|
699 |
DisposeUtils.bind(store); |
|
700 |
stores.add(store); |
|
701 |
} |
|
702 |
} else if( document instanceof ViewDocument ) { |
|
703 |
ViewDocument view = (ViewDocument) document; |
|
704 |
Iterator<FLayer> it = view.getMapContext().deepiterator(); |
|
705 |
while (it.hasNext()) { |
|
706 |
FLayer layer = it.next(); |
|
707 |
if( layer instanceof VectorLayer ) { |
|
708 |
FeatureStore store = ((VectorLayer) layer).getFeatureStore(); |
|
709 |
if( store!=null ) { |
|
710 |
DisposeUtils.bind(store); |
|
711 |
stores.add(store); |
|
712 |
} |
|
713 |
} |
|
714 |
} |
|
715 |
} |
|
716 |
} |
|
717 |
return stores; |
|
718 |
} |
|
673 | 719 |
} |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingServices.java | ||
---|---|---|
5 | 5 |
*/ |
6 | 6 |
package org.gvsig.vcsgis.swing; |
7 | 7 |
|
8 |
import java.util.List; |
|
8 | 9 |
import java.util.Set; |
9 | 10 |
import javax.swing.ComboBoxModel; |
10 | 11 |
import javax.swing.Icon; |
... | ... | |
71 | 72 |
public boolean isInSomeDocument(FeatureStore store); |
72 | 73 |
|
73 | 74 |
public MapControl getActiveMapControl(); |
75 |
|
|
76 |
public List<FeatureStore> getFeatureStores(); |
|
74 | 77 |
|
75 | 78 |
} |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutImpl.java | ||
---|---|---|
32 | 32 |
import javax.swing.ImageIcon; |
33 | 33 |
import javax.swing.JComponent; |
34 | 34 |
import javax.swing.JOptionPane; |
35 |
import javax.swing.ListModel; |
|
35 | 36 |
import javax.swing.SwingUtilities; |
36 | 37 |
import javax.swing.event.ChangeEvent; |
37 | 38 |
import javax.swing.event.ChangeListener; |
... | ... | |
258 | 259 |
this.btnTablesExpandAll.addActionListener((ActionEvent e) -> { |
259 | 260 |
this.entitySelector.expandAll(); |
260 | 261 |
}); |
262 |
|
|
263 |
this.btnTablesSelectStoresInUse.addActionListener((ActionEvent e) -> { |
|
264 |
this.doSelectEntitiesInUse(); |
|
265 |
}); |
|
261 | 266 |
|
262 | 267 |
this.rdbDontAddToProject.setSelected(true); |
263 | 268 |
|
... | ... | |
816 | 821 |
swingManager.translate(this.chkUseLabelInsteadName); |
817 | 822 |
swingManager.translate(this.btnTablesCollapseAll); |
818 | 823 |
swingManager.translate(this.btnTablesExpandAll); |
824 |
swingManager.translate(this.btnTablesSelectStoresInUse); |
|
819 | 825 |
} |
820 | 826 |
|
821 | 827 |
@Override |
... | ... | |
878 | 884 |
public ImageIcon loadImage(String imageName) { |
879 | 885 |
return VCSGisSwingManagerImpl.loadImage(imageName); |
880 | 886 |
} |
887 |
|
|
888 |
private void doSelectEntitiesInUse() { |
|
889 |
VCSGisSwingManager vcsgisManager = VCSGisSwingLocator.getVCSGisSwingManager(); |
|
890 |
VCSGisSwingServices appServices = vcsgisManager.getDefaultServices(); |
|
891 |
List<FeatureStore> stores = null; |
|
892 |
try { |
|
893 |
stores = appServices.getFeatureStores(); |
|
894 |
|
|
895 |
entitySelector.clearChecks(); |
|
896 |
VCSGisWorkspace ws = this.getWorkspace(); |
|
897 |
for (FeatureStore store : stores) { |
|
898 |
String storeName = "unknown"; |
|
899 |
try { |
|
900 |
storeName = store.getName(); |
|
901 |
if( StringUtils.isNotBlank(storeName) ) { |
|
902 |
VCSGisEntity entity = ws.getEntity(storeName); |
|
903 |
if( entity!=null ) { |
|
904 |
entitySelector.check(entity); |
|
905 |
} |
|
906 |
} |
|
907 |
} catch(Exception ex) { |
|
908 |
LOGGER.warn("Can't select entity '"+storeName+"'.",ex); |
|
909 |
} |
|
910 |
} |
|
911 |
} finally { |
|
912 |
DisposeUtils.disposeQuietly(stores); |
|
913 |
} |
|
914 |
} |
|
881 | 915 |
} |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.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.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.xml</at> |
|
27 |
<at name="id">/home/jjdelcerro/datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.xml</at> |
|
28 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.xml</at> |
|
28 | 29 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:MIN(2DLU;DEFAULT):NONE</at> |
29 | 30 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE</at> |
30 | 31 |
<at name="components"> |
... | ... | |
74 | 75 |
</object> |
75 | 76 |
</at> |
76 | 77 |
<at name="name">lblWorkspace</at> |
77 |
<at name="width">76</at>
|
|
78 |
<at name="width">75</at>
|
|
78 | 79 |
<at name="text">_Workingcopy</at> |
79 | 80 |
<at name="fill"> |
80 | 81 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
81 | 82 |
<at name="name">fill</at> |
82 | 83 |
</object> |
83 | 84 |
</at> |
84 |
<at name="height">14</at>
|
|
85 |
<at name="height">16</at>
|
|
85 | 86 |
</object> |
86 | 87 |
</at> |
87 | 88 |
</object> |
... | ... | |
134 | 135 |
</object> |
135 | 136 |
</at> |
136 | 137 |
<at name="name">cboWorkspaces</at> |
137 |
<at name="width">1169</at>
|
|
138 |
<at name="width">1483</at>
|
|
138 | 139 |
<at name="items"> |
139 | 140 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
140 | 141 |
<at name="name">items</at> |
141 | 142 |
</object> |
142 | 143 |
</at> |
143 |
<at name="height">20</at>
|
|
144 |
<at name="height">22</at>
|
|
144 | 145 |
</object> |
145 | 146 |
</at> |
146 | 147 |
</object> |
... | ... | |
199 | 200 |
<at name="actionCommand">...</at> |
200 | 201 |
<at name="opaque">false</at> |
201 | 202 |
<at name="name">btnInitWorkspace</at> |
202 |
<at name="width">16</at>
|
|
203 |
<at name="width">13</at>
|
|
203 | 204 |
<at name="text">...</at> |
204 |
<at name="height">18</at>
|
|
205 |
<at name="height">20</at>
|
|
205 | 206 |
</object> |
206 | 207 |
</at> |
207 | 208 |
</object> |
... | ... | |
226 | 227 |
</at> |
227 | 228 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
228 | 229 |
</super> |
229 |
<at name="id">embedded.543736329</at>
|
|
230 |
<at name="id">embedded.1605195755</at>
|
|
230 | 231 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
231 | 232 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:MAX(12DLU;DEFAULT):NONE</at> |
232 | 233 |
<at name="components"> |
... | ... | |
276 | 277 |
</object> |
277 | 278 |
</at> |
278 | 279 |
<at name="name">lblStatusTitle</at> |
279 |
<at name="width">1257</at>
|
|
280 |
<at name="width">1568</at>
|
|
280 | 281 |
<at name="fill"> |
281 | 282 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
282 | 283 |
<at name="name">fill</at> |
... | ... | |
335 | 336 |
</object> |
336 | 337 |
</at> |
337 | 338 |
<at name="name">pbStatus</at> |
338 |
<at name="width">1257</at>
|
|
339 |
<at name="width">1568</at>
|
|
339 | 340 |
<at name="percentComplete">0.25</at> |
340 | 341 |
<at name="value">25</at> |
341 | 342 |
<at name="height">14</at> |
... | ... | |
391 | 392 |
</object> |
392 | 393 |
</at> |
393 | 394 |
<at name="name">lblStatusMessages</at> |
394 |
<at name="width">1257</at>
|
|
395 |
<at name="width">1568</at>
|
|
395 | 396 |
<at name="fill"> |
396 | 397 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
397 | 398 |
<at name="name">fill</at> |
... | ... | |
456 | 457 |
<at name="actionCommand">...</at> |
457 | 458 |
<at name="opaque">false</at> |
458 | 459 |
<at name="name">btnStatusCancel</at> |
459 |
<at name="width">17</at>
|
|
460 |
<at name="width">14</at>
|
|
460 | 461 |
<at name="text">...</at> |
461 |
<at name="height">18</at>
|
|
462 |
<at name="height">20</at>
|
|
462 | 463 |
</object> |
463 | 464 |
</at> |
464 | 465 |
</object> |
... | ... | |
633 | 634 |
</at> |
634 | 635 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
635 | 636 |
</super> |
636 |
<at name="id">embedded.708240415</at>
|
|
637 |
<at name="id">embedded.700455490</at>
|
|
637 | 638 |
<at name="rowspecs">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</at> |
638 | 639 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE</at> |
639 | 640 |
<at name="components"> |
... | ... | |
683 | 684 |
</object> |
684 | 685 |
</at> |
685 | 686 |
<at name="name">txtFilter</at> |
686 |
<at name="width">1202</at>
|
|
687 |
<at name="height">20</at>
|
|
687 |
<at name="width">1515</at>
|
|
688 |
<at name="height">22</at>
|
|
688 | 689 |
</object> |
689 | 690 |
</at> |
690 | 691 |
</object> |
... | ... | |
743 | 744 |
<at name="actionCommand">...</at> |
744 | 745 |
<at name="opaque">false</at> |
745 | 746 |
<at name="name">btnTable</at> |
746 |
<at name="width">16</at>
|
|
747 |
<at name="width">13</at>
|
|
747 | 748 |
<at name="text">...</at> |
748 |
<at name="height">18</at>
|
|
749 |
<at name="height">20</at>
|
|
749 | 750 |
</object> |
750 | 751 |
</at> |
751 | 752 |
</object> |
... | ... | |
801 | 802 |
<at name="scrollableTracksViewportWidth">true</at> |
802 | 803 |
<at name="name">treeTables</at> |
803 | 804 |
<at name="showsRootHandles">true</at> |
804 |
<at name="width">1236</at>
|
|
805 |
<at name="width">1546</at>
|
|
805 | 806 |
<at name="rowCount">3</at> |
806 | 807 |
<at name="scollBars"> |
807 | 808 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
... | ... | |
831 | 832 |
</object> |
832 | 833 |
</at> |
833 | 834 |
<at name="rootVisible">false</at> |
834 |
<at name="height">321</at>
|
|
835 |
<at name="height">437</at>
|
|
835 | 836 |
</object> |
836 | 837 |
</at> |
837 | 838 |
</object> |
... | ... | |
891 | 892 |
</object> |
892 | 893 |
</at> |
893 | 894 |
<at name="name">rdbDontAddToProject</at> |
894 |
<at name="width">1202</at>
|
|
895 |
<at name="width">1515</at>
|
|
895 | 896 |
<at name="text">_Dont_add_the_tables_or_layers_to_the_project</at> |
896 |
<at name="height">16</at>
|
|
897 |
<at name="height">18</at>
|
|
897 | 898 |
</object> |
898 | 899 |
</at> |
899 | 900 |
</object> |
... | ... | |
953 | 954 |
</object> |
954 | 955 |
</at> |
955 | 956 |
<at name="name">rdbAddLayerToView</at> |
956 |
<at name="width">1202</at>
|
|
957 |
<at name="width">1515</at>
|
|
957 | 958 |
<at name="text">_Add_layers_to_view</at> |
958 |
<at name="height">16</at>
|
|
959 |
<at name="height">18</at>
|
|
959 | 960 |
</object> |
960 | 961 |
</at> |
961 | 962 |
</object> |
... | ... | |
1015 | 1016 |
</object> |
1016 | 1017 |
</at> |
1017 | 1018 |
<at name="name">rdbAddTableToProject</at> |
1018 |
<at name="width">1202</at>
|
|
1019 |
<at name="width">1515</at>
|
|
1019 | 1020 |
<at name="text">_Add_tables_to_project</at> |
1020 |
<at name="height">16</at>
|
|
1021 |
<at name="height">18</at>
|
|
1021 | 1022 |
</object> |
1022 | 1023 |
</at> |
1023 | 1024 |
</object> |
... | ... | |
1042 | 1043 |
</at> |
1043 | 1044 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1044 | 1045 |
</super> |
1045 |
<at name="id">embedded.807604407</at>
|
|
1046 |
<at name="id">embedded.2095250253</at>
|
|
1046 | 1047 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
1047 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at> |
|
1048 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at>
|
|
1048 | 1049 |
<at name="components"> |
1049 | 1050 |
<object classname="java.util.LinkedList"> |
1050 | 1051 |
<item > |
... | ... | |
1053 | 1054 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
1054 | 1055 |
<at name="cellconstraints"> |
1055 | 1056 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1056 |
<at name="column">6</at>
|
|
1057 |
<at name="column">7</at>
|
|
1057 | 1058 |
<at name="row">1</at> |
1058 | 1059 |
<at name="colspan">1</at> |
1059 | 1060 |
<at name="rowspan">1</at> |
... | ... | |
1093 | 1094 |
</at> |
1094 | 1095 |
<at name="actionCommand">_Overwrite_table</at> |
1095 | 1096 |
<at name="name">chkOverwriteTable</at> |
1096 |
<at name="width">114</at>
|
|
1097 |
<at name="width">108</at>
|
|
1097 | 1098 |
<at name="text">_Overwrite_table</at> |
1098 | 1099 |
<at name="enabled">false</at> |
1099 | 1100 |
<at name="toolTipText">_Delete_existing_table_in_workingcopy_and_checkout_table_from_repository</at> |
1100 |
<at name="height">16</at>
|
|
1101 |
<at name="height">18</at>
|
|
1101 | 1102 |
</object> |
1102 | 1103 |
</at> |
1103 | 1104 |
</object> |
... | ... | |
1326 | 1327 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
1327 | 1328 |
<at name="cellconstraints"> |
1328 | 1329 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1330 |
<at name="column">5</at> |
|
1331 |
<at name="row">1</at> |
|
1332 |
<at name="colspan">1</at> |
|
1333 |
<at name="rowspan">1</at> |
|
1334 |
<at name="halign">default</at> |
|
1335 |
<at name="valign">default</at> |
|
1336 |
<at name="insets" object="insets">0,0,0,0</at> |
|
1337 |
</object> |
|
1338 |
</at> |
|
1339 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
1340 |
</super> |
|
1341 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
1342 |
<at name="beanclass">javax.swing.JButton</at> |
|
1343 |
<at name="beanproperties"> |
|
1344 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
1345 |
<at name="classname">javax.swing.JButton</at> |
|
1346 |
<at name="properties"> |
|
1347 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
1348 |
<at name="border"> |
|
1349 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
1350 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1351 |
<at name="name">border</at> |
|
1352 |
</super> |
|
1353 |
<at name="borders"> |
|
1354 |
<object classname="java.util.LinkedList"> |
|
1355 |
<item > |
|
1356 |
<at name="value"> |
|
1357 |
<object classname="com.jeta.forms.store.properties.EmptyBorderProperty"> |
|
1358 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1359 |
<at name="name">border</at> |
|
1360 |
</super> |
|
1361 |
<at name="top">1</at> |
|
1362 |
<at name="left">1</at> |
|
1363 |
<at name="bottom">1</at> |
|
1364 |
<at name="right">1</at> |
|
1365 |
</object> |
|
1366 |
</at> |
|
1367 |
</item> |
|
1368 |
</object> |
|
1369 |
</at> |
|
1370 |
</object> |
|
1371 |
</at> |
|
1372 |
<at name="actionCommand">...</at> |
|
1373 |
<at name="opaque">false</at> |
|
1374 |
<at name="icon"> |
|
1375 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
1376 |
<at name="embedded">false</at> |
|
1377 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/resources/org/gvsig/vcsgis/swing/impl/images/vcsgis-checkout-select-stores.png</at> |
|
1378 |
<at name="description">vcsgis-checkout-select-stores.png</at> |
|
1379 |
<at name="width">22</at> |
|
1380 |
<at name="height">22</at> |
|
1381 |
</object> |
|
1382 |
</at> |
|
1383 |
<at name="name">btnTablesSelectStoresInUse</at> |
|
1384 |
<at name="width">24</at> |
|
1385 |
<at name="rolloverEnabled">true</at> |
|
1386 |
<at name="toolTipText">_Select_entities_in_use</at> |
|
1387 |
<at name="height">24</at> |
|
1388 |
</object> |
|
1389 |
</at> |
|
1390 |
</object> |
|
1391 |
</at> |
|
1392 |
</object> |
|
1393 |
</at> |
|
1394 |
</item> |
|
1395 |
<item > |
|
1396 |
<at name="value"> |
|
1397 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
1398 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
1399 |
<at name="cellconstraints"> |
|
1400 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
1329 | 1401 |
<at name="column">4</at> |
1330 | 1402 |
<at name="row">1</at> |
1331 | 1403 |
<at name="colspan">1</at> |
... | ... | |
1450 | 1522 |
<at name="rows"> |
1451 | 1523 |
<object classname="[Ljava.lang.Object;" size="1"> |
1452 | 1524 |
<at name="item" index="0"> |
1453 |
<object classname="[Ljava.lang.Object;" size="6"/>
|
|
1525 |
<object classname="[Ljava.lang.Object;" size="7"/>
|
|
1454 | 1526 |
</at> |
1455 | 1527 |
</object> |
1456 | 1528 |
</at> |
... | ... | |
1490 | 1562 |
</at> |
1491 | 1563 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1492 | 1564 |
</super> |
1493 |
<at name="id">embedded.529623964</at>
|
|
1565 |
<at name="id">embedded.556601905</at>
|
|
1494 | 1566 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE</at> |
1495 | 1567 |
<at name="colspecs">FILL:8DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)</at> |
1496 | 1568 |
<at name="components"> |
... | ... | |
1540 | 1612 |
</object> |
1541 | 1613 |
</at> |
1542 | 1614 |
<at name="name">cboView</at> |
1543 |
<at name="width">1219</at>
|
|
1615 |
<at name="width">1531</at>
|
|
1544 | 1616 |
<at name="items"> |
1545 | 1617 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
1546 | 1618 |
<at name="name">items</at> |
1547 | 1619 |
</object> |
1548 | 1620 |
</at> |
1549 |
<at name="height">20</at>
|
|
1621 |
<at name="height">22</at>
|
|
1550 | 1622 |
</object> |
1551 | 1623 |
</at> |
1552 | 1624 |
</object> |
... | ... | |
1600 | 1672 |
</at> |
1601 | 1673 |
<at name="actionCommand">_Replace_layer_if_exists</at> |
1602 | 1674 |
<at name="name">chkReplaceLayerIfExists</at> |
1603 |
<at name="width">163</at>
|
|
1675 |
<at name="width">146</at>
|
|
1604 | 1676 |
<at name="text">_Replace_layers_if_exists</at> |
1605 |
<at name="height">16</at>
|
|
1677 |
<at name="height">18</at>
|
|
1606 | 1678 |
</object> |
1607 | 1679 |
</at> |
1608 | 1680 |
</object> |
... | ... | |
1656 | 1728 |
</at> |
1657 | 1729 |
<at name="actionCommand">_Use_label_instead_of_name</at> |
1658 | 1730 |
<at name="name">chkUseLabelInsteadName</at> |
1659 |
<at name="width">183</at>
|
|
1731 |
<at name="width">166</at>
|
|
1660 | 1732 |
<at name="text">_Use_label_instead_of_name</at> |
1661 |
<at name="height">16</at>
|
|
1733 |
<at name="height">18</at>
|
|
1662 | 1734 |
</object> |
1663 | 1735 |
</at> |
1664 | 1736 |
</object> |
... | ... | |
1905 | 1977 |
</at> |
1906 | 1978 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1907 | 1979 |
</super> |
1908 |
<at name="id">embedded.657520424</at>
|
|
1980 |
<at name="id">embedded.1126808283</at>
|
|
1909 | 1981 |
<at name="rowspecs">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:2DLU:NONE</at> |
1910 | 1982 |
<at name="colspecs">FILL:4DLU:NONE,FILL:22PX:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
1911 | 1983 |
<at name="components"> |
... | ... | |
1962 | 2034 |
</object> |
1963 | 2035 |
</at> |
1964 | 2036 |
<at name="name">rdbEffectiveDate</at> |
1965 |
<at name="width">1238</at>
|
|
2037 |
<at name="width">1548</at>
|
|
1966 | 2038 |
<at name="text">_Effective_date</at> |
1967 |
<at name="height">16</at>
|
|
2039 |
<at name="height">18</at>
|
|
1968 | 2040 |
</object> |
1969 | 2041 |
</at> |
1970 | 2042 |
</object> |
... | ... | |
2024 | 2096 |
</object> |
2025 | 2097 |
</at> |
2026 | 2098 |
<at name="name">rdbRevision</at> |
2027 |
<at name="width">1238</at>
|
|
2099 |
<at name="width">1548</at>
|
|
2028 | 2100 |
<at name="text">_Revision</at> |
2029 |
<at name="height">16</at>
|
|
2101 |
<at name="height">18</at>
|
|
2030 | 2102 |
</object> |
2031 | 2103 |
</at> |
2032 | 2104 |
</object> |
... | ... | |
2086 | 2158 |
</object> |
2087 | 2159 |
</at> |
2088 | 2160 |
<at name="name">rdblastRevision</at> |
2089 |
<at name="width">1238</at>
|
|
2161 |
<at name="width">1548</at>
|
|
2090 | 2162 |
<at name="text">_Last_revision</at> |
2091 | 2163 |
<at name="selected">true</at> |
2092 |
<at name="height">16</at>
|
|
2164 |
<at name="height">18</at>
|
|
2093 | 2165 |
</object> |
2094 | 2166 |
</at> |
2095 | 2167 |
</object> |
... | ... | |
2114 | 2186 |
</at> |
2115 | 2187 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2116 | 2188 |
</super> |
2117 |
<at name="id">embedded.1696916406</at>
|
|
2189 |
<at name="id">embedded.882849742</at>
|
|
2118 | 2190 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
2119 | 2191 |
<at name="colspecs">FILL:22PX:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
2120 | 2192 |
<at name="components"> |
... | ... | |
2164 | 2236 |
</object> |
2165 | 2237 |
</at> |
2166 | 2238 |
<at name="name">txtEffectiveDate</at> |
2167 |
<at name="width">1184</at>
|
|
2239 |
<at name="width">1498</at>
|
|
2168 | 2240 |
<at name="enabled">false</at> |
2169 |
<at name="height">20</at>
|
|
2241 |
<at name="height">22</at>
|
|
2170 | 2242 |
</object> |
2171 | 2243 |
</at> |
2172 | 2244 |
</object> |
... | ... | |
2225 | 2297 |
<at name="actionCommand">...</at> |
2226 | 2298 |
<at name="opaque">false</at> |
2227 | 2299 |
<at name="name">btnEffectiveDate</at> |
2228 |
<at name="width">16</at>
|
|
2300 |
<at name="width">13</at>
|
|
2229 | 2301 |
<at name="text">...</at> |
2230 | 2302 |
<at name="enabled">false</at> |
2231 |
<at name="height">18</at>
|
|
2303 |
<at name="height">20</at>
|
|
2232 | 2304 |
</object> |
2233 | 2305 |
</at> |
2234 | 2306 |
</object> |
... | ... | |
2253 | 2325 |
</at> |
2254 | 2326 |
</object> |
2255 | 2327 |
</at> |
2256 |
<at name="name"></at>
|
|
2328 |
<at name="name"/>
|
|
2257 | 2329 |
<at name="fill"> |
2258 | 2330 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
2259 | 2331 |
<at name="name">fill</at> |
... | ... | |
2335 | 2407 |
</at> |
2336 | 2408 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2337 | 2409 |
</super> |
2338 |
<at name="id">embedded.151449759</at>
|
|
2410 |
<at name="id">embedded.2051319802</at>
|
|
2339 | 2411 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
2340 | 2412 |
<at name="colspecs">FILL:22PX:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
2341 | 2413 |
<at name="components"> |
... | ... | |
2385 | 2457 |
</object> |
2386 | 2458 |
</at> |
2387 | 2459 |
<at name="name">txtRevision</at> |
2388 |
<at name="width">1184</at>
|
|
2460 |
<at name="width">1498</at>
|
|
2389 | 2461 |
<at name="enabled">false</at> |
2390 |
<at name="height">20</at>
|
|
2462 |
<at name="height">22</at>
|
|
2391 | 2463 |
</object> |
2392 | 2464 |
</at> |
2393 | 2465 |
</object> |
... | ... | |
2446 | 2518 |
<at name="actionCommand">...</at> |
2447 | 2519 |
<at name="opaque">false</at> |
2448 | 2520 |
<at name="name">btnRevision</at> |
2449 |
<at name="width">16</at>
|
|
2521 |
<at name="width">13</at>
|
|
2450 | 2522 |
<at name="text">...</at> |
2451 | 2523 |
<at name="enabled">false</at> |
2452 |
<at name="height">18</at>
|
|
2524 |
<at name="height">20</at>
|
|
2453 | 2525 |
</object> |
2454 | 2526 |
</at> |
2455 | 2527 |
</object> |
... | ... | |
2585 | 2657 |
</at> |
2586 | 2658 |
<at name="actionCommand">_Export_only_extent_of_current_view</at> |
2587 | 2659 |
<at name="name">chkCheckoutOnlyOneArea</at> |
2588 |
<at name="width">1216</at>
|
|
2660 |
<at name="width">1526</at>
|
|
2589 | 2661 |
<at name="text">_Checkout_only_one_area</at> |
2590 |
<at name="height">16</at>
|
|
2662 |
<at name="height">18</at>
|
|
2591 | 2663 |
</object> |
2592 | 2664 |
</at> |
2593 | 2665 |
</object> |
... | ... | |
2612 | 2684 |
</at> |
2613 | 2685 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2614 | 2686 |
</super> |
2615 |
<at name="id">embedded.1877988055</at>
|
|
2687 |
<at name="id">embedded.1206194692</at>
|
|
2616 | 2688 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
2617 | 2689 |
<at name="colspecs">FILL:22PX:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
2618 | 2690 |
<at name="components"> |
... | ... | |
2662 | 2734 |
</object> |
2663 | 2735 |
</at> |
2664 | 2736 |
<at name="name">txtExtent</at> |
2665 |
<at name="width">1135</at>
|
|
2666 |
<at name="height">20</at>
|
|
2737 |
<at name="width">1453</at>
|
|
2738 |
<at name="height">22</at>
|
|
2667 | 2739 |
</object> |
2668 | 2740 |
</at> |
2669 | 2741 |
</object> |
... | ... | |
2722 | 2794 |
<at name="actionCommand">...</at> |
2723 | 2795 |
<at name="opaque">false</at> |
2724 | 2796 |
<at name="name">btnExtentFromView</at> |
2725 |
<at name="width">16</at>
|
|
2797 |
<at name="width">13</at>
|
|
2726 | 2798 |
<at name="text">...</at> |
2727 |
<at name="height">18</at>
|
|
2799 |
<at name="height">20</at>
|
|
2728 | 2800 |
</object> |
2729 | 2801 |
</at> |
2730 | 2802 |
</object> |
... | ... | |
2782 | 2854 |
</at> |
2783 | 2855 |
<at name="actionCommand">...</at> |
2784 | 2856 |
<at name="name">btnExtentCapture</at> |
2785 |
<at name="width">16</at>
|
|
2857 |
<at name="width">13</at>
|
|
2786 | 2858 |
<at name="text">...</at> |
2787 |
<at name="height">18</at>
|
|
2859 |
<at name="height">20</at>
|
|
2788 | 2860 |
</object> |
2789 | 2861 |
</at> |
2790 | 2862 |
</object> |
... | ... | |
3004 | 3076 |
</at> |
3005 | 3077 |
</object> |
3006 | 3078 |
</at> |
3007 |
<at name="width">1283</at>
|
|
3079 |
<at name="width">1591</at>
|
|
3008 | 3080 |
<at name="tabCount">2</at> |
3009 |
<at name="height">627</at>
|
|
3081 |
<at name="height">763</at>
|
|
3010 | 3082 |
</object> |
3011 | 3083 |
</at> |
3012 | 3084 |
</object> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.java | ||
---|---|---|
47 | 47 |
JButton btnCheckAll = new JButton(); |
48 | 48 |
JButton btnUnCheckAll = new JButton(); |
49 | 49 |
JButton btnTablesCollapseAll = new JButton(); |
50 |
JButton btnTablesSelectStoresInUse = new JButton(); |
|
50 | 51 |
JButton btnTablesExpandAll = new JButton(); |
51 | 52 |
JComboBox cboView = new JComboBox(); |
52 | 53 |
JCheckBox chkReplaceLayerIfExists = new JCheckBox(); |
... | ... | |
266 | 267 |
public JPanel createPanel3() |
267 | 268 |
{ |
268 | 269 |
JPanel jpanel1 = new JPanel(); |
269 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
270 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
|
|
270 | 271 |
CellConstraints cc = new CellConstraints(); |
271 | 272 |
jpanel1.setLayout(formlayout1); |
272 | 273 |
|
... | ... | |
275 | 276 |
chkOverwriteTable.setName("chkOverwriteTable"); |
276 | 277 |
chkOverwriteTable.setText("_Overwrite_table"); |
277 | 278 |
chkOverwriteTable.setToolTipText("_Delete_existing_table_in_workingcopy_and_checkout_table_from_repository"); |
278 |
jpanel1.add(chkOverwriteTable,cc.xy(6,1));
|
|
279 |
jpanel1.add(chkOverwriteTable,cc.xy(7,1));
|
|
279 | 280 |
|
280 | 281 |
btnCheckAll.setActionCommand("..."); |
281 | 282 |
btnCheckAll.setEnabled(false); |
... | ... | |
309 | 310 |
btnTablesCollapseAll.setBorder(emptyborder3); |
310 | 311 |
jpanel1.add(btnTablesCollapseAll,cc.xy(3,1)); |
311 | 312 |
|
313 |
btnTablesSelectStoresInUse.setActionCommand("..."); |
|
314 |
btnTablesSelectStoresInUse.setIcon(loadImage("datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/resources/org/gvsig/vcsgis/swing/impl/images/vcsgis-checkout-select-stores.png")); |
|
315 |
btnTablesSelectStoresInUse.setName("btnTablesSelectStoresInUse"); |
|
316 |
btnTablesSelectStoresInUse.setOpaque(false); |
|
317 |
btnTablesSelectStoresInUse.setRolloverEnabled(true); |
|
318 |
btnTablesSelectStoresInUse.setToolTipText("_Select_entities_in_use"); |
|
319 |
EmptyBorder emptyborder4 = new EmptyBorder(1,1,1,1); |
|
320 |
btnTablesSelectStoresInUse.setBorder(emptyborder4); |
|
321 |
jpanel1.add(btnTablesSelectStoresInUse,cc.xy(5,1)); |
|
322 |
|
|
312 | 323 |
btnTablesExpandAll.setActionCommand("..."); |
313 | 324 |
btnTablesExpandAll.setIcon(loadImage("addons/SQLWorkbenchJ/common-expand-all.png")); |
314 | 325 |
btnTablesExpandAll.setName("btnTablesExpandAll"); |
315 | 326 |
btnTablesExpandAll.setOpaque(false); |
316 | 327 |
btnTablesExpandAll.setRolloverEnabled(true); |
317 | 328 |
btnTablesExpandAll.setToolTipText("_Expand_all"); |
318 |
EmptyBorder emptyborder4 = new EmptyBorder(1,1,1,1);
|
|
319 |
btnTablesExpandAll.setBorder(emptyborder4);
|
|
329 |
EmptyBorder emptyborder5 = new EmptyBorder(1,1,1,1);
|
|
330 |
btnTablesExpandAll.setBorder(emptyborder5);
|
|
320 | 331 |
jpanel1.add(btnTablesExpandAll,cc.xy(4,1)); |
321 | 332 |
|
322 |
addFillComponents(jpanel1,new int[]{ 5 },new int[0]);
|
|
333 |
addFillComponents(jpanel1,new int[]{ 6 },new int[0]);
|
|
323 | 334 |
return jpanel1; |
324 | 335 |
} |
325 | 336 |
|
Also available in: Unified diff