Lines Matching refs:bundle
387 Bundle bundle = (Bundle)bundles.elementAt(i); in writeToFile() local
389 … ((bundle.encoding == null || bundle.encoding.equals("")) ? "" : "_" + bundle.encoding) + in writeToFile()
392 bundle.writeContents(fw); in writeToFile()
410 Bundle bundle = (Bundle)bundles.elementAt(i); in hideResource() local
411 if (bundle.encoding.equals(encoding)) { in hideResource()
412 bundles.removeElement(bundle); in hideResource()
425 Bundle bundle = (Bundle)bundles.elementAt(i); in eraseFile() local
426 if (!(bundle.encoding.equals(encoding))) continue; in eraseFile()
428 … ((bundle.encoding == null || bundle.encoding.equals("")) ? "" : "_" + bundle.encoding) + in eraseFile()
443 Bundle bundle = (Bundle)bundles.elementAt(i); in writeToFile() local
444 if (bundle.encoding.equals(encoding) || (i==0 && encoding.equals(""))) { in writeToFile()
446 … ((bundle.encoding == null || bundle.encoding.equals("")) ? "" : "_" + bundle.encoding) + in writeToFile()
449 bundle.writeContents(fw); in writeToFile()
475 Bundle bundle = (Bundle)bundles.elementAt(i); in editItem() local
476 BundleItem oldItem = (BundleItem)bundle.allItems.get(oldName); in editItem()
481 bundle.allItems.remove(oldItem); in editItem()
482 bundle.allItems.put(oldItem.getKey(), oldItem); in editItem()
490 BundleGroup bg = bundle.getBundleGroup(groupName); in editItem()
491 if (bg == null) bg = bundle.getUngroupedGroup(); in editItem()
530 Bundle bundle = (Bundle)bundles.elementAt(i); in createItem() local
533 for (int j=0; j < bundle.getGroupCount(); j++) { in createItem()
534 BundleGroup bg = bundle.getBundleGroup(j); in createItem()
538 group = new BundleGroup(bundle, groupName); in createItem()
539 bundle.addBundleGroup(group); in createItem()
546 bundle.allItems.put(name, item); in createItem()
547 bundle.addUntranslatedItem(item); in createItem()
570 Bundle bundle = (Bundle)bundles.elementAt(i); in createGroup() local
571 BundleGroup bg = new BundleGroup(bundle, groupName); in createGroup()
574 bundle.addBundleGroup(bg); in createGroup()
591 Bundle bundle = (Bundle)bundles.elementAt(i); in deleteGroup() local
592 bundle.removeGroup(groupName); in deleteGroup()
608 Bundle bundle = (Bundle)bundles.elementAt(i); in deleteItem() local
609 bundle.removeUntranslatedItem(itemName); in deleteItem()
612 Enumeration items = bundle.allItems.elements(); in deleteItem()
616 bundle.allItems.remove(item); in deleteItem()
658 Bundle bundle = new Bundle(encoding); in createResource()
659 bundle.name = title; in createResource()
660 bundle.comment = comment; in createResource()
661 bundle.manager = manager; in createResource()
662 bundle.language = language; in createResource()
663 bundle.country = country; in createResource()
664 bundle.variant = variant; in createResource()
667 …bundle.addBundleGroup("Ungrouped Items", "These are resource items that have not been assigned a g… in createResource()
673 BundleGroup bg = new BundleGroup(bundle,mainGroup.getName()); in createResource()
675 bundle.addBundleGroup(bg); in createResource()
691 bundle.addUntranslatedItem(item); in createResource()
696 bundles.addElement(bundle); in createResource()
739 Bundle bundle = (Bundle)bundles.firstElement(); in getGroupListingVector() local
740 for (int i=0; i < bundle.getGroupCount(); i++) { in getGroupListingVector()
741 String name = bundle.getBundleGroup(i).getName(); in getGroupListingVector()
859 Bundle bundle = null; in getBundle() local
864 bundle = tempb; in getBundle()
869 return bundle; in getBundle()