OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 74 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 ilm 1
package org.openconcerto.modules.extensionbuilder.component;
2
 
3
import javax.swing.tree.DefaultMutableTreeNode;
4
 
5
public class ActivableMutableTreeNode extends DefaultMutableTreeNode {
6
    private boolean active = true;
7
 
8
    public ActivableMutableTreeNode(Object obj) {
9
        super(obj);
10
    }
11
 
12
    public void setActive(boolean active) {
13
        this.active = active;
14
    }
15
 
16
    public boolean isActive() {
181 ilm 17
        return this.active;
74 ilm 18
    }
19
 
20
}