ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #582] Fixed for critical path button.

This commit is contained in:
Manuel Rego Casasnovas 2010-08-11 08:46:56 +02:00
parent 2cf0b155de
commit 87d094c218
2 changed files with 7 additions and 0 deletions

View file

@ -52,6 +52,9 @@ public class GanttPanel extends XulElement implements AfterCompose {
this.planner = planner;
FunctionalityExposedForExtensions<?> context = (FunctionalityExposedForExtensions<?>) planner
.getContext();
if (planner.isShowingCriticalPath()) {
context.showCriticalPath();
}
this.diagramGraph = context.getDiagramGraph();
timeTrackerComponent = timeTrackerForGanttPanel(context
.getTimeTracker());

View file

@ -665,6 +665,10 @@ public class Planner extends HtmlMacroComponent {
.getPostChangeListeners());
}
public boolean isShowingCriticalPath() {
return isShowingCriticalPath;
}
public boolean isShowingLabels() {
return isShowingLabels;
}