code: public void setPreferredEditor(String resourceType, String editorUri) {
  
          if (editorUri == null) {
              m_editorSettings.remove(resourceType);
          } else {
              m_editorSettings.put(resourceType, editorUri);
          }
      }
docs: Sets the preferred editor for the given resource type of the user.<p>
  
  @param resourceType the resource type
  @param editorUri the editor URI