/**
   * Method declared on IPreferencePage.
   *
   * @return performOK
   */
  public boolean performOk() {
    // read preferences from widgets
    boolean showCount = m_showContainerCount.getSelection();

    // set preferences in store
    getPreferenceStore().setValue(Constants.SHOWCHILDCOUNT_KEY, showCount);
    getPreferenceStore()
        .setValue(
            Constants.MAPPING_MOD_KEY,
            InputCodeHelper.getInstance().getModifier()[m_mappingModifier.getSelectionIndex()]);
    getPreferenceStore()
        .setValue(
            Constants.MAPPING_WITH_PARENTS_MOD_KEY,
            InputCodeHelper.getInstance()
                .getModifier()[m_mappingWithParentsModifier.getSelectionIndex()]);

    InputComboUtil.setPrefCode(m_mappingKey, getPreferenceStore(), Constants.MAPPING_TRIGGER_KEY);
    InputComboUtil.setPrefType(
        m_mappingKey, getPreferenceStore(), Constants.MAPPING_TRIGGER_TYPE_KEY);

    InputComboUtil.setPrefCode(
        m_mappingWithParentsKey, getPreferenceStore(), Constants.MAPPING_WITH_PARENTS_TRIGGER_KEY);
    InputComboUtil.setPrefType(
        m_mappingWithParentsKey,
        getPreferenceStore(),
        Constants.MAPPING_WITH_PARENTS_TRIGGER_TYPE_KEY);
    return super.performOk();
  }