code: private IndexedContainer createContainerForDescriptorEditing() {
  
          IndexedContainer container = new IndexedContainer();
  
          // create properties
          container.addContainerProperty(TableProperty.KEY, String.class, "");
          container.addContainerProperty(TableProperty.DESCRIPTION, String.class, "");
          container.addContainerProperty(TableProperty.DEFAULT, String.class, "");
  
          // add entries
          CmsXmlContentValueSequence messages = m_descContent.getValueSequence(
              "/" + Descriptor.N_MESSAGE,
              Descriptor.LOCALE);
          for (int i = 0; i < messages.getElementCount(); i++) {
  
              String prefix = messages.getValue(i).getPath() + "/";
              Object itemId = container.addItem();
              Item item = container.getItem(itemId);
              String key = m_descContent.getValue(prefix + Descriptor.N_KEY, Descriptor.LOCALE).getStringValue(m_cms);
              item.getItemProperty(TableProperty.KEY).setValue(key);
              item.getItemProperty(TableProperty.DESCRIPTION).setValue(
                  m_descContent.getValue(prefix + Descriptor.N_DESCRIPTION, Descriptor.LOCALE).getStringValue(m_cms));
              item.getItemProperty(TableProperty.DEFAULT).setValue(
                  m_descContent.getValue(prefix + Descriptor.N_DEFAULT, Descriptor.LOCALE).getStringValue(m_cms));
          }
  
          return container;
  
      }
docs: Creates the container for a bundle descriptor.
  @return the container for a bundle descriptor.