public void reset() {
   resetUsersPreferences();
   initialize();
   FacesUtils.clearFacesTreeValues();
   MessageDialog.addInfoMessage(
       MessagesViewsCommonBean.getInstance().getString("views.common.config.reset"));
 }
 public void initialize() {
   messageBean = MessagesViewsCommonBean.getInstance();
   intializeDisplayZoomLevelOptions();
   initializeHighlightColourList();
   initializeDocPriorVerionAcionList();
   initializeSpawnProcessTypeList();
   initializeDataHighlightOpacityList();
   initializeNoteFontSizeList();
   setUsersPreferences();
 }
 /** Confirmation Dialog before reseting Config data. */
 public void openConfirmationDialog() {
   imageViewerConfirmationDialog =
       new ConfirmationDialog(
           DialogContentType.WARNING,
           DialogActionType.YES_NO,
           DialogType.NORMAL,
           DialogStyle.COMPACT,
           this);
   MessagePropertiesBean propsBean = MessagePropertiesBean.getInstance();
   imageViewerConfirmationDialog.setTitle(
       propsBean.getString("common.configurationPanel.confirmResetTitle"));
   imageViewerConfirmationDialog.setMessage(
       propsBean.getParamString(
           "common.configurationPanel.confirmReset",
           MessagesViewsCommonBean.getInstance().getString("views.imageViewerConfig.labelTitle")));
   imageViewerConfirmationDialog.openPopup();
 }