Revision 1405 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

View differences:

DynFormSPIManager.java
3 3
 *
4 4
 * Copyright (C) 2007-2013 gvSIG Association.
5 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.
6
 * This program is free software; you can redistribute it and/or modify it under
7
 * the terms of the GNU General Public License as published by the Free Software
8
 * Foundation; either version 3 of the License, or (at your option) any later
9
 * version.
10 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.
11
 * This program is distributed in the hope that it will be useful, but WITHOUT
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
 * details.
15 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.
16
 * You should have received a copy of the GNU General Public License along with
17
 * this program; if not, write to the Free Software Foundation, Inc., 51
18
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 19
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
20
 * For any additional information, do not hesitate to contact us at info AT
21
 * gvsig.com, or visit our website www.gvsig.com.
23 22
 */
24 23
package org.gvsig.tools.dynform.spi;
25 24

  
......
38 37

  
39 38
public interface DynFormSPIManager extends Manager, ServiceManager {
40 39

  
41
	public static final String FIELD_FORMSETDEFINITION = "definition";
42
	public static final String FIELD_FIELDDEFINITION = "fieldDefinition";
43
	public static final String FIELD_VALUE = "value";
40
    public static final String TAG_DYNFORM_ABEILLE_FORM = "dynform.abeille.form.path";
41
    public static final String TAG_DYNFORM_LAYOUTMODE = "dynform.layoutmode";
42
    public static final String TAG_DYNFORM_LAYOUTMODE_VALUE_TABS = "tabs";
43
    public static final String TAG_DYNFORM_LAYOUTMODE_VALUE_PLAIN = "plain";
44
    public static final String TAG_DYNFORM_LAYOUTMODE_VALUE_SEPARATORS = "separators";
45
    
46
    public static final String TAG_DYNFORM_AUTOSAVE = "dynform.autosave";
47
    public static final String TAG_DYNFORM_BORDER = "dynform.border";
48
    public static final String TAG_DYNFORM_VIEWMODE = "dynform.viewmode";
49
    public static final String TAG_DYNFORM_HEIGHT = "dynform.height";
50
    public static final String TAG_DYNFORM_WIDTH = "dynform.width";
51
    public static final String TAG_DYNFORM_LABEL_EMPTY = "dynform.label.empty";
52
    public static final String TAG_DYNFORM_ACTION_NEW = "dynform.action.new";
53
    public static final String TAG_DYNFORM_ACTION_UPDATE = "dynform.action.update";
54
    public static final String TAG_DYNFORM_ACTION_DELETE = "dynform.action.delete";
55
    public static final String TAG_DYNFORM_ACTION_SEARCH = "dynform.action.search";
56
    public static final String TAG_DYNFORM_ACTION_CLOSE = "dynform.action.close";
57
    public static final String TAG_DYNFORM_ROWS = "dynform.rows";
58
    public static final String TAG_DYNFORM_USESCROLLBARS = "dynform.useScrollBars";
59
    public static final String TAG_DYNFORM_READONLY = "dynform.readonly";
60
    public static final String TAG_DYNFORM_TRANSLATE_EMPTY_TO_NULL = "dynform.translateEmptyToNull";
44 61

  
45
	public static final String SERVICE_NAME_PREFIX = "org.gvsig.tools.dynform.field.";
46
	public static final String SERVICE_JDYNFORM_NAME_PREFIX = "org.gvsig.tools.dynform.";
47
	
48
	public String makeServiceName(int dataType, String className, String subtype);
49
	public String makeServiceName(int dataType, String subtype);
50
	public String makeServiceName(DataType dataType, String subtype);
51
	public String makeServiceName(DataType dataType, String className, String subtype);
52
        public String makeServiceName(String dynClassFullName);
53
        
54
	public DynFormManager getDynFormManager();
55
	
56
	public JZoomDialog createJZoomDialog(String title, String message, String text);
57
	public JProblemIndicator createProblemIndicator(JDynFormField field);
58
	
59
    public JDynFormField createJDynFormField(DynFormFieldDefinition definition,Object value) throws ServiceException  ;
62
    public static final String FIELD_FORMSETDEFINITION = "definition";
63
    public static final String FIELD_FIELDDEFINITION = "fieldDefinition";
64
    public static final String FIELD_VALUE = "value";
60 65

  
66
    public static final String SERVICE_NAME_PREFIX = "org.gvsig.tools.dynform.field.";
67
    public static final String SERVICE_JDYNFORM_NAME_PREFIX = "org.gvsig.tools.dynform.";
68

  
69
    public String makeServiceName(int dataType, String className, String subtype);
70

  
71
    public String makeServiceName(int dataType, String subtype);
72

  
73
    public String makeServiceName(DataType dataType, String subtype);
74

  
75
    public String makeServiceName(DataType dataType, String className, String subtype);
76

  
77
    public String makeServiceName(String dynClassFullName);
78

  
79
    public DynFormManager getDynFormManager();
80

  
81
    public JZoomDialog createJZoomDialog(String title, String message, String text);
82

  
83
    public JProblemIndicator createProblemIndicator(JDynFormField field);
84

  
85
    public JDynFormField createJDynFormField(DynFormFieldDefinition definition, Object value) throws ServiceException;
86

  
61 87
    public JPopupMenu createTextFieldPopupMenu(String title, JTextComponent component, boolean zoom);
62 88
}

Also available in: Unified diff