Revision 44351
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.api/src/main/java/org/gvsig/fmap/dal/swing/searchpanel/FeatureStoreSearchPanel.java | ||
---|---|---|
12 | 12 |
*/ |
13 | 13 |
public interface FeatureStoreSearchPanel extends Component, ActionListenerSupport { |
14 | 14 |
|
15 |
public static final String CONFIGURABLE_PANEL_ID = "FeatureStoreSearchPanel"; |
|
16 |
|
|
15 | 17 |
public static final String ACTION_CONTEXT_NAME = "FeatureStoreSearchPanel"; |
16 | 18 |
|
17 | 19 |
public static final int DEFAULT_WIDTH = 700; |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.xml | ||
---|---|---|
25 | 25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
26 | 26 |
</super> |
27 | 27 |
<at name="id">/home/jjdelcerro/datos/devel/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.xml</at> |
28 |
<at name="path">datos/devel/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.xml</at> |
|
29 |
<at name="rowspecs">CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
28 |
<at name="rowspecs">CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
30 | 29 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
31 | 30 |
<at name="components"> |
32 | 31 |
<object classname="java.util.LinkedList"> |
... | ... | |
37 | 36 |
<at name="cellconstraints"> |
38 | 37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
39 | 38 |
<at name="column">2</at> |
40 |
<at name="row">2</at>
|
|
39 |
<at name="row">3</at>
|
|
41 | 40 |
<at name="colspan">1</at> |
42 | 41 |
<at name="rowspan">1</at> |
43 | 42 |
<at name="halign">default</at> |
... | ... | |
114 | 113 |
</at> |
115 | 114 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
116 | 115 |
</super> |
117 |
<at name="id">embedded.1002811823</at>
|
|
116 |
<at name="id">embedded.2041925155</at>
|
|
118 | 117 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
119 | 118 |
<at name="colspecs">FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:DEFAULT:NONE,FILL:4DLU:NONE</at> |
120 | 119 |
<at name="components"> |
... | ... | |
167 | 166 |
<at name="editable">true</at> |
168 | 167 |
<at name="requestFocusEnabled">false</at> |
169 | 168 |
<at name="name">cboValue1</at> |
170 |
<at name="width">172</at>
|
|
169 |
<at name="width">161</at>
|
|
171 | 170 |
<at name="items"> |
172 | 171 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
173 | 172 |
<at name="name">items</at> |
... | ... | |
229 | 228 |
<at name="editable">true</at> |
230 | 229 |
<at name="requestFocusEnabled">false</at> |
231 | 230 |
<at name="name">cboValue2</at> |
232 |
<at name="width">171</at>
|
|
231 |
<at name="width">161</at>
|
|
233 | 232 |
<at name="items"> |
234 | 233 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
235 | 234 |
<at name="name">items</at> |
... | ... | |
291 | 290 |
<at name="editable">true</at> |
292 | 291 |
<at name="requestFocusEnabled">false</at> |
293 | 292 |
<at name="name">cboValue3</at> |
294 |
<at name="width">172</at>
|
|
293 |
<at name="width">161</at>
|
|
295 | 294 |
<at name="items"> |
296 | 295 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
297 | 296 |
<at name="name">items</at> |
... | ... | |
353 | 352 |
<at name="editable">true</at> |
354 | 353 |
<at name="requestFocusEnabled">false</at> |
355 | 354 |
<at name="name">cboValue4</at> |
356 |
<at name="width">164</at>
|
|
355 |
<at name="width">154</at>
|
|
357 | 356 |
<at name="items"> |
358 | 357 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
359 | 358 |
<at name="name">items</at> |
... | ... | |
413 | 412 |
</at> |
414 | 413 |
<at name="horizontalAlignment">0</at> |
415 | 414 |
<at name="name">lblRelationalOperator1</at> |
416 |
<at name="width">145</at>
|
|
415 |
<at name="width">134</at>
|
|
417 | 416 |
<at name="text">Igual</at> |
418 | 417 |
<at name="fill"> |
419 | 418 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
474 | 473 |
</at> |
475 | 474 |
<at name="horizontalAlignment">0</at> |
476 | 475 |
<at name="name">lblRelationalOperator2</at> |
477 |
<at name="width">144</at>
|
|
476 |
<at name="width">134</at>
|
|
478 | 477 |
<at name="text">Igual</at> |
479 | 478 |
<at name="fill"> |
480 | 479 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
535 | 534 |
</at> |
536 | 535 |
<at name="horizontalAlignment">0</at> |
537 | 536 |
<at name="name">lblRelationalOperator3</at> |
538 |
<at name="width">145</at>
|
|
537 |
<at name="width">134</at>
|
|
539 | 538 |
<at name="text">Igual</at> |
540 | 539 |
<at name="fill"> |
541 | 540 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
596 | 595 |
</at> |
597 | 596 |
<at name="horizontalAlignment">0</at> |
598 | 597 |
<at name="name">lblRelationalOperator4</at> |
599 |
<at name="width">144</at>
|
|
598 |
<at name="width">134</at>
|
|
600 | 599 |
<at name="text">Igual</at> |
601 | 600 |
<at name="fill"> |
602 | 601 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
840 | 839 |
</at> |
841 | 840 |
<at name="horizontalAlignment">0</at> |
842 | 841 |
<at name="name">lblField1</at> |
843 |
<at name="width">145</at>
|
|
842 |
<at name="width">134</at>
|
|
844 | 843 |
<at name="fill"> |
845 | 844 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
846 | 845 |
<at name="name">fill</at> |
... | ... | |
900 | 899 |
</at> |
901 | 900 |
<at name="horizontalAlignment">0</at> |
902 | 901 |
<at name="name">lblField2</at> |
903 |
<at name="width">144</at>
|
|
902 |
<at name="width">134</at>
|
|
904 | 903 |
<at name="fill"> |
905 | 904 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
906 | 905 |
<at name="name">fill</at> |
... | ... | |
960 | 959 |
</at> |
961 | 960 |
<at name="horizontalAlignment">0</at> |
962 | 961 |
<at name="name">lblField3</at> |
963 |
<at name="width">145</at>
|
|
962 |
<at name="width">134</at>
|
|
964 | 963 |
<at name="fill"> |
965 | 964 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
966 | 965 |
<at name="name">fill</at> |
... | ... | |
1020 | 1019 |
</at> |
1021 | 1020 |
<at name="horizontalAlignment">0</at> |
1022 | 1021 |
<at name="name">lblField4</at> |
1023 |
<at name="width">144</at>
|
|
1022 |
<at name="width">134</at>
|
|
1024 | 1023 |
<at name="fill"> |
1025 | 1024 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1026 | 1025 |
<at name="name">fill</at> |
... | ... | |
1323 | 1322 |
</at> |
1324 | 1323 |
</object> |
1325 | 1324 |
</at> |
1326 |
<at name="name"/>
|
|
1325 |
<at name="name"></at>
|
|
1327 | 1326 |
<at name="fill"> |
1328 | 1327 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
1329 | 1328 |
<at name="name">fill</at> |
... | ... | |
1436 | 1435 |
</at> |
1437 | 1436 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1438 | 1437 |
</super> |
1439 |
<at name="id">embedded.203971818</at>
|
|
1438 |
<at name="id">embedded.1846888562</at>
|
|
1440 | 1439 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
1441 | 1440 |
<at name="colspecs">FILL:4DLU:NONE,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</at> |
1442 | 1441 |
<at name="components"> |
... | ... | |
1486 | 1485 |
</object> |
1487 | 1486 |
</at> |
1488 | 1487 |
<at name="name">txtAdvancedExpression</at> |
1489 |
<at name="width">811</at>
|
|
1488 |
<at name="width">769</at>
|
|
1490 | 1489 |
<at name="height">20</at> |
1491 | 1490 |
</object> |
1492 | 1491 |
</at> |
... | ... | |
1540 | 1539 |
</object> |
1541 | 1540 |
</at> |
1542 | 1541 |
<at name="name">lblExpressionDeBusqueda</at> |
1543 |
<at name="width">811</at>
|
|
1542 |
<at name="width">769</at>
|
|
1544 | 1543 |
<at name="text">Introduzca una expresion de busqueda</at> |
1545 | 1544 |
<at name="fill"> |
1546 | 1545 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
1832 | 1831 |
</at> |
1833 | 1832 |
</object> |
1834 | 1833 |
</at> |
1835 |
<at name="width">929</at>
|
|
1834 |
<at name="width">887</at>
|
|
1836 | 1835 |
<at name="tabCount">2</at> |
1837 | 1836 |
<at name="height">154</at> |
1838 | 1837 |
</object> |
... | ... | |
1844 | 1843 |
</item> |
1845 | 1844 |
<item > |
1846 | 1845 |
<at name="value"> |
1846 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
1847 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
1848 |
<at name="cellconstraints"> |
|
1849 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
1850 |
<at name="column">2</at> |
|
1851 |
<at name="row">6</at> |
|
1852 |
<at name="colspan">1</at> |
|
1853 |
<at name="rowspan">1</at> |
|
1854 |
<at name="halign">default</at> |
|
1855 |
<at name="valign">default</at> |
|
1856 |
<at name="insets" object="insets">0,0,0,0</at> |
|
1857 |
</object> |
|
1858 |
</at> |
|
1859 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
1860 |
</super> |
|
1861 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
1862 |
<at name="beanclass">javax.swing.JTable</at> |
|
1863 |
<at name="beanproperties"> |
|
1864 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
1865 |
<at name="classname">javax.swing.JTable</at> |
|
1866 |
<at name="properties"> |
|
1867 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
1868 |
<at name="border"> |
|
1869 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
1870 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1871 |
<at name="name">border</at> |
|
1872 |
</super> |
|
1873 |
<at name="borders"> |
|
1874 |
<object classname="java.util.LinkedList"> |
|
1875 |
<item > |
|
1876 |
<at name="value"> |
|
1877 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
1878 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1879 |
<at name="name">border</at> |
|
1880 |
</super> |
|
1881 |
</object> |
|
1882 |
</at> |
|
1883 |
</item> |
|
1884 |
</object> |
|
1885 |
</at> |
|
1886 |
</object> |
|
1887 |
</at> |
|
1888 |
<at name="name">tblResults</at> |
|
1889 |
<at name="width">885</at> |
|
1890 |
<at name="scollBars"> |
|
1891 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
1892 |
<at name="name">scollBars</at> |
|
1893 |
<at name="verticalpolicy">20</at> |
|
1894 |
<at name="horizontalpolicy">30</at> |
|
1895 |
<at name="border"> |
|
1896 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
1897 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1898 |
<at name="name">border</at> |
|
1899 |
</super> |
|
1900 |
<at name="borders"> |
|
1901 |
<object classname="java.util.LinkedList"> |
|
1902 |
<item > |
|
1903 |
<at name="value"> |
|
1904 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
1905 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
1906 |
<at name="name">border</at> |
|
1907 |
</super> |
|
1908 |
</object> |
|
1909 |
</at> |
|
1910 |
</item> |
|
1911 |
</object> |
|
1912 |
</at> |
|
1913 |
</object> |
|
1914 |
</at> |
|
1915 |
</object> |
|
1916 |
</at> |
|
1917 |
<at name="height">32</at> |
|
1918 |
</object> |
|
1919 |
</at> |
|
1920 |
</object> |
|
1921 |
</at> |
|
1922 |
</object> |
|
1923 |
</at> |
|
1924 |
</item> |
|
1925 |
<item > |
|
1926 |
<at name="value"> |
|
1847 | 1927 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
1848 | 1928 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
1849 | 1929 |
<at name="cellconstraints"> |
1850 | 1930 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
1851 | 1931 |
<at name="column">2</at> |
1852 |
<at name="row">3</at>
|
|
1932 |
<at name="row">4</at>
|
|
1853 | 1933 |
<at name="colspan">1</at> |
1854 | 1934 |
<at name="rowspan">1</at> |
1855 | 1935 |
<at name="halign">default</at> |
... | ... | |
1859 | 1939 |
</at> |
1860 | 1940 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1861 | 1941 |
</super> |
1862 |
<at name="id">embedded.659464780</at>
|
|
1942 |
<at name="id">embedded.1196826108</at>
|
|
1863 | 1943 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
1864 | 1944 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
1865 | 1945 |
<at name="components"> |
... | ... | |
2060 | 2140 |
</item> |
2061 | 2141 |
<item > |
2062 | 2142 |
<at name="value"> |
2063 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
2064 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
2065 |
<at name="cellconstraints"> |
|
2066 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
2067 |
<at name="column">2</at> |
|
2068 |
<at name="row">5</at> |
|
2069 |
<at name="colspan">1</at> |
|
2070 |
<at name="rowspan">1</at> |
|
2071 |
<at name="halign">default</at> |
|
2072 |
<at name="valign">default</at> |
|
2073 |
<at name="insets" object="insets">0,0,0,0</at> |
|
2074 |
</object> |
|
2075 |
</at> |
|
2076 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
2077 |
</super> |
|
2078 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
2079 |
<at name="beanclass">javax.swing.JTable</at> |
|
2080 |
<at name="beanproperties"> |
|
2081 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
2082 |
<at name="classname">javax.swing.JTable</at> |
|
2083 |
<at name="properties"> |
|
2084 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
2085 |
<at name="border"> |
|
2086 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
2087 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2088 |
<at name="name">border</at> |
|
2089 |
</super> |
|
2090 |
<at name="borders"> |
|
2091 |
<object classname="java.util.LinkedList"> |
|
2092 |
<item > |
|
2093 |
<at name="value"> |
|
2094 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
2095 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2096 |
<at name="name">border</at> |
|
2097 |
</super> |
|
2098 |
</object> |
|
2099 |
</at> |
|
2100 |
</item> |
|
2101 |
</object> |
|
2102 |
</at> |
|
2103 |
</object> |
|
2104 |
</at> |
|
2105 |
<at name="name">tblResults</at> |
|
2106 |
<at name="width">927</at> |
|
2107 |
<at name="scollBars"> |
|
2108 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
2109 |
<at name="name">scollBars</at> |
|
2110 |
<at name="verticalpolicy">20</at> |
|
2111 |
<at name="horizontalpolicy">30</at> |
|
2112 |
<at name="border"> |
|
2113 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
2114 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2115 |
<at name="name">border</at> |
|
2116 |
</super> |
|
2117 |
<at name="borders"> |
|
2118 |
<object classname="java.util.LinkedList"> |
|
2119 |
<item > |
|
2120 |
<at name="value"> |
|
2121 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
2122 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2123 |
<at name="name">border</at> |
|
2124 |
</super> |
|
2125 |
</object> |
|
2126 |
</at> |
|
2127 |
</item> |
|
2128 |
</object> |
|
2129 |
</at> |
|
2130 |
</object> |
|
2131 |
</at> |
|
2132 |
</object> |
|
2133 |
</at> |
|
2134 |
<at name="height">32</at> |
|
2135 |
</object> |
|
2136 |
</at> |
|
2137 |
</object> |
|
2138 |
</at> |
|
2139 |
</object> |
|
2140 |
</at> |
|
2141 |
</item> |
|
2142 |
<item > |
|
2143 |
<at name="value"> |
|
2144 | 2143 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
2145 | 2144 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
2146 | 2145 |
<at name="cellconstraints"> |
2147 | 2146 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
2148 | 2147 |
<at name="column">2</at> |
2149 |
<at name="row">7</at>
|
|
2148 |
<at name="row">8</at>
|
|
2150 | 2149 |
<at name="colspan">1</at> |
2151 | 2150 |
<at name="rowspan">1</at> |
2152 | 2151 |
<at name="halign">default</at> |
... | ... | |
2156 | 2155 |
</at> |
2157 | 2156 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2158 | 2157 |
</super> |
2159 |
<at name="id">embedded.2059256114</at>
|
|
2158 |
<at name="id">embedded.267987326</at>
|
|
2160 | 2159 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
2161 | 2160 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
2162 | 2161 |
<at name="components"> |
... | ... | |
2206 | 2205 |
</object> |
2207 | 2206 |
</at> |
2208 | 2207 |
<at name="name">lblMsg</at> |
2209 |
<at name="width">901</at>
|
|
2208 |
<at name="width">859</at>
|
|
2210 | 2209 |
<at name="fill"> |
2211 | 2210 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
2212 | 2211 |
<at name="name">fill</at> |
... | ... | |
2336 | 2335 |
</object> |
2337 | 2336 |
</at> |
2338 | 2337 |
</item> |
2338 |
<item > |
|
2339 |
<at name="value"> |
|
2340 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
2341 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
2342 |
<at name="cellconstraints"> |
|
2343 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
2344 |
<at name="column">2</at> |
|
2345 |
<at name="row">2</at> |
|
2346 |
<at name="colspan">1</at> |
|
2347 |
<at name="rowspan">1</at> |
|
2348 |
<at name="halign">default</at> |
|
2349 |
<at name="valign">default</at> |
|
2350 |
<at name="insets" object="insets">0,0,0,0</at> |
|
2351 |
</object> |
|
2352 |
</at> |
|
2353 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
2354 |
</super> |
|
2355 |
<at name="id">embedded.I17092edeI16c41952af7OY7ff1</at> |
|
2356 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
2357 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at> |
|
2358 |
<at name="components"> |
|
2359 |
<object classname="java.util.LinkedList"> |
|
2360 |
<item > |
|
2361 |
<at name="value"> |
|
2362 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
2363 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
2364 |
<at name="cellconstraints"> |
|
2365 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
2366 |
<at name="column">2</at> |
|
2367 |
<at name="row">1</at> |
|
2368 |
<at name="colspan">1</at> |
|
2369 |
<at name="rowspan">1</at> |
|
2370 |
<at name="halign">default</at> |
|
2371 |
<at name="valign">default</at> |
|
2372 |
<at name="insets" object="insets">0,0,0,0</at> |
|
2373 |
</object> |
|
2374 |
</at> |
|
2375 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
2376 |
</super> |
|
2377 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
2378 |
<at name="beanclass">javax.swing.JPanel</at> |
|
2379 |
<at name="beanproperties"> |
|
2380 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
2381 |
<at name="classname">javax.swing.JPanel</at> |
|
2382 |
<at name="properties"> |
|
2383 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
2384 |
<at name="opaque">false</at> |
|
2385 |
<at name="name">pnlCfgActions</at> |
|
2386 |
<at name="width">12</at> |
|
2387 |
<at name="height">12</at> |
|
2388 |
</object> |
|
2389 |
</at> |
|
2390 |
</object> |
|
2391 |
</at> |
|
2392 |
</object> |
|
2393 |
</at> |
|
2394 |
</item> |
|
2395 |
</object> |
|
2396 |
</at> |
|
2397 |
<at name="properties"> |
|
2398 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
2399 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
2400 |
<at name="properties"> |
|
2401 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
2402 |
<at name="border"> |
|
2403 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
2404 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2405 |
<at name="name">border</at> |
|
2406 |
</super> |
|
2407 |
<at name="borders"> |
|
2408 |
<object classname="java.util.LinkedList"/> |
|
2409 |
</at> |
|
2410 |
</object> |
|
2411 |
</at> |
|
2412 |
<at name="name"></at> |
|
2413 |
<at name="fill"> |
|
2414 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
2415 |
<at name="name">fill</at> |
|
2416 |
</object> |
|
2417 |
</at> |
|
2418 |
<at name="scollBars"> |
|
2419 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
2420 |
<at name="name">scollBars</at> |
|
2421 |
<at name="verticalpolicy">21</at> |
|
2422 |
<at name="horizontalpolicy">31</at> |
|
2423 |
</object> |
|
2424 |
</at> |
|
2425 |
</object> |
|
2426 |
</at> |
|
2427 |
</object> |
|
2428 |
</at> |
|
2429 |
<at name="cellpainters"> |
|
2430 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
2431 |
<at name="rows"> |
|
2432 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
2433 |
<at name="item" index="0"> |
|
2434 |
<object classname="[Ljava.lang.Object;" size="2"/> |
|
2435 |
</at> |
|
2436 |
</object> |
|
2437 |
</at> |
|
2438 |
</object> |
|
2439 |
</at> |
|
2440 |
<at name="rowgroups"> |
|
2441 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
2442 |
<at name="groups"> |
|
2443 |
<object classname="java.util.HashMap"/> |
|
2444 |
</at> |
|
2445 |
</object> |
|
2446 |
</at> |
|
2447 |
<at name="colgroups"> |
|
2448 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
2449 |
<at name="groups"> |
|
2450 |
<object classname="java.util.HashMap"/> |
|
2451 |
</at> |
|
2452 |
</object> |
|
2453 |
</at> |
|
2454 |
</object> |
|
2455 |
</at> |
|
2456 |
</item> |
|
2339 | 2457 |
</object> |
2340 | 2458 |
</at> |
2341 | 2459 |
<at name="properties"> |
... | ... | |
2393 | 2511 |
<at name="cellpainters"> |
2394 | 2512 |
<object classname="com.jeta.forms.store.support.Matrix"> |
2395 | 2513 |
<at name="rows"> |
2396 |
<object classname="[Ljava.lang.Object;" size="8">
|
|
2514 |
<object classname="[Ljava.lang.Object;" size="9">
|
|
2397 | 2515 |
<at name="item" index="0"> |
2398 | 2516 |
<object classname="[Ljava.lang.Object;" size="3"/> |
2399 | 2517 |
</at> |
... | ... | |
2418 | 2536 |
<at name="item" index="7"> |
2419 | 2537 |
<object classname="[Ljava.lang.Object;" size="3"/> |
2420 | 2538 |
</at> |
2539 |
<at name="item" index="8"> |
|
2540 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
2541 |
</at> |
|
2421 | 2542 |
</object> |
2422 | 2543 |
</at> |
2423 | 2544 |
</object> |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.java | ||
---|---|---|
48 | 48 |
JButton btnAdvancedExpression = new JButton(); |
49 | 49 |
JButton btnAdvancedExpressionHistory = new JButton(); |
50 | 50 |
JButton btnAdvancedExpressionBookmarks = new JButton(); |
51 |
JTable tblResults = new JTable(); |
|
51 | 52 |
JButton btnSearch = new JButton(); |
52 | 53 |
JButton btnClear = new JButton(); |
53 |
JTable tblResults = new JTable(); |
|
54 | 54 |
JLabel lblMsg = new JLabel(); |
55 | 55 |
JPanel pnlActions = new JPanel(); |
56 |
JPanel pnlCfgActions = new JPanel(); |
|
56 | 57 |
|
57 | 58 |
/** |
58 | 59 |
* Default constructor |
... | ... | |
144 | 145 |
public JPanel createPanel() |
145 | 146 |
{ |
146 | 147 |
JPanel jpanel1 = new JPanel(); |
147 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
148 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
148 | 149 |
CellConstraints cc = new CellConstraints(); |
149 | 150 |
jpanel1.setLayout(formlayout1); |
150 | 151 |
|
... | ... | |
154 | 155 |
tabSearchMode.setTabPlacement(JTabbedPane.BOTTOM); |
155 | 156 |
tabSearchMode.addTab("Simplificada",null,createPanel1()); |
156 | 157 |
tabSearchMode.addTab("Avanzada",null,createPanel2()); |
157 |
jpanel1.add(tabSearchMode,cc.xy(2,2));
|
|
158 |
jpanel1.add(tabSearchMode,cc.xy(2,3));
|
|
158 | 159 |
|
159 |
jpanel1.add(createPanel3(),cc.xy(2,3)); |
|
160 | 160 |
tblResults.setName("tblResults"); |
161 | 161 |
JScrollPane jscrollpane1 = new JScrollPane(); |
162 | 162 |
jscrollpane1.setViewportView(tblResults); |
163 | 163 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
164 | 164 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
165 |
jpanel1.add(jscrollpane1,cc.xy(2,5));
|
|
165 |
jpanel1.add(jscrollpane1,cc.xy(2,6));
|
|
166 | 166 |
|
167 |
jpanel1.add(createPanel4(),cc.xy(2,7)); |
|
168 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4,5,6,7,8 }); |
|
167 |
jpanel1.add(createPanel3(),cc.xy(2,4)); |
|
168 |
jpanel1.add(createPanel4(),cc.xy(2,8)); |
|
169 |
jpanel1.add(createPanel5(),cc.xy(2,2)); |
|
170 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
169 | 171 |
return jpanel1; |
170 | 172 |
} |
171 | 173 |
|
... | ... | |
341 | 343 |
return jpanel1; |
342 | 344 |
} |
343 | 345 |
|
346 |
public JPanel createPanel5() |
|
347 |
{ |
|
348 |
JPanel jpanel1 = new JPanel(); |
|
349 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
350 |
CellConstraints cc = new CellConstraints(); |
|
351 |
jpanel1.setLayout(formlayout1); |
|
352 |
|
|
353 |
pnlCfgActions.setName("pnlCfgActions"); |
|
354 |
pnlCfgActions.setOpaque(false); |
|
355 |
jpanel1.add(pnlCfgActions,cc.xy(2,1)); |
|
356 |
|
|
357 |
addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 }); |
|
358 |
return jpanel1; |
|
359 |
} |
|
360 |
|
|
344 | 361 |
/** |
345 | 362 |
* Initializer |
346 | 363 |
*/ |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanel.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.dal.swing.impl.searchpanel; |
2 | 2 |
|
3 |
import java.awt.BorderLayout; |
|
3 | 4 |
import java.awt.Cursor; |
4 | 5 |
import java.awt.Dimension; |
5 | 6 |
import java.awt.FlowLayout; |
... | ... | |
11 | 12 |
import java.util.HashMap; |
12 | 13 |
import java.util.List; |
13 | 14 |
import java.util.Map; |
15 |
import javax.swing.AbstractAction; |
|
14 | 16 |
import javax.swing.Action; |
17 |
import static javax.swing.Action.ACTION_COMMAND_KEY; |
|
18 |
import static javax.swing.Action.NAME; |
|
15 | 19 |
import javax.swing.BorderFactory; |
16 | 20 |
import javax.swing.ImageIcon; |
17 | 21 |
import javax.swing.JButton; |
... | ... | |
22 | 26 |
import javax.swing.table.TableModel; |
23 | 27 |
import org.apache.commons.io.FilenameUtils; |
24 | 28 |
import org.apache.commons.lang.mutable.MutableObject; |
29 |
import org.apache.commons.lang3.StringUtils; |
|
30 |
import org.gvsig.configurableactions.ConfigurableActionsMamager; |
|
25 | 31 |
import org.gvsig.expressionevaluator.Code; |
26 | 32 |
import org.gvsig.expressionevaluator.Expression; |
27 | 33 |
import org.gvsig.expressionevaluator.ExpressionBuilder; |
... | ... | |
31 | 37 |
import org.gvsig.expressionevaluator.swing.ExpressionEvaluatorSwingLocator; |
32 | 38 |
import org.gvsig.expressionevaluator.swing.ExpressionEvaluatorSwingManager; |
33 | 39 |
import org.gvsig.expressionevaluator.swing.ExpressionPickerController; |
40 |
import static org.gvsig.fmap.dal.DataManager.DAL_USE_LABELS; |
|
41 |
import static org.gvsig.fmap.dal.DataManager.USE_LABELS_BOTH; |
|
42 |
import static org.gvsig.fmap.dal.DataManager.USE_LABELS_NO; |
|
43 |
import static org.gvsig.fmap.dal.DataManager.USE_LABELS_YES; |
|
34 | 44 |
import org.gvsig.fmap.dal.DataStore; |
35 | 45 |
import org.gvsig.fmap.dal.complements.Search; |
36 | 46 |
import org.gvsig.fmap.dal.exception.DataException; |
... | ... | |
44 | 54 |
import org.gvsig.fmap.dal.swing.impl.featuretable.SimpleFeaturesTableModel; |
45 | 55 |
import org.gvsig.fmap.dal.swing.searchpanel.FeatureStoreSearchPanel; |
46 | 56 |
import org.gvsig.tools.ToolsLocator; |
57 |
import org.gvsig.tools.dynobject.Tags; |
|
58 |
import org.gvsig.tools.i18n.I18nManager; |
|
47 | 59 |
import org.gvsig.tools.swing.api.ActionListenerSupport; |
48 | 60 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
49 | 61 |
import org.gvsig.tools.swing.icontheme.IconTheme; |
62 |
import org.gvsig.tools.util.ToolsUtilLocator; |
|
50 | 63 |
import org.slf4j.Logger; |
51 | 64 |
import org.slf4j.LoggerFactory; |
52 | 65 |
|
... | ... | |
54 | 67 |
* |
55 | 68 |
* @author jjdelcerro |
56 | 69 |
*/ |
57 |
@SuppressWarnings("UseSpecificCatch")
|
|
70 |
@SuppressWarnings({"UseSpecificCatch","Convert2Lambda"})
|
|
58 | 71 |
public class DefaultSearchPanel |
59 | 72 |
extends DefaultSearchPanelView |
60 | 73 |
implements FeatureStoreSearchPanel { |
... | ... | |
62 | 75 |
private static final Logger LOGGER = LoggerFactory.getLogger(DefaultSearchPanel.class); |
63 | 76 |
private Expression currentSearch; |
64 | 77 |
|
78 |
static /* friend */ Integer useLabels = null; |
|
79 |
|
|
80 |
public static class UseLabelsYesAction extends AbstractAction { |
|
81 |
|
|
82 |
public UseLabelsYesAction() { |
|
83 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
84 |
|
|
85 |
this.putValue(NAME, i18n.getTranslation("_Use_labels")); |
|
86 |
this.putValue(ACTION_COMMAND_KEY, "UseLabelsYes"); |
|
87 |
} |
|
88 |
|
|
89 |
@Override |
|
90 |
public void actionPerformed(ActionEvent ae) { |
|
91 |
DefaultSearchPanel.useLabels = USE_LABELS_YES; |
|
92 |
} |
|
93 |
} |
|
94 |
|
|
95 |
public static class UseLabelsNoAction extends AbstractAction { |
|
96 |
|
|
97 |
public UseLabelsNoAction() { |
|
98 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
99 |
|
|
100 |
this.putValue(NAME, i18n.getTranslation("_Use_names")); |
|
101 |
this.putValue(ACTION_COMMAND_KEY, "UseLabelsNo"); |
|
102 |
} |
|
103 |
|
|
104 |
@Override |
|
105 |
public void actionPerformed(ActionEvent ae) { |
|
106 |
DefaultSearchPanel.useLabels = USE_LABELS_NO; |
|
107 |
} |
|
108 |
} |
|
109 |
|
|
110 |
public static class UseLabelsBothAction extends AbstractAction { |
|
111 |
|
|
112 |
public UseLabelsBothAction() { |
|
113 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
114 |
|
|
115 |
this.putValue(NAME, i18n.getTranslation("_Use_labels_and_names")); |
|
116 |
this.putValue(ACTION_COMMAND_KEY, "UseLabelsBoth"); |
|
117 |
} |
|
118 |
|
|
119 |
@Override |
|
120 |
public void actionPerformed(ActionEvent ae) { |
|
121 |
DefaultSearchPanel.useLabels = USE_LABELS_BOTH; |
|
122 |
} |
|
123 |
} |
|
124 |
|
|
125 |
|
|
65 | 126 |
private class ActionButtons { |
66 | 127 |
|
67 | 128 |
private final DALActionFactory factory; |
... | ... | |
187 | 248 |
} |
188 | 249 |
|
189 | 250 |
private void initComponents() { |
251 |
ConfigurableActionsMamager cfgActionsManager = ToolsUtilLocator.getConfigurableActionsMamager(); |
|
252 |
JComponent c = cfgActionsManager.getConfigurableActionsComponent(CONFIGURABLE_PANEL_ID, this); |
|
253 |
this.pnlCfgActions.setLayout(new BorderLayout(0,0)); |
|
254 |
this.pnlCfgActions.add(c, BorderLayout.CENTER); |
|
255 |
|
|
190 | 256 |
this.searchFields = new ArrayList<>(); |
191 | 257 |
SearchFieldController controller = new SearchFieldController( |
192 | 258 |
store, |
... | ... | |
507 | 573 |
new String[]{"dalswing", "featurestore-column"}, |
508 | 574 |
new String[]{"dalswing", "featurestore-foreing-key"}, |
509 | 575 |
new String[]{"dalswing", "featurestore-table"}, |
576 |
new String[]{"dalswing", "featurestore-closedlist"}, |
|
510 | 577 |
new String[]{"dalswing", "search-action-showform"}, |
511 | 578 |
new String[]{"dalswing", "search-action-select"}, |
512 | 579 |
new String[]{"dalswing", "search-action-select-add"}, |
... | ... | |
518 | 585 |
theme.registerDefault("DALSwing", icon[0], icon[1], null, url); |
519 | 586 |
} |
520 | 587 |
|
588 |
ConfigurableActionsMamager cfgActionsManager = ToolsUtilLocator.getConfigurableActionsMamager(); |
|
589 |
cfgActionsManager.addConfigurableAction(CONFIGURABLE_PANEL_ID, new UseLabelsYesAction()); |
|
590 |
cfgActionsManager.addConfigurableAction(CONFIGURABLE_PANEL_ID, new UseLabelsNoAction()); |
|
591 |
cfgActionsManager.addConfigurableAction(CONFIGURABLE_PANEL_ID, new UseLabelsBothAction()); |
|
592 |
|
|
521 | 593 |
} |
522 | 594 |
|
523 | 595 |
@Override |
... | ... | |
546 | 618 |
public boolean isShowActions() { |
547 | 619 |
return this.showActions; |
548 | 620 |
} |
621 |
|
|
622 |
|
|
623 |
public static String getAttributeDescriptorLabel(FeatureAttributeDescriptor attrdesc, String tableName) { |
|
624 |
String theLabel; |
|
625 |
int theUseLabels; |
|
626 |
if( useLabels == null ) { |
|
627 |
Tags tags = attrdesc.getTags(); |
|
628 |
if( tags.has(DAL_USE_LABELS) ) { |
|
629 |
theUseLabels = tags.getInt(DAL_USE_LABELS, USE_LABELS_NO); |
|
630 |
} else { |
|
631 |
tags = attrdesc.getFeatureType().getTags(); |
|
632 |
theUseLabels = tags.getInt(DAL_USE_LABELS, USE_LABELS_NO); |
|
633 |
} |
|
634 |
} else { |
|
635 |
theUseLabels = useLabels; |
|
636 |
} |
|
637 |
switch(theUseLabels) { |
|
638 |
case USE_LABELS_YES: |
|
639 |
if( StringUtils.isBlank(tableName) ) { |
|
640 |
theLabel = attrdesc.getLocalizedLabel(); |
|
641 |
} else { |
|
642 |
theLabel = String.format("%s [%s]", attrdesc.getLocalizedLabel(), tableName); |
|
643 |
} |
|
644 |
break; |
|
645 |
default: |
|
646 |
case USE_LABELS_NO: |
|
647 |
if( StringUtils.isBlank(tableName) ) { |
|
648 |
theLabel = attrdesc.getName(); |
|
649 |
} else { |
|
650 |
theLabel = String.format("%s [%s]", attrdesc.getName(), tableName); |
|
651 |
} |
|
652 |
break; |
|
653 |
case USE_LABELS_BOTH: |
|
654 |
if( StringUtils.isBlank(tableName) ) { |
|
655 |
theLabel = String.format("%s [%s]", attrdesc.getLocalizedLabel(), attrdesc.getName()); |
|
656 |
} else { |
|
657 |
theLabel = String.format("%s [%s/%s]", attrdesc.getLocalizedLabel(), attrdesc.getName(), tableName); |
|
658 |
} |
|
659 |
break; |
|
660 |
} |
|
661 |
return theLabel; |
|
662 |
} |
|
663 |
|
|
549 | 664 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/SearchFieldController.java | ||
---|---|---|
35 | 35 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
36 | 36 |
import org.gvsig.fmap.dal.feature.FeatureType; |
37 | 37 |
import org.gvsig.fmap.dal.swing.impl.searchpanel.AdvancedAttributeSelectionTreeModel.Node; |
38 |
import static org.gvsig.fmap.dal.swing.impl.searchpanel.DefaultSearchPanel.getAttributeDescriptorLabel; |
|
38 | 39 |
import org.gvsig.tools.ToolsLocator; |
39 | 40 |
import org.gvsig.tools.dataTypes.CoercionException; |
40 | 41 |
import org.gvsig.tools.dataTypes.DataTypesManager; |
... | ... | |
67 | 68 |
FeatureAttributeDescriptor attrdesc; |
68 | 69 |
private final FeatureStore store; |
69 | 70 |
private final int type; |
71 |
private final boolean showStoreName; |
|
70 | 72 |
|
71 | 73 |
public FeatureAttribute(FeatureStore store, FeatureAttributeDescriptor attrdesc, int type) { |
72 |
this(store, attrdesc, null, null, type);
|
|
74 |
this(store, attrdesc, null, type, false);
|
|
73 | 75 |
} |
74 | 76 |
|
75 | 77 |
public FeatureAttribute( |
76 | 78 |
FeatureStore store, |
77 | 79 |
FeatureAttributeDescriptor attrdesc, |
78 |
String label, |
|
79 | 80 |
String value, |
80 |
int type |
|
81 |
int type, |
|
82 |
boolean showStoreName |
|
81 | 83 |
) { |
82 | 84 |
super( |
83 |
ObjectUtils.defaultIfNull(label, attrdesc.getLocalizedLabel()),
|
|
85 |
getAttributeDescriptorLabel(attrdesc, store.getName()),
|
|
84 | 86 |
ObjectUtils.defaultIfNull(value, attrdesc.getName()) |
85 | 87 |
); |
86 | 88 |
this.store = store; |
87 | 89 |
this.attrdesc = attrdesc; |
88 | 90 |
this.type = type; |
91 |
this.showStoreName = showStoreName; |
|
89 | 92 |
} |
90 | 93 |
|
91 | 94 |
@Override |
92 | 95 |
public String getLabel() { |
93 |
String theLabel = super.getLabel();
|
|
96 |
String theLabel = getAttributeDescriptorLabel(attrdesc, showStoreName? store.getName():null);
|
|
94 | 97 |
switch(this.type) { |
95 | 98 |
case Search.OrderedAttribute.TYPE_REGURAL: |
96 | 99 |
break; |
... | ... | |
317 | 320 |
return; |
318 | 321 |
} |
319 | 322 |
} |
320 |
String formula = builder.function(DataManager.FUNCTION_FOREING_VALUE, list).toString();
|
|
321 |
String label = attrdesc.getLabel() + " [" + theStore.getName() + "]";
|
|
323 |
String formula; |
|
324 |
boolean showStoreName;
|
|
322 | 325 |
if (StringUtils.equalsIgnoreCase(storeFullName, this.store.getFullName())) { |
323 |
label = attrdesc.getLocalizedLabel(); |
|
324 | 326 |
formula = attrdesc.getName(); |
327 |
showStoreName = false; |
|
328 |
} else { |
|
329 |
formula = builder.function(DataManager.FUNCTION_FOREING_VALUE, list).toString(); |
|
330 |
showStoreName = true; |
|
325 | 331 |
} |
326 |
FeatureAttribute attribute = new FeatureAttribute(theStore, attrdesc, label, formula, Search.OrderedAttribute.TYPE_REGURAL);
|
|
332 |
FeatureAttribute attribute = new FeatureAttribute(theStore, attrdesc, formula, Search.OrderedAttribute.TYPE_REGURAL, showStoreName);
|
|
327 | 333 |
model.addElement(attribute); |
328 | 334 |
IconTheme iconTheme = ToolsSwingLocator.getIconThemeManager().getCurrent(); |
329 | 335 |
this.ddnFields.getIcons().add(iconTheme.get(attrdesc.getDataType().getIconName())); |
... | ... | |
531 | 537 |
doUpdateValuesList(); |
532 | 538 |
} |
533 | 539 |
|
534 |
}; |
|
540 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/AdvancedAttributeSelectionTreeModel.java | ||
---|---|---|
17 | 17 |
import org.gvsig.fmap.dal.feature.FeatureType; |
18 | 18 |
import org.gvsig.fmap.dal.feature.ForeingKey; |
19 | 19 |
import org.gvsig.fmap.dal.feature.ForeingKey.ContextForeingKey; |
20 |
import static org.gvsig.fmap.dal.swing.impl.searchpanel.DefaultSearchPanel.getAttributeDescriptorLabel; |
|
20 | 21 |
import org.gvsig.tools.ToolsLocator; |
21 | 22 |
import org.gvsig.tools.util.LabeledValue; |
22 | 23 |
import org.gvsig.tools.util.LabeledValueImpl; |
... | ... | |
66 | 67 |
public String getLabel() { |
67 | 68 |
String theLabel; |
68 | 69 |
FeatureAttributeDescriptor attrdesc = this.getValue(); |
69 |
if( attrdesc!=null && attrdesc.isForeingKey() ) { |
|
70 |
ForeingKey foreingKey = attrdesc.getForeingKey(); |
|
71 |
theLabel = String.format("%s [%s]", super.getLabel(), foreingKey.getTableName()); |
|
70 |
if( attrdesc==null ) { |
|
71 |
theLabel = super.getLabel(); |
|
72 | 72 |
} else { |
73 |
theLabel = super.getLabel(); |
|
73 |
String tableName = null; |
|
74 |
if( attrdesc.isForeingKey() ) { |
|
75 |
ForeingKey foreingKey = attrdesc.getForeingKey(); |
|
76 |
tableName = foreingKey.getTableName(); |
|
77 |
} |
|
78 |
theLabel = getAttributeDescriptorLabel(attrdesc, tableName); |
|
74 | 79 |
} |
75 | 80 |
switch(this.type) { |
76 | 81 |
case Search.OrderedAttribute.TYPE_REGURAL: |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/featuretype/FeatureTypePanelView.java | ||
---|---|---|
40 | 40 |
JLabel lblTagsName = new JLabel(); |
41 | 41 |
JLabel lblTagsValue = new JLabel(); |
42 | 42 |
JComboBox cboTagsName = new JComboBox(); |
43 |
JTextField txtTagsValue = new JTextField(); |
|
44 | 43 |
JTable tblTags = new JTable(); |
45 | 44 |
JButton btnTagsAdd = new JButton(); |
46 | 45 |
JButton btnTagsUpdate = new JButton(); |
47 | 46 |
JButton btnTagsRemove = new JButton(); |
48 | 47 |
JLabel lblTagsDescription = new JLabel(); |
48 |
JComboBox cboTagsValue = new JComboBox(); |
|
49 | 49 |
JLabel lblTags = new JLabel(); |
50 | 50 |
|
51 | 51 |
/** |
... | ... | |
279 | 279 |
cboTagsName.setRequestFocusEnabled(false); |
280 | 280 |
jpanel1.add(cboTagsName,cc.xy(3,3)); |
281 | 281 |
|
282 |
txtTagsValue.setName("txtTagsValue"); |
|
283 |
jpanel1.add(txtTagsValue,cc.xy(3,5)); |
|
284 |
|
|
285 | 282 |
tblTags.setName("tblTags"); |
286 | 283 |
JScrollPane jscrollpane1 = new JScrollPane(); |
287 | 284 |
jscrollpane1.setViewportView(tblTags); |
... | ... | |
293 | 290 |
lblTagsDescription.setName("lblTagsDescription"); |
294 | 291 |
jpanel1.add(lblTagsDescription,cc.xy(3,6)); |
295 | 292 |
|
293 |
cboTagsValue.setEditable(true); |
|
294 |
cboTagsValue.setName("cboTagsValue"); |
|
295 |
cboTagsValue.setRequestFocusEnabled(false); |
|
296 |
jpanel1.add(cboTagsValue,cc.xy(3,5)); |
|
297 |
|
|
296 | 298 |
addFillComponents(jpanel1,new int[]{ 2,3,4,5 },new int[]{ 2,4,6 }); |
297 | 299 |
return jpanel1; |
298 | 300 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/featuretype/FeatureTypeAttributePanelView.xml | ||
---|---|---|
134 | 134 |
</object> |
135 | 135 |
</at> |
136 | 136 |
<at name="name">txtFieldName</at> |
137 |
<at name="width">872</at>
|
|
137 |
<at name="width">848</at>
|
|
138 | 138 |
<at name="height">20</at> |
139 | 139 |
</object> |
140 | 140 |
</at> |
... | ... | |
248 | 248 |
</object> |
249 | 249 |
</at> |
250 | 250 |
<at name="name">cboFieldType</at> |
251 |
<at name="width">872</at>
|
|
251 |
<at name="width">848</at>
|
|
252 | 252 |
<at name="items"> |
253 | 253 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
254 | 254 |
<at name="name">items</at> |
... | ... | |
341 | 341 |
</at> |
342 | 342 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
343 | 343 |
</super> |
344 |
<at name="id">embedded.1128307385</at>
|
|
344 |
<at name="id">embedded.1940560634</at>
|
|
345 | 345 |
<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</at> |
346 | 346 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
347 | 347 |
<at name="components"> |
... | ... | |
451 | 451 |
</object> |
452 | 452 |
</at> |
453 | 453 |
<at name="name">txtSize</at> |
454 |
<at name="width">806</at>
|
|
454 |
<at name="width">782</at>
|
|
455 | 455 |
<at name="height">20</at> |
456 | 456 |
</object> |
457 | 457 |
</at> |
... | ... | |
625 | 625 |
</object> |
626 | 626 |
</at> |
627 | 627 |
<at name="name">txtPrecision</at> |
628 |
<at name="width">806</at>
|
|
628 |
<at name="width">782</at>
|
|
629 | 629 |
<at name="height">20</at> |
630 | 630 |
</object> |
631 | 631 |
</at> |
... | ... | |
679 | 679 |
</object> |
680 | 680 |
</at> |
681 | 681 |
<at name="name">txtDefaultValue</at> |
682 |
<at name="width">806</at>
|
|
682 |
<at name="width">782</at>
|
|
683 | 683 |
<at name="height">20</at> |
684 | 684 |
</object> |
685 | 685 |
</at> |
... | ... | |
793 | 793 |
</object> |
794 | 794 |
</at> |
795 | 795 |
<at name="name">cboDataProfile</at> |
796 |
<at name="width">806</at>
|
|
796 |
<at name="width">782</at>
|
|
797 | 797 |
<at name="items"> |
798 | 798 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
799 | 799 |
<at name="name">items</at> |
... | ... | |
880 | 880 |
</at> |
881 | 881 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
882 | 882 |
</super> |
883 |
<at name="id">embedded.547041794</at>
|
|
883 |
<at name="id">embedded.712942938</at>
|
|
884 | 884 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
885 | 885 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
886 | 886 |
<at name="components"> |
... | ... | |
990 | 990 |
</object> |
991 | 991 |
</at> |
992 | 992 |
<at name="name">txtVirtualField</at> |
993 |
<at name="width">774</at>
|
|
993 |
<at name="width">750</at>
|
|
994 | 994 |
<at name="height">20</at> |
995 | 995 |
</object> |
996 | 996 |
</at> |
... | ... | |
1220 | 1220 |
</at> |
1221 | 1221 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1222 | 1222 |
</super> |
1223 |
<at name="id">embedded.1682990620</at>
|
|
1223 |
<at name="id">embedded.1765877762</at>
|
|
1224 | 1224 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
1225 | 1225 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
1226 | 1226 |
<at name="components"> |
... | ... | |
1450 | 1450 |
</object> |
1451 | 1451 |
</at> |
1452 | 1452 |
<at name="name">cboGeometryType</at> |
1453 |
<at name="width">784</at>
|
|
1453 |
<at name="width">760</at>
|
|
1454 | 1454 |
<at name="items"> |
1455 | 1455 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
1456 | 1456 |
<at name="name">items</at> |
... | ... | |
1509 | 1509 |
</object> |
1510 | 1510 |
</at> |
1511 | 1511 |
<at name="name">cboGeometrySubtype</at> |
1512 |
<at name="width">784</at>
|
|
1512 |
<at name="width">760</at>
|
|
1513 | 1513 |
<at name="items"> |
1514 | 1514 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
1515 | 1515 |
<at name="name">items</at> |
... | ... | |
1540 | 1540 |
</at> |
1541 | 1541 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1542 | 1542 |
</super> |
1543 |
<at name="id">embedded.1289436125</at>
|
|
1543 |
<at name="id">embedded.1888585915</at>
|
|
1544 | 1544 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
1545 | 1545 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
1546 | 1546 |
<at name="components"> |
... | ... | |
1650 | 1650 |
</object> |
1651 | 1651 |
</at> |
1652 | 1652 |
<at name="name">txtCRS</at> |
1653 |
<at name="width">752</at>
|
|
1653 |
<at name="width">728</at>
|
|
1654 | 1654 |
<at name="height">20</at> |
1655 | 1655 |
</object> |
1656 | 1656 |
</at> |
... | ... | |
1871 | 1871 |
</at> |
1872 | 1872 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
1873 | 1873 |
</super> |
1874 |
<at name="id">embedded.8208044</at>
|
|
1874 |
<at name="id">embedded.450607611</at>
|
|
1875 | 1875 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
1876 | 1876 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
1877 | 1877 |
<at name="components"> |
... | ... | |
1984 | 1984 |
<at name="editable">true</at> |
1985 | 1985 |
<at name="requestFocusEnabled">false</at> |
1986 | 1986 |
<at name="name">cboDateFormat</at> |
1987 |
<at name="width">821</at>
|
|
1987 |
<at name="width">797</at>
|
|
1988 | 1988 |
<at name="items"> |
1989 | 1989 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
1990 | 1990 |
<at name="name">items</at> |
... | ... | |
2075 | 2075 |
</at> |
2076 | 2076 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2077 | 2077 |
</super> |
2078 |
<at name="id">embedded.1310372468</at>
|
|
2078 |
<at name="id">embedded.354386480</at>
|
|
2079 | 2079 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE</at> |
2080 | 2080 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
2081 | 2081 |
<at name="components"> |
... | ... | |
2245 | 2245 |
</object> |
2246 | 2246 |
</at> |
2247 | 2247 |
<at name="name">txtIntervalStart</at> |
2248 |
<at name="width">744</at>
|
|
2248 |
<at name="width">720</at>
|
|
2249 | 2249 |
<at name="height">20</at> |
2250 | 2250 |
</object> |
2251 | 2251 |
</at> |
... | ... | |
2419 | 2419 |
</object> |
2420 | 2420 |
</at> |
2421 | 2421 |
<at name="name">txtIntervalEnd</at> |
2422 |
<at name="width">744</at>
|
|
2422 |
<at name="width">720</at>
|
|
2423 | 2423 |
<at name="height">20</at> |
2424 | 2424 |
</object> |
2425 | 2425 |
</at> |
... | ... | |
2643 | 2643 |
</at> |
2644 | 2644 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2645 | 2645 |
</super> |
2646 |
<at name="id">embedded.916288048</at>
|
|
2646 |
<at name="id">embedded.2041296664</at>
|
|
2647 | 2647 |
<at name="rowspecs">FILL:DEFAULT:GROW(1.0)</at> |
2648 | 2648 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0)</at> |
2649 | 2649 |
<at name="components"> |
... | ... | |
2665 | 2665 |
</at> |
2666 | 2666 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
2667 | 2667 |
</super> |
2668 |
<at name="id">embedded.1987863629</at>
|
|
2668 |
<at name="id">embedded.313022436</at>
|
|
2669 | 2669 |
<at name="rowspecs">FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
2670 | 2670 |
<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> |
2671 | 2671 |
<at name="components"> |
... | ... | |
2838 | 2838 |
<at name="editable">true</at> |
2839 | 2839 |
<at name="requestFocusEnabled">false</at> |
2840 | 2840 |
<at name="name">cboTagsName</at> |
2841 |
<at name="width">754</at>
|
|
2841 |
<at name="width">730</at>
|
|
2842 | 2842 |
<at name="items"> |
2843 | 2843 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
2844 | 2844 |
<at name="name">items</at> |
... | ... | |
2858 | 2858 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
2859 | 2859 |
<at name="cellconstraints"> |
2860 | 2860 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
2861 |
<at name="column">4</at> |
|
2862 |
<at name="row">5</at> |
|
2863 |
<at name="colspan">1</at> |
|
2864 |
<at name="rowspan">1</at> |
|
2865 |
<at name="halign">default</at> |
|
2866 |
<at name="valign">default</at> |
|
2867 |
<at name="insets" object="insets">0,0,0,0</at> |
|
2868 |
</object> |
|
2869 |
</at> |
|
2870 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
2871 |
</super> |
|
2872 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
2873 |
<at name="beanclass">javax.swing.JTextField</at> |
|
2874 |
<at name="beanproperties"> |
|
2875 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
2876 |
<at name="classname">javax.swing.JTextField</at> |
|
2877 |
<at name="properties"> |
|
2878 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
2879 |
<at name="border"> |
|
2880 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
2881 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2882 |
<at name="name">border</at> |
|
2883 |
</super> |
|
2884 |
<at name="borders"> |
|
2885 |
<object classname="java.util.LinkedList"> |
|
2886 |
<item > |
|
2887 |
<at name="value"> |
|
2888 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
2889 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
2890 |
<at name="name">border</at> |
|
2891 |
</super> |
|
2892 |
</object> |
|
2893 |
</at> |
|
2894 |
</item> |
|
2895 |
</object> |
|
2896 |
</at> |
|
2897 |
</object> |
|
2898 |
</at> |
|
2899 |
<at name="name">txtTagsValue</at> |
|
2900 |
<at name="width">754</at> |
|
2901 |
<at name="height">20</at> |
|
2902 |
</object> |
|
2903 |
</at> |
|
2904 |
</object> |
|
2905 |
</at> |
|
2906 |
</object> |
|
2907 |
</at> |
|
2908 |
</item> |
|
2909 |
<item > |
|
2910 |
<at name="value"> |
|
2911 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
2912 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
2913 |
<at name="cellconstraints"> |
|
2914 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
2915 | 2861 |
<at name="column">2</at> |
2916 | 2862 |
<at name="row">1</at> |
2917 | 2863 |
<at name="colspan">3</at> |
... | ... | |
2951 | 2897 |
</object> |
2952 | 2898 |
</at> |
2953 | 2899 |
<at name="name">tblTags</at> |
2954 |
<at name="width">802</at>
|
|
2900 |
<at name="width">778</at>
|
|
2955 | 2901 |
<at name="scollBars"> |
2956 | 2902 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
2957 | 2903 |
<at name="name">scollBars</at> |
... | ... | |
3032 | 2978 |
</object> |
3033 | 2979 |
</at> |
3034 | 2980 |
<at name="name">lblTagsDescription</at> |
3035 |
<at name="width">754</at>
|
|
2981 |
<at name="width">730</at>
|
|
3036 | 2982 |
<at name="fill"> |
3037 | 2983 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
3038 | 2984 |
<at name="name">fill</at> |
... | ... | |
3063 | 3009 |
</at> |
3064 | 3010 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
3065 | 3011 |
</super> |
3066 |
<at name="id">embedded.429175123</at>
|
|
3012 |
<at name="id">embedded.301660739</at>
|
|
3067 | 3013 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE</at> |
3068 | 3014 |
<at name="colspecs">FILL:DEFAULT:NONE</at> |
3069 | 3015 |
<at name="components"> |
... | ... | |
3330 | 3276 |
</object> |
3331 | 3277 |
</at> |
3332 | 3278 |
</item> |
3279 |
<item > |
|
3280 |
<at name="value"> |
|
3281 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
3282 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
3283 |
<at name="cellconstraints"> |
|
3284 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
3285 |
<at name="column">4</at> |
|
3286 |
<at name="row">5</at> |
|
3287 |
<at name="colspan">1</at> |
|
3288 |
<at name="rowspan">1</at> |
|
3289 |
<at name="halign">default</at> |
|
3290 |
<at name="valign">default</at> |
|
3291 |
<at name="insets" object="insets">0,0,0,0</at> |
|
3292 |
</object> |
|
3293 |
</at> |
|
3294 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
3295 |
</super> |
|
3296 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
3297 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
3298 |
<at name="beanproperties"> |
|
3299 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
3300 |
<at name="classname">javax.swing.JComboBox</at> |
|
3301 |
<at name="properties"> |
|
3302 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
3303 |
<at name="border"> |
|
3304 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
3305 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
3306 |
<at name="name">border</at> |
|
3307 |
</super> |
|
3308 |
<at name="borders"> |
|
3309 |
<object classname="java.util.LinkedList"> |
|
3310 |
<item > |
|
3311 |
<at name="value"> |
|
3312 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
3313 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
3314 |
<at name="name">border</at> |
|
3315 |
</super> |
|
3316 |
</object> |
|
3317 |
</at> |
|
3318 |
</item> |
|
3319 |
</object> |
|
3320 |
</at> |
|
3321 |
</object> |
|
3322 |
</at> |
|
3323 |
<at name="componentCount">3</at> |
|
3324 |
<at name="editable">true</at> |
|
3325 |
<at name="requestFocusEnabled">false</at> |
|
3326 |
<at name="name">cboTagsValue</at> |
|
3327 |
<at name="width">730</at> |
|
3328 |
<at name="items"> |
|
3329 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
3330 |
<at name="name">items</at> |
|
3331 |
</object> |
|
3332 |
</at> |
|
3333 |
<at name="height">20</at> |
|
3334 |
</object> |
|
3335 |
</at> |
|
3336 |
</object> |
|
3337 |
</at> |
|
3338 |
</object> |
|
3339 |
</at> |
|
3340 |
</item> |
|
3333 | 3341 |
</object> |
3334 | 3342 |
</at> |
3335 | 3343 |
<at name="properties"> |
... | ... | |
3539 | 3547 |
</at> |
3540 | 3548 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
3541 | 3549 |
</super> |
3542 |
<at name="id">embedded.2112083385</at>
|
|
3550 |
<at name="id">embedded.2065304380</at>
|
|
3543 | 3551 |
<at name="rowspecs">CENTER:DEFAULT: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> |
3544 | 3552 |
<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> |
3545 | 3553 |
<at name="components"> |
... | ... | |
3590 | 3598 |
</at> |
3591 | 3599 |
<at name="actionCommand">_is_foreing_key</at> |
3592 | 3600 |
<at name="name">chkIsForeingKey</at> |
3593 |
<at name="width">853</at>
|
|
3601 |
<at name="width">829</at>
|
|
3594 | 3602 |
<at name="text">_is_foreing_key</at> |
3595 | 3603 |
<at name="height">16</at> |
3596 | 3604 |
</object> |
... | ... | |
3828 | 3836 |
<at name="editable">true</at> |
3829 | 3837 |
<at name="requestFocusEnabled">false</at> |
3830 | 3838 |
<at name="name">cboForeingKeyTableName</at> |
3831 |
<at name="width">811</at>
|
|
3839 |
<at name="width">787</at>
|
|
3832 | 3840 |
<at name="items"> |
3833 | 3841 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
3834 | 3842 |
<at name="name">items</at> |
... | ... | |
3890 | 3898 |
<at name="editable">true</at> |
3891 | 3899 |
<at name="requestFocusEnabled">false</at> |
3892 | 3900 |
<at name="name">cboForeingKeyCodeName</at> |
3893 |
<at name="width">811</at>
|
|
3901 |
<at name="width">787</at>
|
|
3894 | 3902 |
<at name="items"> |
3895 | 3903 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
3896 | 3904 |
<at name="name">items</at> |
... | ... | |
3949 | 3957 |
</object> |
3950 | 3958 |
</at> |
3951 | 3959 |
<at name="name">txtForeingKeyFormula</at> |
3952 |
<at name="width">756</at>
|
|
3960 |
<at name="width">732</at>
|
|
3953 | 3961 |
<at name="height">20</at> |
3954 | 3962 |
</object> |
3955 | 3963 |
</at> |
... | ... | |
4119 | 4127 |
</object> |
4120 | 4128 |
</at> |
4121 | 4129 |
<at name="name">chkIsClosedList</at> |
4122 |
<at name="width">756</at>
|
|
4130 |
<at name="width">732</at>
|
|
4123 | 4131 |
<at name="height">15</at> |
4124 | 4132 |
</object> |
4125 | 4133 |
</at> |
... | ... | |
4270 | 4278 |
</at> |
4271 | 4279 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
4272 | 4280 |
</super> |
4273 |
<at name="id">embedded.1306975728</at>
|
|
4281 |
<at name="id">embedded.816557525</at>
|
|
4274 | 4282 |
<at name="rowspecs">FILL:DEFAULT:GROW(1.0)</at> |
4275 | 4283 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0)</at> |
4276 | 4284 |
<at name="components"> |
... | ... | |
4355 | 4363 |
</at> |
4356 | 4364 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
4357 | 4365 |
</super> |
4358 |
<at name="id">embedded.1111542043</at>
|
|
4366 |
<at name="id">embedded.692914098</at>
|
|
4359 | 4367 |
<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,FILL:DEFAULT:GROW(0.2)</at> |
4360 | 4368 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
4361 | 4369 |
<at name="components"> |
... | ... | |
4528 | 4536 |
<at name="editable">true</at> |
4529 | 4537 |
<at name="requestFocusEnabled">false</at> |
4530 | 4538 |
<at name="name">cboGroup</at> |
4531 |
<at name="width">734</at>
|
|
4539 |
<at name="width">710</at>
|
|
4532 | 4540 |
<at name="items"> |
4533 | 4541 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
4534 | 4542 |
<at name="name">items</at> |
... | ... | |
4587 | 4595 |
</object> |
4588 | 4596 |
</at> |
4589 | 4597 |
<at name="name">txtOrder</at> |
4590 |
<at name="width">734</at>
|
|
4598 |
<at name="width">710</at>
|
|
4591 | 4599 |
<at name="height">20</at> |
4592 | 4600 |
</object> |
4593 | 4601 |
</at> |
... | ... | |
4701 | 4709 |
</object> |
4702 | 4710 |
</at> |
4703 | 4711 |
<at name="name">chkHidden</at> |
4704 |
<at name="width">734</at>
|
|
4712 |
<at name="width">710</at>
|
|
4705 | 4713 |
<at name="height">15</at> |
4706 | 4714 |
</object> |
4707 | 4715 |
</at> |
... | ... | |
4815 | 4823 |
</object> |
4816 | 4824 |
</at> |
4817 | 4825 |
<at name="name">txtLabel</at> |
4818 |
<at name="width">734</at>
|
|
4826 |
<at name="width">710</at>
|
|
4819 | 4827 |
<at name="height">20</at> |
4820 | 4828 |
</object> |
4821 | 4829 |
</at> |
... | ... | |
4932 | 4940 |
<at name="scrollableTracksViewportHeight">true</at> |
4933 | 4941 |
<at name="scrollableTracksViewportWidth">true</at> |
4934 | 4942 |
<at name="name">txtDescription</at> |
4935 |
<at name="width">732</at>
|
|
4943 |
<at name="width">708</at>
|
|
4936 | 4944 |
<at name="scollBars"> |
4937 | 4945 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
4938 | 4946 |
<at name="name">scollBars</at> |
... | ... | |
5107 | 5115 |
</at> |
5108 | 5116 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
5109 | 5117 |
</super> |
5110 |
<at name="id">embedded.547348991</at>
|
|
5118 |
<at name="id">embedded.1852608739</at>
|
|
5111 | 5119 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
5112 | 5120 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
5113 | 5121 |
<at name="components"> |
... | ... | |
5217 | 5225 |
</object> |
5218 | 5226 |
</at> |
5219 | 5227 |
<at name="name">txtMinValue</at> |
5220 |
<at name="width">708</at>
|
|
5228 |
<at name="width">684</at>
|
|
5221 | 5229 |
<at name="height">20</at> |
5222 | 5230 |
</object> |
5223 | 5231 |
</at> |
... | ... | |
5331 | 5339 |
</object> |
5332 | 5340 |
</at> |
5333 | 5341 |
<at name="name">txtMaxValue</at> |
5334 |
<at name="width">708</at>
|
|
5342 |
<at name="width">684</at>
|
|
5335 | 5343 |
<at name="height">20</at> |
5336 | 5344 |
</object> |
5337 | 5345 |
</at> |
... | ... | |
5385 | 5393 |
</object> |
5386 | 5394 |
</at> |
5387 | 5395 |
<at name="name">lblAvailableValues</at> |
5388 |
<at name="width">815</at>
|
|
5396 |
<at name="width">791</at>
|
|
5389 | 5397 |
<at name="text">_List_of_values</at> |
5390 | 5398 |
<at name="fill"> |
5391 | 5399 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
... | ... | |
5417 | 5425 |
</at> |
5418 | 5426 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
5419 | 5427 |
</super> |
5420 |
<at name="id">embedded.1696676352</at>
|
|
5428 |
<at name="id">embedded.97664740</at>
|
|
5421 | 5429 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
Also available in: Unified diff