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 16... Line 16...
16
        if (extensionBuilderModule == null) {
16
        if (extensionBuilderModule == null) {
17
            throw new IllegalArgumentException("null ExtensionBuilderModule");
17
            throw new IllegalArgumentException("null ExtensionBuilderModule");
18
        }
18
        }
19
        this.extensionBuilderModule = extensionBuilderModule;
19
        this.extensionBuilderModule = extensionBuilderModule;
20
        this.setLayout(new GridLayout(1, 1));
20
        this.setLayout(new GridLayout(1, 1));
21
        newLeftComponent = new ExtensionMainListPanel(this);
21
        this.newLeftComponent = new ExtensionMainListPanel(this);
22
        this.split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, newLeftComponent, rPanel);
22
        this.split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, this.newLeftComponent, this.rPanel);
23
        this.add(this.split);
23
        this.add(this.split);
24
        newLeftComponent.fill();
24
        this.newLeftComponent.fill();
25
    }
25
    }
26
 
26
 
27
    public void setRightPanel(JComponent p) {
27
    public void setRightPanel(JComponent p) {
28
        this.invalidate();
28
        this.invalidate();
29
        this.split.setRightComponent(p);
29
        this.split.setRightComponent(p);
30
        this.revalidate();
30
        this.revalidate();
31
        this.repaint();
31
        this.repaint();
32
    }
32
    }
33
 
33
 
34
    public ExtensionBuilderModule getExtensionBuilderModule() {
34
    public ExtensionBuilderModule getExtensionBuilderModule() {
35
        return extensionBuilderModule;
35
        return this.extensionBuilderModule;
36
    }
36
    }
37
 
37
 
38
    public void modelChanged() {
38
    public void modelChanged() {
39
        newLeftComponent.modelChanged();
39
        this.newLeftComponent.modelChanged();
40
    }
40
    }
41
 
41
 
42
}
42
}