Revision 306 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.field/src/main/java/org/gvsig/tools/swing/serv/field/JFileDynFieldComponentFactory.java

View differences:

JFileDynFieldComponentFactory.java
46 46
 * Swing Factory for the DynField of type File or Folder.
47 47
 * 
48 48
 * @author 2010 - <a href="cordinyana@gvsig.org">C?sar Ordi?ana</a> - gvSIG Team
49
 * @author 2010 - <a href="mailto:reinhold@uji.es">Cristian Mart?n&nbsp;</a> -
50
 *         gvSIG Team
49
 * @author 2010 - <a href="mailto:reinhold@uji.es">Cristian Mart?n&nbsp;</a>  - gvSIG Team
51 50
 * @version $Id$
52
 * 
51
 *
53 52
 */
54 53
public class JFileDynFieldComponentFactory extends
55 54
    AbstractJDynFieldComponentFactory implements JDynFieldComponentFactory {
......
65 64
        this.dataType = dataType;
66 65
    }
67 66

  
68
    public JDynFieldComponent createJDynFieldComponent(ValueField parent)
69
        throws ServiceException {
70
        return new JFileDynfieldComponent(parent);
67
	public JDynFieldComponent createJDynFieldComponent(ValueField parent,
68
			boolean writable) throws ServiceException {
69
		// TODO: take into account the writable flag
70
		return new JFileDynfieldComponent(parent);
71 71
    }
72 72

  
73
    /*
74
     * (non-Javadoc)
75
     * 
76
     * @see
77
     * 
78
     * 
79
     * 
80
     * org.gvsig.tools.swing.spi.AbstractSwingServiceFactory#getFactoryDescription
81
     * ()
82
     */
83 73
    @Override
84 74
    public String getFactoryDescription() {
85 75
        return FACTORY_DESCRIPTION;
86 76
    }
87 77

  
88
    /*
89
     * (non-Javadoc)
90
     * 
91
     * @seeorg.gvsig.tools.swing.serv.field.AbstractJDynFieldComponentFactory#
92
     * getFactorySubType()
93
     */
94 78
    @Override
95 79
    public String getFactorySubType() {
96 80
        return null;
97 81
    }
98 82

  
99
    /*
100
     * (non-Javadoc)
101
     * 
102
     * @seeorg.gvsig.tools.swing.serv.field.AbstractJDynFieldComponentFactory#
103
     * getFactoryType()
104
     */
105 83
    @Override
106 84
    public Integer getFactoryType() {
107 85
        if (dataType != null) {

Also available in: Unified diff