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 52... Line 52...
52
    public void setLoad(final boolean load) {
52
    public void setLoad(final boolean load) {
53
        this.load = load;
53
        this.load = load;
54
    }
54
    }
55
 
55
 
56
    @Override
56
    @Override
57
    public LightUIElement clone() {
-
 
58
        return new LightUITab(this);
-
 
59
    }
-
 
60
 
-
 
61
    @Override
-
 
62
    public void copy(final LightUIElement element) {
57
    public void copy(final LightUIElement element) {
63
        if (!(element instanceof LightUITab)) {
58
        if (!(element instanceof LightUITab)) {
64
            throw new InvalidClassException(LightUITab.class.getName(), element.getClassName(), element.getId());
59
            throw new InvalidClassException(LightUITab.class.getName(), element.getClassName(), element.getId());
65
        }
60
        }
66
        super.copy(element);
61
        super.copy(element);