Revision 277
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/resources/JLrsCalculateMLastUsedValues.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!-- |
|
3 |
Definitions of plugin persistence org.gvsig.exportto.app.extension. |
|
4 |
--> |
|
5 |
<definitions> |
|
6 |
<version>1.0.0</version> |
|
7 |
<classes> |
|
8 |
<class name="JLrsCalculateMLastUsedValues"> |
|
9 |
<description>Persistence of the LRS plugin</description> |
|
10 |
<fields> |
|
11 |
<field name="pkInicial" type="string" mandatory="false"> |
|
12 |
<description>Initial pk selected by the user</description> |
|
13 |
</field> |
|
14 |
<field name="pkFinal" type="string" mandatory="false"> |
|
15 |
<description>Final pk selected by the user</description> |
|
16 |
</field> |
|
17 |
</fields> |
|
18 |
</class> |
|
19 |
</classes> |
|
20 |
</definitions> |
|
0 | 21 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.lrs.swing.api.LrsAlgorithmsSwingLibrary |
|
0 | 2 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsCalibrateRouteAlgorithmParams.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
|
|
26 |
/** |
|
27 |
* @author fdiaz |
|
28 |
* |
|
29 |
*/ |
|
30 |
public interface JLrsCalibrateRouteAlgorithmParams extends JLrsAlgorithmParams { |
|
31 |
|
|
32 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/LrsAlgorithmsSwingManager.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
import java.util.List; |
|
26 |
|
|
27 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
28 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
29 |
import org.gvsig.fmap.mapcontext.MapContext; |
|
30 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
31 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
|
32 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
|
33 |
import org.gvsig.lrs.lib.api.LrsCalibrateRouteAlgorithmParams; |
|
34 |
import org.gvsig.lrs.lib.api.LrsCreateRouteAlgorithmParams; |
|
35 |
import org.gvsig.lrs.lib.api.LrsEditRouteCalibrationAlgorithmParams; |
|
36 |
import org.gvsig.lrs.lib.api.LrsEditRouteCalibrationSelectIdRouteAlgorithmParams; |
|
37 |
import org.gvsig.lrs.lib.api.LrsGenerateDynamicSegmentationAlgorithmParams; |
|
38 |
import org.gvsig.lrs.lib.api.LrsShowMeasuresAlgorithmParams; |
|
39 |
import org.gvsig.lrs.lib.api.exceptions.LrsGettingParametersException; |
|
40 |
import org.gvsig.lrs.lib.api.exceptions.LrsNeededParameterException; |
|
41 |
import org.gvsig.tools.dynobject.DynObject; |
|
42 |
import org.gvsig.tools.service.Manager; |
|
43 |
import org.gvsig.tools.task.TaskStatus; |
|
44 |
|
|
45 |
|
|
46 |
/** |
|
47 |
* @author fdiaz |
|
48 |
* |
|
49 |
*/ |
|
50 |
public interface LrsAlgorithmsSwingManager extends Manager { |
|
51 |
|
|
52 |
public JLrsAlgorithmParams createJLrsCreateRouteAlgorithmParameters(FLayers layers, LrsCreateRouteAlgorithmParams parameters) throws LrsNeededParameterException; |
|
53 |
|
|
54 |
public JLrsProgressDialog createJLrsProgressDialog(TaskStatus taskStatus); |
|
55 |
|
|
56 |
public JLrsAlgorithmParams createJLrsCalibrateRouteAlgorithmParameters(FLayers layers, LrsCalibrateRouteAlgorithmParams parameters) throws LrsNeededParameterException; |
|
57 |
|
|
58 |
public JLrsAlgorithmParams createJLrsEditRouteCalibrationSelectIdRouteAlgorithmParameters(FLayer layer, LrsEditRouteCalibrationSelectIdRouteAlgorithmParams parameters) throws LrsNeededParameterException; |
|
59 |
|
|
60 |
public JLrsAlgorithmParams createJLrsEditRouteCalibrationAlgorithmParameters(FLayer layer, MapContext mapContext, FeatureAttributeDescriptor selectedIdRoute, LrsEditRouteCalibrationAlgorithmParams parameters) throws LrsNeededParameterException, LrsGettingParametersException; |
|
61 |
|
|
62 |
public JLrsAlgorithmParams createJLrsShowMeasuresAlgorithmParameters(FLayer layer, LrsShowMeasuresAlgorithmParams parameters) throws LrsNeededParameterException; |
|
63 |
|
|
64 |
public JLrsAlgorithmParams createJLrsGenerateDynamicSegmentationAlgorithmParameters(FLayers layers, List<FeatureStore> tables, LrsGenerateDynamicSegmentationAlgorithmParams parameters) throws LrsNeededParameterException; |
|
65 |
|
|
66 |
public JLrsAlgorithmParams createJLrsCalculateMRoutePanel(FLayer layer) throws LrsNeededParameterException; |
|
67 |
|
|
68 |
public JLrsAlgorithmParams createJLrsCalculateMRoutePanel(FLayer layer, JLrsLastUsedValues params) throws LrsNeededParameterException; |
|
69 |
|
|
70 |
public JLrsLastUsedValues getJLrsLastUsedValues(DynObject pluginProperties); |
|
71 |
|
|
72 |
public JLrsLastUsedValues getJLrsLastUsedValues(); |
|
73 |
|
|
74 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsLastUsedValues.java | ||
---|---|---|
1 |
package org.gvsig.lrs.swing.api; |
|
2 |
|
|
3 |
import org.gvsig.tools.dynobject.DynObject; |
|
4 |
|
|
5 |
public interface JLrsLastUsedValues{ |
|
6 |
|
|
7 |
public String getPkInicial(); |
|
8 |
|
|
9 |
public String getPkFinal(); |
|
10 |
|
|
11 |
public void setPkInicial(String ini); |
|
12 |
|
|
13 |
public void setPkFinal(String fin); |
|
14 |
|
|
15 |
public void setParams(DynObject pluginProperties); |
|
16 |
|
|
17 |
public DynObject getParams(); |
|
18 |
|
|
19 |
} |
|
0 | 20 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsProgressDialog.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
import java.awt.event.ActionListener; |
|
26 |
|
|
27 |
import org.gvsig.tools.swing.api.Component; |
|
28 |
|
|
29 |
|
|
30 |
/** |
|
31 |
* @author fdiaz |
|
32 |
* |
|
33 |
*/ |
|
34 |
public interface JLrsProgressDialog extends Component { |
|
35 |
public boolean isCanceled(); |
|
36 |
|
|
37 |
public void addActionListener(ActionListener listener); |
|
38 |
|
|
39 |
public void removeActionListener(ActionListener listener); |
|
40 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsEditRouteCalibrationAlgorithmParams.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
|
|
26 |
/** |
|
27 |
* @author fdiaz |
|
28 |
* |
|
29 |
*/ |
|
30 |
public interface JLrsEditRouteCalibrationAlgorithmParams extends JLrsAlgorithmParams { |
|
31 |
|
|
32 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsGenerateDynamicSegmentationAlgorithmParams.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
|
|
26 |
/** |
|
27 |
* @author fdiaz |
|
28 |
* |
|
29 |
*/ |
|
30 |
public interface JLrsGenerateDynamicSegmentationAlgorithmParams extends JLrsAlgorithmParams { |
|
31 |
|
|
32 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsAlgorithmParams.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
import java.awt.event.ActionListener; |
|
26 |
|
|
27 |
import org.gvsig.lrs.lib.api.LrsAlgorithmParams; |
|
28 |
import org.gvsig.lrs.lib.api.exceptions.LrsGettingParametersException; |
|
29 |
import org.gvsig.lrs.lib.api.exceptions.LrsNeededParameterException; |
|
30 |
import org.gvsig.tools.dynobject.DynObject; |
|
31 |
import org.gvsig.tools.swing.api.Component; |
|
32 |
|
|
33 |
|
|
34 |
/** |
|
35 |
* @author fdiaz |
|
36 |
* |
|
37 |
*/ |
|
38 |
public interface JLrsAlgorithmParams extends Component { |
|
39 |
|
|
40 |
public LrsAlgorithmParams getParams() throws LrsGettingParametersException, LrsNeededParameterException; |
|
41 |
|
|
42 |
public void setParams(LrsAlgorithmParams params); |
|
43 |
|
|
44 |
public void clear(); |
|
45 |
|
|
46 |
public boolean isCanceled(); |
|
47 |
|
|
48 |
public void setVisibleAceptCancel(boolean visible); |
|
49 |
|
|
50 |
public boolean getVisibleAceptCancel(); |
|
51 |
|
|
52 |
public void addActionListener(ActionListener listener); |
|
53 |
|
|
54 |
public void removeActionListener(ActionListener listener); |
|
55 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/LrsAlgorithmsSwingLocator.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
import org.gvsig.tools.locator.AbstractLocator; |
|
26 |
import org.gvsig.tools.locator.Locator; |
|
27 |
import org.gvsig.tools.locator.LocatorException; |
|
28 |
|
|
29 |
|
|
30 |
/** |
|
31 |
* @author fdiaz |
|
32 |
* |
|
33 |
*/ |
|
34 |
public class LrsAlgorithmsSwingLocator extends AbstractLocator { |
|
35 |
/** |
|
36 |
* LrsSwing locator name |
|
37 |
*/ |
|
38 |
private static final String LOCATOR_NAME = "LrsAlgorithmsSwingLocator"; |
|
39 |
|
|
40 |
/** |
|
41 |
* LrsSwing manager name |
|
42 |
*/ |
|
43 |
public static final String MANAGER_NAME = "LrsAlgorithmsSwingManager"; |
|
44 |
|
|
45 |
/** |
|
46 |
* LrsSwing manager description |
|
47 |
*/ |
|
48 |
private static final String MANAGER_DESCRIPTION = |
|
49 |
"Lrs Swing Algorithms Manager of gvSIG"; |
|
50 |
|
|
51 |
|
|
52 |
/** |
|
53 |
* Unique instance |
|
54 |
*/ |
|
55 |
private static final LrsAlgorithmsSwingLocator instance = new LrsAlgorithmsSwingLocator(); |
|
56 |
|
|
57 |
|
|
58 |
/* (non-Javadoc) |
|
59 |
* @see org.gvsig.tools.locator.Locator#getLocatorName() |
|
60 |
*/ |
|
61 |
public String getLocatorName() { |
|
62 |
return LOCATOR_NAME; |
|
63 |
} |
|
64 |
|
|
65 |
|
|
66 |
/** |
|
67 |
* Registers the Class implementing the LrsSwingManager interface. |
|
68 |
* |
|
69 |
* @param clazz |
|
70 |
* implementing the LrsAlgorthmsSwingManager interface |
|
71 |
*/ |
|
72 |
public static void registerLrsAlgorithmsSwingManager(Class clazz){ |
|
73 |
getInstance().register(MANAGER_NAME, MANAGER_DESCRIPTION, clazz); |
|
74 |
} |
|
75 |
|
|
76 |
/** |
|
77 |
* Registers the default Class implementing the LrsSwingManager interface |
|
78 |
* |
|
79 |
* @param clazz |
|
80 |
* implementing the LrsAlgorthmsSwingManager interface |
|
81 |
*/ |
|
82 |
public static void registerDefaultLrsAlgorithmsSwingManager(Class clazz){ |
|
83 |
getInstance().registerDefault(MANAGER_NAME, MANAGER_DESCRIPTION, clazz); |
|
84 |
} |
|
85 |
|
|
86 |
/** |
|
87 |
* Return a reference to LrsAlgorithmsSwingManager. |
|
88 |
* |
|
89 |
* @return a reference to LrsAlgorithmsSwingManager |
|
90 |
* @throws LocatorException |
|
91 |
* if there is no access to the class or the class |
|
92 |
* cannot be instantiated |
|
93 |
* @see Locator#get(String) |
|
94 |
*/ |
|
95 |
public static LrsAlgorithmsSwingManager getLrsAlgorithmsSwingManager() throws LocatorException { |
|
96 |
return (LrsAlgorithmsSwingManager)(getInstance().get(MANAGER_NAME)); |
|
97 |
} |
|
98 |
|
|
99 |
/** |
|
100 |
* @return |
|
101 |
*/ |
|
102 |
public static Locator getInstance() { |
|
103 |
return instance; |
|
104 |
} |
|
105 |
|
|
106 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/LrsAlgorithmsSwingLibrary.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
import java.io.InputStream; |
|
26 |
|
|
27 |
import org.gvsig.tools.ToolsLocator; |
|
28 |
import org.gvsig.tools.dynobject.DynStruct; |
|
29 |
import org.gvsig.tools.library.AbstractLibrary; |
|
30 |
import org.gvsig.tools.library.LibraryException; |
|
31 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
|
32 |
import org.gvsig.tools.persistence.PersistenceManager; |
|
33 |
import org.slf4j.Logger; |
|
34 |
import org.slf4j.LoggerFactory; |
|
35 |
|
|
36 |
|
|
37 |
/** |
|
38 |
* @author fdiaz |
|
39 |
* |
|
40 |
*/ |
|
41 |
public class LrsAlgorithmsSwingLibrary extends AbstractLibrary { |
|
42 |
|
|
43 |
private static final Logger LOG = LoggerFactory.getLogger(LrsAlgorithmsSwingLibrary.class); |
|
44 |
private static final String DYNCLASS_NAME = "JLrsLastUsedValues"; |
|
45 |
|
|
46 |
/* (non-Javadoc) |
|
47 |
* @see org.gvsig.tools.library.AbstractLibrary#doInitialize() |
|
48 |
*/ |
|
49 |
@Override |
|
50 |
protected void doInitialize() throws LibraryException { |
|
51 |
registerAsAPI(LrsAlgorithmsSwingLibrary.class); |
|
52 |
|
|
53 |
registerLrsCalculateMLastUsedValuesDefinition(); |
|
54 |
|
|
55 |
|
|
56 |
// DynObjectManager dynManager = ToolsLocator.getDynObjectManager(); |
|
57 |
// InputStream resource = this.getClass().getResourceAsStream("/JLrsCalculateMLastUsedValues.xml"); |
|
58 |
// Map classes = null; |
|
59 |
// try { |
|
60 |
// classes = dynManager.importDynClassDefinitions(resource, this.getClass().getClassLoader()); |
|
61 |
// } catch (XmlPullParserException e) { |
|
62 |
// LOG.warn("Error parsing the resource.", e); |
|
63 |
// } catch (IOException e) { |
|
64 |
// LOG.warn("Error opening the resource.", e); |
|
65 |
// } |
|
66 |
// Iterator it = classes.entrySet().iterator(); |
|
67 |
// while(it.hasNext()){ |
|
68 |
// Map.Entry entry = (Map.Entry) it.next(); |
|
69 |
// DynClass dynClass = (DynClass) entry.getValue(); |
|
70 |
// if(!dynManager.has(dynClass.getFullName())){ |
|
71 |
// dynManager.add((DynClass) entry.getValue()); |
|
72 |
// } |
|
73 |
// } |
|
74 |
} |
|
75 |
|
|
76 |
|
|
77 |
private void registerLrsCalculateMLastUsedValuesDefinition(){ |
|
78 |
String name = "JLrsCalculateMLastUsedValues"; |
|
79 |
PersistenceManager manager = ToolsLocator.getPersistenceManager(); |
|
80 |
DynStruct definition = manager.getDefinition(name); |
|
81 |
if ( definition == null) { |
|
82 |
InputStream stream = this.getClass().getResourceAsStream("/JLrsCalculateMLastUsedValues.xml"); |
|
83 |
if( stream == null ) { |
|
84 |
throw new RuntimeException("Error file not found: JLrsCalculateMLastUsedValues.xml"); |
|
85 |
} |
|
86 |
definition = manager.addDefinition( |
|
87 |
this.getClass(), |
|
88 |
name, |
|
89 |
stream, |
|
90 |
this.getClass().getClassLoader(), |
|
91 |
null, |
|
92 |
null |
|
93 |
); |
|
94 |
} |
|
95 |
} |
|
96 |
|
|
97 |
/* (non-Javadoc) |
|
98 |
* @see org.gvsig.tools.library.AbstractLibrary#doPostInitialize() |
|
99 |
*/ |
|
100 |
@Override |
|
101 |
protected void doPostInitialize() throws LibraryException { |
|
102 |
// Validate there is any implementation registered. |
|
103 |
LrsAlgorithmsSwingManager manager = LrsAlgorithmsSwingLocator.getLrsAlgorithmsSwingManager(); |
|
104 |
if (manager == null) { |
|
105 |
throw new ReferenceNotRegisteredException( |
|
106 |
LrsAlgorithmsSwingLocator.MANAGER_NAME, LrsAlgorithmsSwingLocator.getInstance()); |
|
107 |
} |
|
108 |
} |
|
109 |
|
|
110 |
|
|
111 |
} |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/src/main/java/org/gvsig/lrs/swing/api/JLrsCreateRouteAlgorithmParams.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.lrs.swing.api; |
|
24 |
|
|
25 |
|
|
26 |
/** |
|
27 |
* @author fdiaz |
|
28 |
* |
|
29 |
*/ |
|
30 |
public interface JLrsCreateRouteAlgorithmParams extends JLrsAlgorithmParams { |
|
31 |
|
|
32 |
} |
|
0 | 33 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.api/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<parent> |
|
4 |
<groupId>org.gvsig</groupId> |
|
5 |
<artifactId>org.gvsig.lrs.swing</artifactId> |
|
6 |
<version>1.0.41</version> |
|
7 |
</parent> |
|
8 |
<artifactId>org.gvsig.lrs.swing.api</artifactId> |
|
9 |
<name>${project.artifactId}</name> |
|
10 |
<dependencies> |
|
11 |
<dependency> |
|
12 |
<groupId>org.gvsig</groupId> |
|
13 |
<artifactId>org.gvsig.fmap.mapcontext.api</artifactId> |
|
14 |
</dependency> |
|
15 |
<dependency> |
|
16 |
<groupId>org.gvsig</groupId> |
|
17 |
<artifactId>org.gvsig.tools.swing.api</artifactId> |
|
18 |
</dependency> |
|
19 |
<dependency> |
|
20 |
<groupId>org.gvsig</groupId> |
|
21 |
<artifactId>org.gvsig.lrs.lib.api</artifactId> |
|
22 |
</dependency> |
|
23 |
</dependencies> |
|
24 |
</project> |
|
0 | 25 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.impl/src/main/java/org/gvsig/lrs/swing/impl/JLrsCalculateMRoutePanel.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/jose/Escritorio/JLrsCalculateMRoutePanel.xml</at> |
|
28 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
|
29 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">2</at> |
|
39 |
<at name="row">2</at> |
|
40 |
<at name="colspan">5</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">default</at> |
|
43 |
<at name="valign">default</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
48 |
</super> |
|
49 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
50 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
51 |
<at name="beanproperties"> |
|
52 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
53 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
54 |
<at name="properties"> |
|
55 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
56 |
<at name="text">Selecciona los campos con los PKs</at> |
|
57 |
<at name="height">14</at> |
|
58 |
<at name="width">989</at> |
|
59 |
<at name="name">pkselectionlabel</at> |
|
60 |
<at name="fill"> |
|
61 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
62 |
<at name="name">fill</at> |
|
63 |
</object> |
|
64 |
</at> |
|
65 |
<at name="border"> |
|
66 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
67 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
68 |
<at name="name">border</at> |
|
69 |
</super> |
|
70 |
<at name="borders"> |
|
71 |
<object classname="java.util.LinkedList"> |
|
72 |
<item > |
|
73 |
<at name="value"> |
|
74 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
75 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
76 |
<at name="name">border</at> |
|
77 |
</super> |
|
78 |
</object> |
|
79 |
</at> |
|
80 |
</item> |
|
81 |
</object> |
|
82 |
</at> |
|
83 |
</object> |
|
84 |
</at> |
|
85 |
</object> |
|
86 |
</at> |
|
87 |
</object> |
|
88 |
</at> |
|
89 |
</object> |
|
90 |
</at> |
|
91 |
</item> |
|
92 |
<item > |
|
93 |
<at name="value"> |
|
94 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
95 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
96 |
<at name="cellconstraints"> |
|
97 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
98 |
<at name="column">2</at> |
|
99 |
<at name="row">4</at> |
|
100 |
<at name="colspan">1</at> |
|
101 |
<at name="rowspan">1</at> |
|
102 |
<at name="halign">default</at> |
|
103 |
<at name="valign">default</at> |
|
104 |
<at name="insets" object="insets">0,0,0,0</at> |
|
105 |
</object> |
|
106 |
</at> |
|
107 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
108 |
</super> |
|
109 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
110 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
111 |
<at name="beanproperties"> |
|
112 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
113 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
114 |
<at name="properties"> |
|
115 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
116 |
<at name="text">Pk inicial:</at> |
|
117 |
<at name="height">14</at> |
|
118 |
<at name="width">323</at> |
|
119 |
<at name="name">pkilabel</at> |
|
120 |
<at name="fill"> |
|
121 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
122 |
<at name="name">fill</at> |
|
123 |
</object> |
|
124 |
</at> |
|
125 |
<at name="border"> |
|
126 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
127 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
128 |
<at name="name">border</at> |
|
129 |
</super> |
|
130 |
<at name="borders"> |
|
131 |
<object classname="java.util.LinkedList"> |
|
132 |
<item > |
|
133 |
<at name="value"> |
|
134 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
135 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
136 |
<at name="name">border</at> |
|
137 |
</super> |
|
138 |
</object> |
|
139 |
</at> |
|
140 |
</item> |
|
141 |
</object> |
|
142 |
</at> |
|
143 |
</object> |
|
144 |
</at> |
|
145 |
</object> |
|
146 |
</at> |
|
147 |
</object> |
|
148 |
</at> |
|
149 |
</object> |
|
150 |
</at> |
|
151 |
</item> |
|
152 |
<item > |
|
153 |
<at name="value"> |
|
154 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
155 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
156 |
<at name="cellconstraints"> |
|
157 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
158 |
<at name="column">5</at> |
|
159 |
<at name="row">4</at> |
|
160 |
<at name="colspan">1</at> |
|
161 |
<at name="rowspan">1</at> |
|
162 |
<at name="halign">default</at> |
|
163 |
<at name="valign">default</at> |
|
164 |
<at name="insets" object="insets">0,0,0,0</at> |
|
165 |
</object> |
|
166 |
</at> |
|
167 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
168 |
</super> |
|
169 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
170 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
171 |
<at name="beanproperties"> |
|
172 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
173 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
174 |
<at name="properties"> |
|
175 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
176 |
<at name="text">Pk final:</at> |
|
177 |
<at name="height">14</at> |
|
178 |
<at name="width">45</at> |
|
179 |
<at name="name">pkflabel</at> |
|
180 |
<at name="fill"> |
|
181 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
182 |
<at name="name">fill</at> |
|
183 |
</object> |
|
184 |
</at> |
|
185 |
<at name="border"> |
|
186 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
187 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
188 |
<at name="name">border</at> |
|
189 |
</super> |
|
190 |
<at name="borders"> |
|
191 |
<object classname="java.util.LinkedList"> |
|
192 |
<item > |
|
193 |
<at name="value"> |
|
194 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
195 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
196 |
<at name="name">border</at> |
|
197 |
</super> |
|
198 |
</object> |
|
199 |
</at> |
|
200 |
</item> |
|
201 |
</object> |
|
202 |
</at> |
|
203 |
</object> |
|
204 |
</at> |
|
205 |
</object> |
|
206 |
</at> |
|
207 |
</object> |
|
208 |
</at> |
|
209 |
</object> |
|
210 |
</at> |
|
211 |
</item> |
|
212 |
<item > |
|
213 |
<at name="value"> |
|
214 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
215 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
216 |
<at name="cellconstraints"> |
|
217 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
218 |
<at name="column">3</at> |
|
219 |
<at name="row">4</at> |
|
220 |
<at name="colspan">1</at> |
|
221 |
<at name="rowspan">1</at> |
|
222 |
<at name="halign">default</at> |
|
223 |
<at name="valign">default</at> |
|
224 |
<at name="insets" object="insets">0,0,0,0</at> |
|
225 |
</object> |
|
226 |
</at> |
|
227 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
228 |
</super> |
|
229 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
230 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
231 |
<at name="beanproperties"> |
|
232 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
233 |
<at name="classname">javax.swing.JComboBox</at> |
|
234 |
<at name="properties"> |
|
235 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
236 |
<at name="height">20</at> |
|
237 |
<at name="items"> |
|
238 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
239 |
<at name="name">items</at> |
|
240 |
</object> |
|
241 |
</at> |
|
242 |
<at name="width">297</at> |
|
243 |
<at name="name">pkicombo</at> |
|
244 |
<at name="border"> |
|
245 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
246 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
247 |
<at name="name">border</at> |
|
248 |
</super> |
|
249 |
<at name="borders"> |
|
250 |
<object classname="java.util.LinkedList"> |
|
251 |
<item > |
|
252 |
<at name="value"> |
|
253 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
254 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
255 |
<at name="name">border</at> |
|
256 |
</super> |
|
257 |
</object> |
|
258 |
</at> |
|
259 |
</item> |
|
260 |
</object> |
|
261 |
</at> |
|
262 |
</object> |
|
263 |
</at> |
|
264 |
</object> |
|
265 |
</at> |
|
266 |
</object> |
|
267 |
</at> |
|
268 |
</object> |
|
269 |
</at> |
|
270 |
</item> |
|
271 |
<item > |
|
272 |
<at name="value"> |
|
273 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
274 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
275 |
<at name="cellconstraints"> |
|
276 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
277 |
<at name="column">6</at> |
|
278 |
<at name="row">4</at> |
|
279 |
<at name="colspan">1</at> |
|
280 |
<at name="rowspan">1</at> |
|
281 |
<at name="halign">default</at> |
|
282 |
<at name="valign">default</at> |
|
283 |
<at name="insets" object="insets">0,0,0,0</at> |
|
284 |
</object> |
|
285 |
</at> |
|
286 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
287 |
</super> |
|
288 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
289 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
290 |
<at name="beanproperties"> |
|
291 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
292 |
<at name="classname">javax.swing.JComboBox</at> |
|
293 |
<at name="properties"> |
|
294 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
295 |
<at name="height">20</at> |
|
296 |
<at name="items"> |
|
297 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
298 |
<at name="name">items</at> |
|
299 |
</object> |
|
300 |
</at> |
|
301 |
<at name="width">296</at> |
|
302 |
<at name="name">pkfcombo</at> |
|
303 |
<at name="border"> |
|
304 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
305 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
306 |
<at name="name">border</at> |
|
307 |
</super> |
|
308 |
<at name="borders"> |
|
309 |
<object classname="java.util.LinkedList"> |
|
310 |
<item > |
|
311 |
<at name="value"> |
|
312 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
313 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
314 |
<at name="name">border</at> |
|
315 |
</super> |
|
316 |
</object> |
|
317 |
</at> |
|
318 |
</item> |
|
319 |
</object> |
|
320 |
</at> |
|
321 |
</object> |
|
322 |
</at> |
|
323 |
</object> |
|
324 |
</at> |
|
325 |
</object> |
|
326 |
</at> |
|
327 |
</object> |
|
328 |
</at> |
|
329 |
</item> |
|
330 |
<item > |
|
331 |
<at name="value"> |
|
332 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
333 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
334 |
<at name="cellconstraints"> |
|
335 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
336 |
<at name="column">2</at> |
|
337 |
<at name="row">6</at> |
|
338 |
<at name="colspan">5</at> |
|
339 |
<at name="rowspan">1</at> |
|
340 |
<at name="halign">default</at> |
|
341 |
<at name="valign">default</at> |
|
342 |
<at name="insets" object="insets">0,0,0,0</at> |
|
343 |
</object> |
|
344 |
</at> |
|
345 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
346 |
</super> |
|
347 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
348 |
<at name="beanclass">javax.swing.JTable</at> |
|
349 |
<at name="beanproperties"> |
|
350 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
351 |
<at name="classname">javax.swing.JTable</at> |
|
352 |
<at name="properties"> |
|
353 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
354 |
<at name="height">32</at> |
|
355 |
<at name="width">987</at> |
|
356 |
<at name="name">routestable</at> |
|
357 |
<at name="scollBars"> |
|
358 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
359 |
<at name="name">scollBars</at> |
|
360 |
<at name="verticalpolicy">20</at> |
|
361 |
<at name="horizontalpolicy">30</at> |
|
362 |
<at name="border"> |
|
363 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
364 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
365 |
<at name="name">border</at> |
|
366 |
</super> |
|
367 |
<at name="borders"> |
|
368 |
<object classname="java.util.LinkedList"> |
|
369 |
<item > |
|
370 |
<at name="value"> |
|
371 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
372 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
373 |
<at name="name">border</at> |
|
374 |
</super> |
|
375 |
</object> |
|
376 |
</at> |
|
377 |
</item> |
|
378 |
</object> |
|
379 |
</at> |
|
380 |
</object> |
|
381 |
</at> |
|
382 |
</object> |
|
383 |
</at> |
|
384 |
<at name="border"> |
|
385 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
386 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
387 |
<at name="name">border</at> |
|
388 |
</super> |
|
389 |
<at name="borders"> |
|
390 |
<object classname="java.util.LinkedList"> |
|
391 |
<item > |
|
392 |
<at name="value"> |
|
393 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
394 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
395 |
<at name="name">border</at> |
|
396 |
</super> |
|
397 |
</object> |
|
398 |
</at> |
|
399 |
</item> |
|
400 |
</object> |
|
401 |
</at> |
|
402 |
</object> |
|
403 |
</at> |
|
404 |
</object> |
|
405 |
</at> |
|
406 |
</object> |
|
407 |
</at> |
|
408 |
</object> |
|
409 |
</at> |
|
410 |
</item> |
|
411 |
</object> |
|
412 |
</at> |
|
413 |
<at name="properties"> |
|
414 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
415 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
416 |
<at name="properties"> |
|
417 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
418 |
<at name="name"></at> |
|
419 |
<at name="fill"> |
|
420 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
421 |
<at name="name">fill</at> |
|
422 |
</object> |
|
423 |
</at> |
|
424 |
<at name="scollBars"> |
|
425 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
426 |
<at name="name">scollBars</at> |
|
427 |
<at name="verticalpolicy">21</at> |
|
428 |
<at name="horizontalpolicy">31</at> |
|
429 |
<at name="border"> |
|
430 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
431 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
432 |
<at name="name">border</at> |
|
433 |
</super> |
|
434 |
<at name="borders"> |
|
435 |
<object classname="java.util.LinkedList"> |
|
436 |
<item > |
|
437 |
<at name="value"> |
|
438 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
439 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
440 |
<at name="name">border</at> |
|
441 |
</super> |
|
442 |
</object> |
|
443 |
</at> |
|
444 |
</item> |
|
445 |
</object> |
|
446 |
</at> |
|
447 |
</object> |
|
448 |
</at> |
|
449 |
</object> |
|
450 |
</at> |
|
451 |
<at name="border"> |
|
452 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
453 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
454 |
<at name="name">border</at> |
|
455 |
</super> |
|
456 |
<at name="borders"> |
|
457 |
<object classname="java.util.LinkedList"/> |
|
458 |
</at> |
|
459 |
</object> |
|
460 |
</at> |
|
461 |
</object> |
|
462 |
</at> |
|
463 |
</object> |
|
464 |
</at> |
|
465 |
<at name="cellpainters"> |
|
466 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
467 |
<at name="rows"> |
|
468 |
<object classname="[Ljava.lang.Object;" size="7"> |
|
469 |
<at name="item" index="0"> |
|
470 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
471 |
</at> |
|
472 |
<at name="item" index="1"> |
|
473 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
474 |
</at> |
|
475 |
<at name="item" index="2"> |
|
476 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
477 |
</at> |
|
478 |
<at name="item" index="3"> |
|
479 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
480 |
</at> |
|
481 |
<at name="item" index="4"> |
|
482 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
483 |
</at> |
|
484 |
<at name="item" index="5"> |
|
485 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
486 |
</at> |
|
487 |
<at name="item" index="6"> |
|
488 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
489 |
</at> |
|
490 |
</object> |
|
491 |
</at> |
|
492 |
</object> |
|
493 |
</at> |
|
494 |
<at name="rowgroups"> |
|
495 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
496 |
<at name="groups"> |
|
497 |
<object classname="java.util.HashMap"/> |
|
498 |
</at> |
|
499 |
</object> |
|
500 |
</at> |
|
501 |
<at name="colgroups"> |
|
502 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
503 |
<at name="groups"> |
|
504 |
<object classname="java.util.HashMap"/> |
|
505 |
</at> |
|
506 |
</object> |
|
507 |
</at> |
|
508 |
</object> |
|
509 |
</at> |
|
510 |
</object> |
|
0 | 511 |
org.gvsig.lrs/tags/org.gvsig.lrs-1.0.41/org.gvsig.lrs.swing/org.gvsig.lrs.swing.impl/src/main/java/org/gvsig/lrs/swing/impl/JLrsEditRouteCalibrationParamsView.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/paco/projects/externals/gvsig-desktop/gvSIG_v2.1/org.gvsig.lrs/org.gvsig.lrs.swing/org.gvsig.lrs.swing.impl/src/main/java/org/gvsig/lrs/swing/impl/JLrsEditRouteCalibrationParamsView.xml</at> |
|
28 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE</at> |
|
29 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:120PX:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:73PX:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:74PX:GROW(1.0),FILL:DEFAULT:NONE</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">2</at> |
|
39 |
<at name="row">4</at> |
|
40 |
<at name="colspan">1</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">default</at> |
|
43 |
<at name="valign">default</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
48 |
</super> |
|
49 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
50 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
51 |
<at name="beanproperties"> |
|
52 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
53 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
54 |
<at name="properties"> |
|
55 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
56 |
<at name="text">id_route_field</at> |
|
57 |
<at name="height">14</at> |
|
58 |
<at name="width">76</at> |
|
59 |
<at name="name">lblIdRouteField</at> |
|
60 |
<at name="fill"> |
|
61 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
62 |
<at name="name">fill</at> |
|
63 |
</object> |
|
64 |
</at> |
|
65 |
<at name="border"> |
|
66 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
67 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
68 |
<at name="name">border</at> |
|
69 |
</super> |
|
70 |
<at name="borders"> |
|
71 |
<object classname="java.util.LinkedList"> |
|
72 |
<item > |
|
73 |
<at name="value"> |
|
74 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
75 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
76 |
<at name="name">border</at> |
|
77 |
</super> |
|
78 |
</object> |
|
79 |
</at> |
|
80 |
</item> |
|
81 |
</object> |
|
82 |
</at> |
|
83 |
</object> |
|
84 |
</at> |
|
85 |
</object> |
|
86 |
</at> |
|
87 |
</object> |
|
88 |
</at> |
|
89 |
</object> |
|
90 |
</at> |
|
91 |
</item> |
|
92 |
<item > |
|
93 |
<at name="value"> |
|
94 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
95 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
96 |
<at name="cellconstraints"> |
|
97 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
98 |
<at name="column">6</at> |
|
99 |
<at name="row">4</at> |
|
100 |
<at name="colspan">1</at> |
|
101 |
<at name="rowspan">1</at> |
|
102 |
<at name="halign">default</at> |
|
103 |
<at name="valign">default</at> |
|
104 |
<at name="insets" object="insets">0,0,0,0</at> |
|
105 |
</object> |
|
106 |
</at> |
|
107 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
108 |
</super> |
|
109 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
110 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
111 |
<at name="beanproperties"> |
|
112 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
113 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
114 |
<at name="properties"> |
|
115 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
116 |
<at name="text">minimum</at> |
|
117 |
<at name="height">14</at> |
|
118 |
<at name="width">53</at> |
|
119 |
<at name="name">lblMinimum</at> |
|
120 |
<at name="fill"> |
|
121 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
122 |
<at name="name">fill</at> |
|
123 |
</object> |
|
124 |
</at> |
|
125 |
<at name="border"> |
|
126 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
127 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
128 |
<at name="name">border</at> |
|
129 |
</super> |
|
130 |
<at name="borders"> |
|
131 |
<object classname="java.util.LinkedList"> |
|
132 |
<item > |
|
133 |
<at name="value"> |
|
134 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
135 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
136 |
<at name="name">border</at> |
|
137 |
</super> |
|
138 |
</object> |
|
139 |
</at> |
|
140 |
</item> |
|
141 |
</object> |
|
142 |
</at> |
|
143 |
</object> |
|
144 |
</at> |
|
145 |
</object> |
|
146 |
</at> |
|
147 |
</object> |
|
148 |
</at> |
|
149 |
</object> |
|
150 |
</at> |
|
151 |
</item> |
|
152 |
<item > |
|
153 |
<at name="value"> |
|
154 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
155 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
156 |
<at name="cellconstraints"> |
|
157 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
158 |
<at name="column">10</at> |
|
159 |
<at name="row">4</at> |
|
160 |
<at name="colspan">1</at> |
|
161 |
<at name="rowspan">1</at> |
|
162 |
<at name="halign">default</at> |
|
163 |
<at name="valign">default</at> |
|
164 |
<at name="insets" object="insets">0,0,0,0</at> |
|
165 |
</object> |
|
166 |
</at> |
|
167 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
168 |
</super> |
|
169 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
170 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
171 |
<at name="beanproperties"> |
|
172 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
173 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
174 |
<at name="properties"> |
|
175 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
176 |
<at name="text">maximum</at> |
|
177 |
<at name="height">14</at> |
|
178 |
<at name="width">56</at> |
|
179 |
<at name="name">lblMaximum</at> |
|
180 |
<at name="fill"> |
|
181 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
182 |
<at name="name">fill</at> |
|
183 |
</object> |
|
184 |
</at> |
|
185 |
<at name="border"> |
|
186 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
187 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
188 |
<at name="name">border</at> |
|
189 |
</super> |
|
190 |
<at name="borders"> |
|
191 |
<object classname="java.util.LinkedList"> |
|
192 |
<item > |
|
193 |
<at name="value"> |
|
194 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
195 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
196 |
<at name="name">border</at> |
Also available in: Unified diff