OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 74 Rev 181
Line 28... Line 28...
28
 
28
 
29
    public void addNewTable() {
29
    public void addNewTable() {
30
        // FIXME: ensure table does not exists
30
        // FIXME: ensure table does not exists
31
        final TableDescritor obj = new TableDescritor("TABLE_" + this.size());
31
        final TableDescritor obj = new TableDescritor("TABLE_" + this.size());
32
        this.addElement(obj);
32
        this.addElement(obj);
33
        extension.addCreateTable(obj);
33
        this.extension.addCreateTable(obj);
34
    }
34
    }
35
 
35
 
36
    @Override
36
    @Override
37
    public boolean removeElement(Object obj) {
37
    public boolean removeElement(Object obj) {
38
        extension.removeCreateTable((TableDescritor) obj);
38
        this.extension.removeCreateTable((TableDescritor) obj);
39
        return super.removeElement(obj);
39
        return super.removeElement(obj);
40
    }
40
    }
41
 
41
 
42
    @Override
42
    @Override
43
    public void stateChanged(ChangeEvent e) {
43
    public void stateChanged(ChangeEvent e) {
44
        this.loadContent(extension);
44
        this.loadContent(this.extension);
45
    }
45
    }
46
 
46
 
47
}
47
}