|
|
|
@ -8,10 +8,13 @@ export default class RightPaneContainer extends FlexContainer {
|
|
|
|
this.id('right-pane');
|
|
|
|
this.id('right-pane');
|
|
|
|
this.css('height', '100%');
|
|
|
|
this.css('height', '100%');
|
|
|
|
this.collapsible();
|
|
|
|
this.collapsible();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.rightPaneHidden = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
isEnabled() {
|
|
|
|
isEnabled() {
|
|
|
|
return super.isEnabled()
|
|
|
|
return super.isEnabled()
|
|
|
|
|
|
|
|
&& !this.rightPaneHidden
|
|
|
|
&& this.children.length > 0
|
|
|
|
&& this.children.length > 0
|
|
|
|
&& !!this.children.find(ch => ch.isEnabled() && ch.canBeShown());
|
|
|
|
&& !!this.children.find(ch => ch.isEnabled() && ch.canBeShown());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -44,4 +47,10 @@ export default class RightPaneContainer extends FlexContainer {
|
|
|
|
splitService.setupRightPaneResizer();
|
|
|
|
splitService.setupRightPaneResizer();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
toggleRightPaneEvent() {
|
|
|
|
|
|
|
|
this.rightPaneHidden = !this.rightPaneHidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.reEvaluateRightPaneVisibilityCommand();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|