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 | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 156
Line 20... Line 20...
20
public class LightUIFileUploadWithSelection extends LightUIFileUpload {
20
public class LightUIFileUploadWithSelection extends LightUIFileUpload {
21
 
21
 
22
    private static final String TABLE_ID_JSON_KEY = "table-id";
22
    private static final String TABLE_ID_JSON_KEY = "table-id";
23
    private String tableId;
23
    private String tableId;
24
 
24
 
25
    public LightUIFileUploadWithSelection(final JSONObject json) {
25
    public LightUIFileUploadWithSelection() {
26
        super(json);
-
 
27
    }
26
    }
28
 
27
 
29
    public LightUIFileUploadWithSelection(final LightUIFileUploadWithSelection file) {
28
    public LightUIFileUploadWithSelection(final LightUIFileUploadWithSelection file) {
30
        super(file);
29
        super(file);
31
    }
30
    }
Line 37... Line 36...
37
 
36
 
38
        this.tableId = tableId;
37
        this.tableId = tableId;
39
    }
38
    }
40
 
39
 
41
    @Override
40
    @Override
42
    public JSONToLightUIConvertor getConvertor() {
-
 
43
        return new JSONToLightUIConvertor() {
-
 
44
            @Override
-
 
45
            public LightUIElement convert(final JSONObject json) {
-
 
46
                return new LightUIFileUploadWithSelection(json);
-
 
47
            }
-
 
48
        };
-
 
49
    }
-
 
50
 
-
 
51
    @Override
-
 
52
    public LightUIElement clone() {
41
    public LightUIElement clone() {
53
        return new LightUIFileUploadWithSelection(this);
42
        return new LightUIFileUploadWithSelection(this);
54
    }
43
    }
55
 
44
 
56
    @Override
45
    @Override