code: public List getTemplateConfigOptions() {
  
          List result = new ArrayList();
          result.add(new CmsSelectWidgetOption("", true, key(Messages.GUI_CHANGEELEMENTLOCALE_DIALOG_TEMPLATE_ALL_0)));
  
          TreeMap templates = null;
          try {
              // get all available templates
              templates = CmsNewResourceXmlPage.getTemplates(getCms(), null);
          } catch (CmsException e) {
              // can usually be ignored
              if (LOG.isInfoEnabled()) {
                  LOG.info(e);
              }
          }
          if (templates != null) {
              // templates found, create option and value lists
              Iterator i = templates.entrySet().iterator();
              while (i.hasNext()) {
                  Map.Entry entry = (Map.Entry)i.next();
                  String key = (String)entry.getKey();
                  String path = (String)entry.getValue();
                  result.add(new CmsSelectWidgetOption(path, false, key));
              }
          }
          return result;
      }
docs: returns the selector widget options to build a template selector widget.<p>
  
  @return the selector widget options to build a template selector widget