|
|
|
@ -208,13 +208,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
reportComposite.addTargetModifiedListener(new TargetModifiedListener() { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void targetModified(TargetModifiedEvent e) { |
|
|
|
|
JWorkBook.this.fireTargetModified(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
reportComposite.addTargetModifiedListener(e -> JWorkBook.this.fireTargetModified()); |
|
|
|
|
|
|
|
|
|
reportComposite.setParentContainer(centerPane); |
|
|
|
|
return centerPane; |
|
|
|
@ -241,11 +235,11 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
/** |
|
|
|
|
* 判断sheet权限 |
|
|
|
|
* |
|
|
|
|
* @param rolsName 角色 |
|
|
|
|
* @param rolesName 角色 |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public void judgeSheetAuthority(String rolsName) { |
|
|
|
|
boolean isCovered = reportComposite.getEditingTemplateReport().getWorkSheetPrivilegeControl().checkInvisible(rolsName); |
|
|
|
|
public void judgeSheetAuthority(String rolesName) { |
|
|
|
|
boolean isCovered = reportComposite.getEditingTemplateReport().getWorkSheetPrivilegeControl().checkInvisible(rolesName); |
|
|
|
|
centerPane.setSheeetCovered(isCovered); |
|
|
|
|
centerPane.refreshContainer(); |
|
|
|
|
} |
|
|
|
|