OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 170 → Rev 171

/trunk/Modules/Module Fidelity Card/src/org/openconcerto/modules/card/ModuleCard.java
20,6 → 20,7
import org.openconcerto.sql.element.SQLElement.ReferenceAction;
import org.openconcerto.sql.element.SQLElementDirectory;
import org.openconcerto.sql.element.UISQLComponent;
import org.openconcerto.sql.model.DBRoot;
import org.openconcerto.sql.model.SQLTable;
import org.openconcerto.sql.utils.SQLCreateTable;
import org.openconcerto.utils.ListMap;
110,11 → 111,11
}
 
@Override
public List<ModulePreferencePanelDesc> getPrefDescriptors() {
public List<ModulePreferencePanelDesc> getPrefDescriptors(final DBRoot root) {
return Arrays.<ModulePreferencePanelDesc> asList(new ModulePreferencePanelDesc("Préf") {
@Override
protected ModulePreferencePanel createPanel() {
return new ModulePreferencePanel("Mon super titre") {
return new ModulePreferencePanel(root, "Mon super titre") {
@Override
protected void addViews() {
this.addView(new SQLPrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Un booléen", "boolPref").setDefaultValue(Boolean.TRUE));
126,7 → 127,7
}, new ModulePreferencePanelDesc("Préf2") {
@Override
protected ModulePreferencePanel createPanel() {
return new ModulePreferencePanel("Mon super titre") {
return new ModulePreferencePanel(root, "Mon super titre") {
@Override
protected void addViews() {
this.addView(new SQLPrefView<String>(PrefType.STRING_TYPE, 512, "Du texte", "textPref").setDefaultValue("long texte"));