ItEr56S04ValidacionEProbasFuncionaisItEr55S04: [Bug #422] Added fields to configuration form in order to choose if charts are or not visible.
This commit is contained in:
parent
47fccd4b15
commit
b1862cfc3d
4 changed files with 71 additions and 0 deletions
|
|
@ -346,4 +346,24 @@ public class ConfigurationController extends GenericForwardComposer {
|
|||
|
||||
}
|
||||
|
||||
public void setExpandCompanyPlanningViewCharts(
|
||||
Boolean expandCompanyPlanningViewCharts) {
|
||||
configurationModel
|
||||
.setExpandCompanyPlanningViewCharts(expandCompanyPlanningViewCharts);
|
||||
}
|
||||
|
||||
public Boolean isExpandCompanyPlanningViewCharts() {
|
||||
return configurationModel.isExpandCompanyPlanningViewCharts();
|
||||
}
|
||||
|
||||
public void setExpandOrderPlanningViewCharts(
|
||||
Boolean expandOrderPlanningViewCharts) {
|
||||
configurationModel
|
||||
.setExpandOrderPlanningViewCharts(expandOrderPlanningViewCharts);
|
||||
}
|
||||
|
||||
public Boolean isExpandOrderPlanningViewCharts() {
|
||||
return configurationModel.isExpandOrderPlanningViewCharts();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -339,4 +339,38 @@ public class ConfigurationModel implements IConfigurationModel {
|
|||
orderSequences.remove(orderSequence);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpandCompanyPlanningViewCharts(
|
||||
Boolean expandCompanyPlanningViewCharts) {
|
||||
if (configuration != null) {
|
||||
configuration
|
||||
.setExpandCompanyPlanningViewCharts(expandCompanyPlanningViewCharts);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean isExpandCompanyPlanningViewCharts() {
|
||||
if (configuration == null) {
|
||||
return null;
|
||||
}
|
||||
return configuration.isExpandCompanyPlanningViewCharts();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpandOrderPlanningViewCharts(
|
||||
Boolean expandOrderPlanningViewCharts) {
|
||||
if (configuration != null) {
|
||||
configuration
|
||||
.setExpandOrderPlanningViewCharts(expandOrderPlanningViewCharts);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean isExpandOrderPlanningViewCharts() {
|
||||
if (configuration == null) {
|
||||
return null;
|
||||
}
|
||||
return configuration.isExpandOrderPlanningViewCharts();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -76,6 +76,15 @@ public interface IConfigurationModel {
|
|||
void removeOrderSequence(OrderSequence orderSequence)
|
||||
throws IllegalArgumentException;
|
||||
|
||||
void setExpandCompanyPlanningViewCharts(
|
||||
Boolean expandCompanyPlanningViewCharts);
|
||||
|
||||
Boolean isExpandCompanyPlanningViewCharts();
|
||||
|
||||
void setExpandOrderPlanningViewCharts(Boolean expandOrderPlanningViewCharts);
|
||||
|
||||
Boolean isExpandOrderPlanningViewCharts();
|
||||
|
||||
/*
|
||||
* Final conversation steps
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -89,6 +89,14 @@
|
|||
<label value="${i18n:_('Generate code for Unit Types')}" />
|
||||
<checkbox checked="@{configurationController.generateCodeForUnitTypes}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${i18n:_('Expand company planning view charts')}" />
|
||||
<checkbox checked="@{configurationController.expandCompanyPlanningViewCharts}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${i18n:_('Expand order planning view charts')}" />
|
||||
<checkbox checked="@{configurationController.expandOrderPlanningViewCharts}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue