gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.dynform / org.gvsig.tools.dynform.spi / src / main / java / org / gvsig / tools / dynform / spi / DynFormSPIManager.java @ 1118
History | View | Annotate | Download (2.54 KB)
1 | 954 | jbadia | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 3
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | 919 | jjdelcerro | package org.gvsig.tools.dynform.spi; |
25 | |||
26 | import javax.swing.JPopupMenu; |
||
27 | import javax.swing.text.JTextComponent; |
||
28 | |||
29 | import org.gvsig.tools.dataTypes.DataType; |
||
30 | 933 | jjdelcerro | import org.gvsig.tools.dynform.DynFormFieldDefinition; |
31 | import org.gvsig.tools.dynform.DynFormManager; |
||
32 | import org.gvsig.tools.dynform.JDynFormField; |
||
33 | 919 | jjdelcerro | import org.gvsig.tools.dynform.spi.dynformfield.JProblemIndicator; |
34 | import org.gvsig.tools.dynform.spi.dynformfield.JZoomDialog; |
||
35 | import org.gvsig.tools.service.Manager; |
||
36 | import org.gvsig.tools.service.ServiceException; |
||
37 | import org.gvsig.tools.service.spi.ServiceManager; |
||
38 | |||
39 | public interface DynFormSPIManager extends Manager, ServiceManager { |
||
40 | |||
41 | 1076 | jjdelcerro | public static final String FIELD_FORMSETDEFINITION = "definition"; |
42 | 919 | jjdelcerro | public static final String FIELD_FIELDDEFINITION = "fieldDefinition"; |
43 | public static final String FIELD_VALUE = "value"; |
||
44 | |||
45 | public static final String SERVICE_NAME_PREFIX = "org.gvsig.tools.dynform.field."; |
||
46 | |||
47 | 1118 | jjdelcerro | public String makeServiceName(int dataType, String className, String subtype); |
48 | 919 | jjdelcerro | public String makeServiceName(int dataType, String subtype); |
49 | public String makeServiceName(DataType dataType, String subtype); |
||
50 | 1118 | jjdelcerro | public String makeServiceName(DataType dataType, String className, String subtype); |
51 | 919 | jjdelcerro | |
52 | public DynFormManager getDynFormManager();
|
||
53 | |||
54 | public JZoomDialog createJZoomDialog(String title, String message, String text); |
||
55 | public JProblemIndicator createProblemIndicator(JDynFormField field);
|
||
56 | |||
57 | public JDynFormField createJDynFormField(DynFormFieldDefinition definition,Object value) throws ServiceException ; |
||
58 | |||
59 | 940 | jjdelcerro | public JPopupMenu createTextFieldPopupMenu(String title, JTextComponent component, boolean zoom); |
60 | 919 | jjdelcerro | } |