OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 142 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 156
Line 16... Line 16...
16
import java.awt.Color;
16
import java.awt.Color;
17
import java.io.Serializable;
17
import java.io.Serializable;
18
import java.util.ArrayList;
18
import java.util.ArrayList;
19
import java.util.List;
19
import java.util.List;
20
 
20
 
-
 
21
import net.minidev.json.JSONObject;
-
 
22
 
21
public class TreeItem implements Serializable {
23
public class TreeItem implements Serializable {
22
    /**
24
    /**
23
     * 
25
     * 
24
     */
26
     */
25
    private static final long serialVersionUID = 8087661728014786832L;
27
    private static final long serialVersionUID = 8087661728014786832L;
Line 32... Line 34...
32
    private String iconId;
34
    private String iconId;
33
 
35
 
34
    public TreeItem() {
36
    public TreeItem() {
35
    }
37
    }
36
 
38
 
-
 
39
    public TreeItem(JSONObject o) {
-
 
40
        // TODO json..
-
 
41
    }
-
 
42
 
37
    public TreeItem(String id, String label) {
43
    public TreeItem(String id, String label) {
38
        this.id = id;
44
        this.id = id;
39
        this.label = label;
45
        this.label = label;
40
    }
46
    }
41
 
47