OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 29... Line 29...
29
import org.openconcerto.erp.preferences.GestionArticleGlobalPreferencePanel;
29
import org.openconcerto.erp.preferences.GestionArticleGlobalPreferencePanel;
30
import org.openconcerto.erp.preferences.GestionClientPreferencePanel;
30
import org.openconcerto.erp.preferences.GestionClientPreferencePanel;
31
import org.openconcerto.erp.preferences.GestionCommercialeGlobalPreferencePanel;
31
import org.openconcerto.erp.preferences.GestionCommercialeGlobalPreferencePanel;
32
import org.openconcerto.erp.preferences.GestionPieceCommercialePanel;
32
import org.openconcerto.erp.preferences.GestionPieceCommercialePanel;
33
import org.openconcerto.erp.preferences.ImpressionGestCommPreferencePanel;
33
import org.openconcerto.erp.preferences.ImpressionGestCommPreferencePanel;
34
import org.openconcerto.erp.preferences.MailRelancePreferencePanel;
-
 
35
import org.openconcerto.erp.preferences.ModeReglementDefautPrefPanel;
34
import org.openconcerto.erp.preferences.ModeReglementDefautPrefPanel;
36
import org.openconcerto.erp.preferences.NumerotationPreferencePanel;
35
import org.openconcerto.erp.preferences.NumerotationPreferencePanel;
37
import org.openconcerto.erp.preferences.PayPalPreferencePanel;
36
import org.openconcerto.erp.preferences.PayPalPreferencePanel;
38
import org.openconcerto.erp.preferences.PayeGlobalPreferencePanel;
37
import org.openconcerto.erp.preferences.PayeGlobalPreferencePanel;
39
import org.openconcerto.erp.preferences.SauvegardeEnLignePreferencePanel;
38
import org.openconcerto.erp.preferences.SauvegardeEnLignePreferencePanel;
Line 117... Line 116...
117
 
116
 
118
        nsGlobale.add(new PrefTreeNode(GestionArticleGlobalPreferencePanel.class, "Gestion des articles", new String[] { "articles", "stock" }));
117
        nsGlobale.add(new PrefTreeNode(GestionArticleGlobalPreferencePanel.class, "Gestion des articles", new String[] { "articles", "stock" }));
119
        nsGlobale.add(new PrefTreeNode(GenerationDocGlobalPreferencePanel.class, "Génération des Documents", new String[] { "documents" }));
118
        nsGlobale.add(new PrefTreeNode(GenerationDocGlobalPreferencePanel.class, "Génération des Documents", new String[] { "documents" }));
120
        nsGlobale.add(new PrefTreeNode(GestionClientPreferencePanel.class, "Gestion des clients", new String[] { "client", "service" }));
119
        nsGlobale.add(new PrefTreeNode(GestionClientPreferencePanel.class, "Gestion des clients", new String[] { "client", "service" }));
121
        nsGlobale.add(new PrefTreeNode(GestionCommercialeGlobalPreferencePanel.class, "Gestion des piéces commericales", new String[] { "transfert", "numéro" }));
120
        nsGlobale.add(new PrefTreeNode(GestionCommercialeGlobalPreferencePanel.class, "Gestion des piéces commericales", new String[] { "transfert", "numéro" }));
122
        nsGlobale.add(new PrefTreeNode(MailRelancePreferencePanel.class, "Email de relance", new String[] { "relance", "mail" }));
-
 
123
 
121
 
124
        // PayPal
122
        // PayPal
125
        final PrefTreeNode nPayPall = new PrefTreeNode(PayPalPreferencePanel.class, "PayPal", new String[] { "paypal", "facture" });
123
        final PrefTreeNode nPayPall = new PrefTreeNode(PayPalPreferencePanel.class, "PayPal", new String[] { "paypal", "facture" });
126
        nsGlobale.add(nPayPall);
124
        nsGlobale.add(nPayPall);
127
 
125
 
Line 160... Line 158...
160
 
158
 
161
        // Mail
159
        // Mail
162
        final PrefTreeNode nMail = new PrefTreeNode(EmailNode.class, "EMail", new String[] { "email", "mail", "courriel" });
160
        final PrefTreeNode nMail = new PrefTreeNode(EmailNode.class, "EMail", new String[] { "email", "mail", "courriel" });
163
        nsPoste.add(nMail);
161
        nsPoste.add(nMail);
164
 
162
 
165
 
-
 
166
        // add preferences for modules
163
        // add preferences for modules
167
        for (final AbstractModule module : moduleManager.getRunningModules().values()) {
164
        for (final AbstractModule module : moduleManager.getRunningModules().values()) {
168
            for (final Entry<Boolean, List<ModulePreferencePanelDesc>> e : module.getPrefDescriptorsByLocation(moduleManager.getRoot()).entrySet()) {
165
            for (final Entry<Boolean, List<ModulePreferencePanelDesc>> e : module.getPrefDescriptorsByLocation(moduleManager.getRoot()).entrySet()) {
169
                final DefaultMutableTreeNode node = e.getKey() ? nsPoste : nsGlobale;
166
                final DefaultMutableTreeNode node = e.getKey() ? nsPoste : nsGlobale;
170
                final List<ModulePreferencePanelDesc> descs = e.getValue();
167
                final List<ModulePreferencePanelDesc> descs = e.getValue();