Revision 281 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/src/main/java/org/gvsig/tools/swing/impl/dynobject/DefaultDynObjectSwingManager.java

View differences:

DefaultDynObjectSwingManager.java
64 64
        return new DefaultDynObjectModel(dynClass, false);
65 65
    }
66 66

  
67
    public JDynFieldComponent createJDynFieldComponent(ValueField parent,
68
        DynField field) throws ServiceException {
67
    public JDynFieldComponent createJDynFieldComponent(ValueField parent) throws ServiceException {
69 68
        JDynFieldComponent component;
69
        DynField field = parent.getDynField();
70 70
        if (field.getElementsType() != null)
71 71
            component =
72 72
                ((DynObjectSwingServiceManager) this.getServiceManager())
73
                    .getJDynFieldComponent(parent, field, true);
73
                    .getJDynFieldComponent(parent, true);
74 74
        else
75 75
            component =
76 76
                ((DynObjectSwingServiceManager) this.getServiceManager())
77
                    .getJDynFieldComponent(parent, field, false);
77
                    .getJDynFieldComponent(parent, false);
78 78
        return component;
79 79
    }
80 80

  

Also available in: Unified diff