OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 152 Rev 157
Line 25... Line 25...
25
import org.openconcerto.modules.timetracking.mail.MailingTimeTracking;
25
import org.openconcerto.modules.timetracking.mail.MailingTimeTracking;
26
import org.openconcerto.sql.Configuration;
26
import org.openconcerto.sql.Configuration;
27
import org.openconcerto.sql.element.GlobalMapper;
27
import org.openconcerto.sql.element.GlobalMapper;
28
import org.openconcerto.sql.element.SQLElement;
28
import org.openconcerto.sql.element.SQLElement;
29
import org.openconcerto.sql.element.SQLElementDirectory;
29
import org.openconcerto.sql.element.SQLElementDirectory;
-
 
30
import org.openconcerto.sql.model.DBRoot;
30
import org.openconcerto.sql.model.FieldPath;
31
import org.openconcerto.sql.model.FieldPath;
31
import org.openconcerto.sql.model.SQLRow;
32
import org.openconcerto.sql.model.SQLRow;
32
import org.openconcerto.sql.model.SQLRowAccessor;
33
import org.openconcerto.sql.model.SQLRowAccessor;
33
import org.openconcerto.sql.model.SQLRowValues;
34
import org.openconcerto.sql.model.SQLRowValues;
34
import org.openconcerto.sql.model.SQLRowValuesListFetcher;
35
import org.openconcerto.sql.model.SQLRowValuesListFetcher;
Line 243... Line 244...
243
    public static final String PIED_MAIL_PREFS = "pied_mail";
244
    public static final String PIED_MAIL_PREFS = "pied_mail";
244
    public static final String SSL_MAIL_PREFS = "ssl_mail";
245
    public static final String SSL_MAIL_PREFS = "ssl_mail";
245
    public static final String PORT_MAIL_PREFS = "port_mail";
246
    public static final String PORT_MAIL_PREFS = "port_mail";
246
 
247
 
247
    @Override
248
    @Override
248
    public List<ModulePreferencePanelDesc> getPrefDescriptors() {
249
    public List<ModulePreferencePanelDesc> getPrefDescriptors(final DBRoot root) {
249
 
250
 
250
        return Arrays.<ModulePreferencePanelDesc> asList(new ModulePreferencePanelDesc("Envoi par mail des temps") {
251
        return Arrays.<ModulePreferencePanelDesc> asList(new ModulePreferencePanelDesc("Envoi par mail des temps") {
251
            @Override
252
            @Override
252
            protected ModulePreferencePanel createPanel() {
253
            protected ModulePreferencePanel createPanel() {
253
                return new ModulePreferencePanel("Envoi par mail des temps") {
254
                return new ModulePreferencePanel(root, "Envoi par mail des temps") {
254
                    @Override
255
                    @Override
255
                    protected void addViews() {
256
                    protected void addViews() {
256
 
257
 
257
                        this.addView(new SQLPrefView<String>(PrefType.STRING_TYPE, "Nom de l'expéditeur ", EXPEDITEUR_MAIL_PREFS));
258
                        this.addView(new SQLPrefView<String>(PrefType.STRING_TYPE, "Nom de l'expéditeur ", EXPEDITEUR_MAIL_PREFS));
258
                        this.addView(new SQLPrefView<String>(PrefType.STRING_TYPE, "Adresse ", ADR_MAIL_PREFS));
259
                        this.addView(new SQLPrefView<String>(PrefType.STRING_TYPE, "Adresse ", ADR_MAIL_PREFS));