Revision 530 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/dynobject/DynObjectSwingManager.java

View differences:

DynObjectSwingManager.java
21 21
 */
22 22
package org.gvsig.tools.swing.api.dynobject;
23 23

  
24
import org.gvsig.tools.dynobject.DynClass;
25 24
import org.gvsig.tools.dynobject.DynObject;
26 25
import org.gvsig.tools.dynobject.DynObjectSet;
27 26
import org.gvsig.tools.dynobject.DynStruct;
......
56 55
     * @return the component
57 56
     * @throws ServiceException
58 57
     */
59
    public DynObjectModel createDynObjectModel(DynClass dynClass)
58
    public DynObjectModel createDynObjectModel(DynStruct definition)
60 59
        throws ServiceException;
61 60

  
62 61
    /**
......
67 66
     * @return the component
68 67
     * @throws ServiceException
69 68
     */
70
    public DynObjectModel createEmptyDynObjectModel(DynClass dynClass)
69
    public DynObjectModel createEmptyDynObjectModel(DynStruct definition)
71 70
        throws ServiceException;
72 71

  
73 72
    /**
......
105 104
     * default view mode, in read only mode.
106 105
     * 
107 106
     * @param dynObject
108
     *            to create the component for
107
     *            used for creating the component 
109 108
     * @return a {@link JDynObjectComponent}
110 109
     * @throws ServiceException
111 110
     */
112 111
    public JDynObjectComponent createJDynObjectComponent(DynObject dynObject)
113 112
        throws ServiceException;
113
    
114
    /**
115
     * Creates a {@link JDynObjectComponent} for a {@link DynObject} in the
116
     * default view mode, in read only mode.
117
     * @param metadata 
118
     * @param writable 
119
     * 
120
     * @param dynStruct
121
     *            used for creating the component 
122
     * @return a {@link JDynObjectComponent}
123
     * @throws ServiceException
124
     */
125
    public JDynObjectComponent createJDynObjectComponent(DynStruct definition, DynObject dynObject, boolean writable)
126
        throws ServiceException;
114 127

  
115 128
    /**
116 129
     * Creates a {@link JDynObjectComponent} for a {@link DynObject} in the

Also available in: Unified diff