OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 36... Line 36...
36
 
36
 
37
        this.tableId = tableId;
37
        this.tableId = tableId;
38
    }
38
    }
39
 
39
 
40
    @Override
40
    @Override
41
    public LightUIElement clone() {
-
 
42
        return new LightUIFileUploadWithSelection(this);
-
 
43
    }
-
 
44
 
-
 
45
    @Override
-
 
46
    protected void copy(LightUIElement element) {
41
    protected void copy(LightUIElement element) {
47
        super.copy(element);
42
        super.copy(element);
48
        if (!(element instanceof LightUIFileUploadWithSelection)) {
43
        if (!(element instanceof LightUIFileUploadWithSelection)) {
49
            throw new InvalidClassException(this.getClassName(), element.getClassName(), element.getId());
44
            throw new InvalidClassException(this.getClassName(), element.getClassName(), element.getId());
50
        }
45
        }