Examples of addItem()


Examples of org.sylfra.idea.plugins.revu.ui.forms.settings.RevuProjectSettingsForm.addItem()

          RevuBundle.message("projectSettings.review.import.error.title"));
        return;
      }

      final RevuProjectSettingsForm form = project.getComponent(RevuProjectSettingsForm.class);
      form.addItem(review);
    }
  }
}
View Full Code Here

Examples of org.vietspider.ui.widget.vtab.IVTabGroup.addItem()

  public IVTabItem addItem(String aGroup, Control control){
    IVTabGroup group = getGroupByName(aGroup);
    IVTabItem aItem = new VTabItem();
    aItem.setGroup(group);
    aItem.setControl(control);    
    group.addItem(aItem);
    return aItem;
  }

  public IVTabGroup getGroupByControl(Control aControl){   
    for(IVTabGroup ele : groupsList) {
View Full Code Here

Examples of org.webtide.demo.auction.dao.CategoryDao.addItem()

        Category antiques = new Category(4,"Antiques and Collectibles","Rare collectible items");
        Category books = new Category(5,"Books, Movies and Music","Rare to find items");
        Category cloths = new Category(6,"Clothing and Accessories","Brand new signature items");
        Category coins = new Category(7,"Coins and Stamps","Rare coin and stamp collections");

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
View Full Code Here

Examples of org.wso2.carbon.billing.core.jdbc.DataAccessObject.addItem()

            dataAccessObject.beginTransaction();
            for (MultitenancyPackage multitenancyPackage : multitenancyPackages) {
                // check the package existence in the database; If not available, insert it
                int itemId = dataAccessObject.getItemIdWithName(multitenancyPackage.getName());
                if (itemId == DataAccessObject.INVALID) {
                    itemId = dataAccessObject.addItem(multitenancyPackage);
                }
                multitenancyPackage.setId(itemId);
                multitenancyPackagesMap.put(itemId, multitenancyPackage);
                // and add all the sub items too
                for (Item subItem : multitenancyPackage.getChildren()) {
View Full Code Here

Examples of parserTXT.Parser.addItem()

    cmd.addToken( new Token(TipoToken.VAR, "bMdef") );
    cmd.addToken( new Token(TipoToken.NUM, "25") );
    eqp.addComando(cmd);
    Object[] item2 = {"3046", "verdadeiroTrevo", "Verdadeiro Trevo", "5", "50000", "25000", "10", "", "", "", "5", "0", "2", "8", "", "0", "0", uso, eqp};

    parser.addItem(new Item(item1));
    parser.addItem(new Item(item2));

    return parser;
  }
View Full Code Here

Examples of powercrystals.core.inventory.IInventoryManager.addItem()

    }
    // (2) Try to put stack in chests that are in valid directions
    for(Entry<ForgeDirection, IInventory> chest : findChests(world, bp.x, bp.y, bp.z, dropdirections).entrySet())
    {
      IInventoryManager manager = InventoryManager.create((IInventory)chest.getValue(), chest.getKey().getOpposite());
      stack = manager.addItem(stack);
      if(stack == null || stack.stackSize == 0)
      {
        return null;
      }
    }
View Full Code Here

Examples of prefuse.visual.AggregateItem.addItem()

        Iterator nodes = vg.nodes();
        for ( int i=0; i<3; ++i ) {
            AggregateItem aitem = (AggregateItem)at.addItem();
            aitem.setInt("id", i);
            for ( int j=0; j<3; ++j ) {
                aitem.addItem((VisualItem)nodes.next());
            }
        }
    }
   
    public static void main(String[] argv) {
View Full Code Here

Examples of prefuse.visual.AggregateTable.addItem()

       
        // add nodes to aggregates
        // create an aggregate for each 3-clique of nodes
        Iterator nodes = vg.nodes();
        for ( int i=0; i<3; ++i ) {
            AggregateItem aitem = (AggregateItem)at.addItem();
            aitem.setInt("id", i);
            for ( int j=0; j<3; ++j ) {
                aitem.addItem((VisualItem)nodes.next());
            }
        }
View Full Code Here

Examples of ru.snake.spritepacker.core.packer.ImagePacker.addItem()

        ImagePacker packer = new ImagePacker(margin, padding);

        for (Texture eachTexture : allTextures) {
          ImageData data = new ImageData(animationIndex, eachTexture);

          packer.addItem(data);
        }

        output.setNameFormat(eachAnimation.name + "-", null);

        packer.setOutput(output);
View Full Code Here

Examples of samples.suppressfield.ItemRepository.addItem()

  @Test(expected = NullPointerException.class)
  public void testaddItem() throws Exception {
    suppress(fields(field(ItemRepository.class, "itemMap"), field(ItemRepository.class, "totalItems")));

    ItemRepository objRep = Whitebox.newInstance(ItemRepository.class);
    objRep.addItem("key", "value");
  }
}
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.