OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 142 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 144
Line 46... Line 46...
46
            }
46
            }
47
        };
47
        };
48
    }
48
    }
49
 
49
 
50
    @Override
50
    @Override
51
    public LightUIElement clone() {
-
 
52
        return new LightUIFileUpload(this);
-
 
53
    }
-
 
54
 
-
 
55
    @Override
-
 
56
    protected void copy(LightUIElement element) {
51
    protected void copy(LightUIElement element) {
57
        super.copy(element);
52
        super.copy(element);
58
        if (!(element instanceof LightUIFileUpload)) {
53
        if (!(element instanceof LightUIFileUpload)) {
59
            throw new InvalidClassException(this.getClassName(), element.getClassName(), element.getId());
54
            throw new InvalidClassException(this.getClassName(), element.getClassName(), element.getId());
60
        }
55
        }
61
 
-
 
62
        final LightUIFileUpload files = (LightUIFileUpload) element;
56
        final LightUIFileUpload files = (LightUIFileUpload) element;
63
        this.sendFileUrl = files.sendFileUrl;
57
        this.sendFileUrl = files.sendFileUrl;
64
 
-
 
65
    }
58
    }
66
 
59
 
67
    @Override
60
    @Override
68
    public void fromJSON(final JSONObject json) {
61
    public void fromJSON(final JSONObject json) {
69
        super.fromJSON(json);
62
        super.fromJSON(json);