Examples of Category


Examples of org.eclipse.ui.internal.registry.Category

        }
            if (((IViewCategory)e2).getId().equals(generalCategory.getId())) {
          return 1;
        }
          }
      Category miscCategory = viewReg.getMiscCategory();
      if(miscCategory != null){
        if (((IViewCategory)e1).getId().equals(miscCategory.getId())) {
          return 1;
        }
        if (((IViewCategory)e2).getId().equals(miscCategory.getId())) {
          return -1;
        }
      }
            String str1 = DialogUtil.removeAccel(((IViewCategory) e1).getLabel());
            String str2 = DialogUtil.removeAccel(((IViewCategory) e2).getLabel());
View Full Code Here

Examples of org.geotools.coverage.Category

            final List<Category> categories = sd[i].getCategories();
            if (categories != null && categories.size() >= 1) {
        writer.write("<nullValues>\n");
        for (Iterator<Category> it = sd[i].getCategories().iterator(); it
            .hasNext();) {
          Category cat = (Category) it.next();
          if ((cat != null)
              && cat.getName().toString().equalsIgnoreCase(
                  "no data")) {
            double min = cat.getRange().getMinimum();
            double max = cat.getRange().getMaximum();
            writer.write("<value>" + min + "</value>\n");
            if (min != max)
              writer.write("<value>" + max + "</value>\n");
          }
        }
View Full Code Here

Examples of org.gephi.filters.spi.Category

*/
@ServiceProvider(service = FilterBuilder.class)
public class INTERSECTIONBuilder implements FilterBuilder {

    public Category getCategory() {
        return new Category("Operator");
    }
View Full Code Here

Examples of org.gudy.azureus2.core3.category.Category

      Category[] categories = CategoryManager.getCategories();
      Arrays.sort(categories);

      if (categories.length > 0) {
        Category catUncat = CategoryManager.getCategory(Category.TYPE_UNCATEGORIZED);
        if (catUncat != null) {
          final MenuItem itemCategory = new MenuItem(menuCategory, SWT.PUSH);
          Messages.setLanguageText(itemCategory, catUncat.getName());
          itemCategory.setData("Category", catUncat);
          itemCategory.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event event) {
              MenuItem item = (MenuItem)event.widget;
              assignSelectedToCategory((Category)item.getData("Category"));
View Full Code Here

Examples of org.infoglue.cms.entities.management.Category

        if(parentCategoryVO != null
          categoryVO.setParentId(parentCategoryVO.getCategoryId());
        else
          categoryVO.setParentId(null);
         
        Category newCategory = CategoryController.getController().save(categoryVO, db);
        categoryIdMap.put(oldId, newCategory.getCategoryId());
        newParentCategoryVO = newCategory.getValueObject();
      }
      else
      {
        categoryIdMap.put(categoryVO.getId(), newParentCategoryVO.getCategoryId());
      }
View Full Code Here

Examples of org.internna.ossmoney.model.Category

      categoryData.put(transaction.getSubcategory(), amount);
    }

    protected final Map<Subcategory, BigDecimal> getOrCreateCategoryData(final AccountTransaction transaction, final Map<Category, Map<Subcategory, BigDecimal>> data) {
      Subcategory subcategory = transaction.getSubcategory();
      Category category = subcategory.getParentCategory();
      Map<Subcategory, BigDecimal> categoryData = data.get(category);
      if (categoryData == null) {
        categoryData = new HashMap<Subcategory, BigDecimal>();
        data.put(category, categoryData);
      }
View Full Code Here

Examples of org.jahia.services.categories.Category

    private String getStringValueForObjectComparison(T c1) {
        String s1;
        if (c1 instanceof ResourceBundleMarker) {
            s1 = ((ResourceBundleMarker) c1).getValue();
        } else if (c1.getClass() == Category.class) {
            final Category cat = (Category) c1;
            s1 = cat.getTitle(JCRSessionFactory.getInstance().getCurrentLocale());
            if (s1 == null || s1.length() == 0) {
                s1 = cat.getKey();
            }
        } else if (c1 instanceof CategoryBean) {
            final CategoryBean cat = (CategoryBean) c1;
            s1 = cat.getKey();
        } else if (c1.getClass() == Version.class) {
            final Version res = (Version) c1;
            try {
                s1 = res.getName();
            } catch (RepositoryException e) {
View Full Code Here

Examples of org.jamwiki.model.Category

    ofy.put(page);
    return page;
  }

  public static Category update(Category category) {
    Category existingEntity = null;
    try {
      Objectify ofy = OS.begin();
      existingEntity = ofy.get(Category.class, category.getCategoryId());
      existingEntity.setChildTopicName(category.getChildTopicName());
      existingEntity.setSortKey(category.getSortKey());
      existingEntity.setVirtualWiki(category.getVirtualWiki());
      existingEntity.setTopicType(category.getTopicType());
      ofy.put(existingEntity);
//      cache.put(existingEntity.getName(), existingEntity);
    } catch (EntityNotFoundException enf) {
    }
    return existingEntity;
View Full Code Here

Examples of org.jayasoft.woj.tools.dl.Category

                    path = path.substring(0, path.length() - classFilePath.length() - 1);
                    if (path.endsWith("!")) {
                        path = path.substring(0, path.length() - 1);
//                        path = path + "/";
                    }
                    Category source = Category.getCategory("source");
                    for (CategoryItem item : desc.getItems(source)) {
                        if (item.parseValue(path).equals(item.getAttribute("path"))) {
                            return;
                        }
                    }
                    desc.getItems(source).add(source.newItem(rev, path));
                }
            }
        }
       
    }
View Full Code Here

Examples of org.jboss.aerogear.unifiedpush.api.Category

        assertThat(queriedVariant.getGoogleKey()).isEqualTo("KEY");

        Installation androidInstallation1 = new Installation();
        androidInstallation1.setDeviceToken("1234543212232301234567890012345678900123456789001234567890012345678900123456789001234567890012345678");
        final HashSet<Category> categories = new HashSet<Category>();
        categories.add(new Category("X"));
        categories.add(new Category("Y"));
        androidInstallation1.setCategories(categories);
        installationDao.create(androidInstallation1);

        androidInstallation1.setVariant(queriedVariant);
        variantDao.update(queriedVariant);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.