Components.wireVariables(this, this, '$', true, true);
Components.addForwards(this, this, '$');
}
public void onCreate() {
final DesktopWorkbenchContext workbenchContext= getDesktopWorkbenchContext();
workbenchContext.addEventListener(Consts.ON_SHEET_CHANGED, new EventListener() {
@Override
public void onEvent(Event event) throws Exception {
protectSheet.setChecked(workbenchContext.getWorkbookCtrl().isSheetProtect());
}
});
}