Examples of Description


Examples of com.google.gwt.i18n.client.LocalizableResource.Description

      return MessageUtils.getConstantsDefaultValue(this);
    }
  }

  public String getDescription() {
    Description annot = getAnnotation(Description.class);
    return annot != null ? annot.value() : null;
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.Description

  public <T>List<T> createDescriptionList(Class<T> descClass){
    if(Description.class.isAssignableFrom(descClass)){
      try{
        List<T> descs = new ArrayList<T>();
        for(Language language: getList(null)){
          Description desc = (Description)descClass.newInstance();
          desc.setLanguageId(language.getId());
          desc.setLanguageName(language.getName());
          desc.setLanguageImage(language.getImage());
          descs.add((T)desc);
        }
        return descs;
      }catch(Exception e){
        throw new RuntimeException(e);
View Full Code Here

Examples of com.publicobject.issuesbrowser.Description

        clear(descriptionsTextPane.getStyledDocument());
        if(issue != null) {
            append(descriptionsTextPane.getStyledDocument(), "*", buttonStyle);
            append(descriptionsTextPane.getStyledDocument(), "\n\n", plainStyle);
            for(Iterator<Description> d = issue.getDescriptions().iterator(); d.hasNext(); ) {
                Description description = d.next();
                writeDescription(descriptionsTextPane.getStyledDocument(), description);
                if(d.hasNext()) append(descriptionsTextPane.getStyledDocument(), "\n\n", plainStyle);
            }
        }
        descriptionsTextPane.setCaretPosition(0);
View Full Code Here

Examples of com.rometools.rome.feed.rss.Description

    protected List<Item> buildFeedItems(Map<String, Object> model, HttpServletRequest request, HttpServletResponse response) throws Exception {
      List<Item> items = new ArrayList<Item>();
      for (String name : model.keySet()) {
        Item item = new Item();
        item.setTitle(name);
        Description description = new Description();
        description.setValue((String) model.get(name));
        item.setDescription(description);
        items.add(item);
      }
      return items;
    }
View Full Code Here

Examples of com.sk89q.worldedit.util.command.Description

    public void registerCommands(Dispatcher dispatcher) {
        if (server == null) return;
        ServerCommandManager mcMan = (ServerCommandManager) server.getCommandManager();

        for (final CommandMapping command : dispatcher.getCommands()) {
            final Description description = command.getDescription();
            mcMan.registerCommand(new CommandBase() {
                @Override
                public String getCommandName() {
                    return command.getPrimaryAlias();
                }

                @Override
                public List<String> getCommandAliases() {
                    return Arrays.asList(command.getAllAliases());
                }

                @Override
                public void processCommand(ICommandSender var1, String[] var2) {}

                @Override
                public String getCommandUsage(ICommandSender icommandsender) {
                    return "/" + command.getPrimaryAlias() + " " + description.getUsage();
                }

                @Override
                public int getRequiredPermissionLevel() {
                    return 0;
View Full Code Here

Examples of com.sun.syndication.feed.rss.Description

        return syndImage;
    }

    protected SyndEntry createSyndEntry(Item item) {
        SyndEntry syndEntry = super.createSyndEntry(item);
        Description desc = item.getDescription();
        if (desc!=null) {
            SyndContent content = new SyndContentImpl();
            content.setType(desc.getType());
            content.setValue(desc.getValue());
            syndEntry.setDescription(content);

            // contents[0] and description then reference the same content
            //
            List contents = new ArrayList();
View Full Code Here

Examples of com.sun.xml.registry.uddi.bindings_v2_2.Description

    /**
     * Create an instance of {@link Description }
     *
     */
    public Description createDescription() {
        return new Description();
    }
View Full Code Here

Examples of com.vmware.vim.binding.vim.Description

      Extension us = em.findExtension(extKey);
      AuAssert.check(us != null);

      // Describe Aurora itself
      Description desc = new DescriptionImpl();
      desc.setLabel("VMware Serengeti Management Server");
      desc.setSummary("VMware Serengeti Management Server, instance " + Configuration.getCmsInstanceId());
      us.setDescription(desc);
      us.setCompany("VMware, Inc.");
      us.setVersion(Configuration.getNonEmptyString("serengeti.version"));
      us.setShownInSolutionManager(true);
      ExtendedProductInfo extInfo = new ExtendedProductInfoImpl();
View Full Code Here

Examples of com.vmware.vim25.Description

        VirtualEthernetCard nic =  new VirtualE1000();
        VirtualEthernetCardNetworkBackingInfo nicBacking =
            new VirtualEthernetCardNetworkBackingInfo();
        nicBacking.setDeviceName(netName);

        Description info = new Description();
        info.setLabel(nicName);
        info.setSummary(netName);
        nic.setDeviceInfo(info);
   
        // type: "generated", "manual", "assigned" by VC
        nic.setAddressType("generated");
        nic.setBacking(nicBacking);
View Full Code Here

Examples of ext.jtester.hamcrest.Description

      public boolean matches(Object item) {
        return matcher.matches(item);
      }

      public void describeTo(mockit.external.hamcrest.Description description) {
        Description message = new StringDescription();
        matcher.describeTo(message);
        description.appendText(message.toString());
      }
    };
  }
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.