@ -44,6 +44,7 @@ public class UIModeControlContainer extends JLayeredPane {
private static final int NUM5 = 5 ;
private static final int NUM5 = 5 ;
private JComponent upPane ;
private JComponent upPane ;
private JComponent downPane ;
private JComponent downPane ;
private JComponent sheetNameTabPane ;
private JPanel horizontToolPane ;
private JPanel horizontToolPane ;
private CoverPane coverPane ;
private CoverPane coverPane ;
@ -115,6 +116,10 @@ public class UIModeControlContainer extends JLayeredPane {
this . downPane = downPane ;
this . downPane = downPane ;
}
}
public void setSheetNameTabPane ( JComponent sheetNameTabPane ) {
this . sheetNameTabPane = sheetNameTabPane ;
}
protected void onResize ( int distance ) {
protected void onResize ( int distance ) {
}
}
@ -215,7 +220,8 @@ public class UIModeControlContainer extends JLayeredPane {
}
}
if ( DesignerMode . isAuthorityEditing ( ) & & isSheeetCovered ) {
if ( DesignerMode . isAuthorityEditing ( ) & & isSheeetCovered ) {
sheetInvisibleCoverPane . setBounds ( 0 , toolPaneY + toolPaneHeight + UIConstants . SIZE , getWidth ( ) , getHeight ( ) - toolPaneY - toolPaneHeight - sheetCorverGap ) ;
sheetInvisibleCoverPane . setBounds ( 0 , toolPaneY + toolPaneHeight + UIConstants . SIZE ,
getWidth ( ) , downPane . getHeight ( ) - sheetNameTabPane . getHeight ( ) ) ;
UIModeControlContainer . this . add ( sheetInvisibleCoverPane ) ;
UIModeControlContainer . this . add ( sheetInvisibleCoverPane ) ;
UIModeControlContainer . this . setLayer ( sheetInvisibleCoverPane , 2 ) ;
UIModeControlContainer . this . setLayer ( sheetInvisibleCoverPane , 2 ) ;
sheetInvisibleCoverPane . setVisible ( true ) ;
sheetInvisibleCoverPane . setVisible ( true ) ;