code: public void addRecentFormatter(String resType, CmsUUID formatterId) {
  
          List<CmsUUID> formatterIds = m_recentFormatters.get(resType);
          if (formatterIds == null) {
              formatterIds = new ArrayList<CmsUUID>();
              m_recentFormatters.put(resType, formatterIds);
          }
          formatterIds.remove(formatterId);
          if (formatterIds.size() >= (RECENT_FORMATTERS_SIZE)) {
              formatterIds.remove(RECENT_FORMATTERS_SIZE - 1);
          }
          formatterIds.add(0, formatterId);
      }
docs: Adds the formatter id to the recently used list for the given type.<p>
  
  @param resType the resource type
  @param formatterId the formatter id