/**
* SetVisible for components by checking if there's a right for it.
*/
private void doCheckRights() {
final UserWorkspace workspace = getUserWorkspace();
userDialogWindow.setVisible(workspace.isAllowed("userDialogWindow"));
tab_UserDialog_Details.setVisible(workspace.isAllowed("tab_UserDialog_Details"));
tabpanel_UserDialog_Details.setVisible(workspace.isAllowed("tab_UserDialog_Details"));
btnHelp.setVisible(workspace.isAllowed("button_UserDialog_btnHelp"));
btnNew.setVisible(workspace.isAllowed("button_UserDialog_btnNew"));
btnEdit.setVisible(workspace.isAllowed("button_UserDialog_btnEdit"));
btnDelete.setVisible(workspace.isAllowed("button_UserDialog_btnDelete"));
btnSave.setVisible(workspace.isAllowed("button_UserDialog_btnSave"));
btnClose.setVisible(workspace.isAllowed("button_UserDialog_btnClose"));
panel_UserDialog_Status.setVisible(workspace.isAllowed("panel_UserDialog_Status"));
panel_UserDialog_SecurityToken.setVisible(workspace.isAllowed("panel_UserDialog_SecurityToken"));
}