OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 155 → Rev 156

/trunk/OpenConcerto/src/org/openconcerto/ui/light/LightUIButtonWithSelectionContext.java
19,7 → 19,7
 
public class LightUIButtonWithSelectionContext extends LightUIButton {
 
RowSelectionSpec tableSelection;
private RowSelectionSpec tableSelection;
 
public LightUIButtonWithSelectionContext(final JSONObject json) {
super(json);
34,6 → 34,12
super(button);
}
 
@Override
public void destroy() {
super.destroy();
this.tableSelection = null;
}
 
public RowSelectionSpec getTableSelection() {
return this.tableSelection;
}
52,8 → 58,9
@Override
public void fromJSON(final JSONObject json) {
super.fromJSON(json);
 
this.tableSelection = (RowSelectionSpec) JSONConverter.getParameterFromJSON(json, "table-selection", RowSelectionSpec.class);
this.tableSelection = new RowSelectionSpec();
final JSONObject o = (JSONObject) json.get("table-selection");
this.tableSelection.fromJSON(o);
}
 
@Override