ItEr55S10CUVistaRecursosTempoPorProxectoItEr54S12: expands all tasks in the planning screen when the screen

This commit is contained in:
Susana Montes Pedreira 2010-04-19 10:57:00 +02:00 committed by Javier Moran Rua
parent 1f2938ee96
commit c3cf57d5cc
2 changed files with 9 additions and 1 deletions

View file

@ -538,6 +538,14 @@ public class Planner extends HtmlMacroComponent {
}
}
public void expandAllAlways() {
Button expandAllButton = (Button) getFellow("expandAll");
if (disabilityConfiguration.isExpandAllEnabled()) {
context.expandAll();
expandAllButton.setSclass("planner-command clicked");
}
}
public void updateSelectedZoomLevel() {
if (!isFixedZoomByUser()) {
Listitem selectedItem = (Listitem) listZoomLevels.getItems().get(

View file

@ -292,7 +292,7 @@ public class OrderPlanningController implements Composer {
public void showResorceAllocationIfIsNeeded() {
if ((task != null) && (planner != null)) {
planner.expandAll();
planner.expandAllAlways();
Task foundTask = null;
TaskElement foundTaskElement = null;