Package org.exoplatform.applications.ooplugin.config

Examples of org.exoplatform.applications.ooplugin.config.FilterType


      {
         throw new DialogException("Can't use this type of file!!!");
      }

      ArrayList<FilterType> filters = filterLoader.getFilterTypes(currentModelName);
      FilterType filter = filters.get(index);

      String[] fileInfo = new String[2];

      if (!fileName.endsWith("." + filter.getFileExtension()))
      {
         fileName += ("." + filter.getFileExtension());
      }

      fileInfo[0] = fileName;
      fileInfo[1] = filter.getApiName();

      return fileInfo;
   }
View Full Code Here


         ArrayList<FilterType> filters = filterLoader.getFilterTypes(currentModelName);
         if (filters.size() != 0)
         {
            for (int i = filters.size() - 1; i >= 0; i--)
            {
               FilterType currentFilter = filters.get(i);
               String filterStr = currentFilter.getLocalizedName() + " [." + currentFilter.getFileExtension() + "]";
               xComboType.addItem(filterStr, (short) 0);
               if (i == 0)
               {
                  setEditFilterValue(filterStr);
               }
View Full Code Here

TOP

Related Classes of org.exoplatform.applications.ooplugin.config.FilterType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.