Package edu.hawaii.ics.csdl.jupiter.file

Examples of edu.hawaii.ics.csdl.jupiter.file.FieldItem


   * Updates the default items folder.
   *
   * @param fieldItemId the field item id.
   */
  private void updateDefaultItems(String fieldItemId) {
    FieldItem fieldItem = this.fieldItemIdFieldItemMap.get(fieldItemId);
    if (fieldItem != null) {
      List<String> itemNameList = fieldItem.getEntryNameList();
      if (fieldItemId.equals(PropertyConstraints.ATTRIBUTE_VALUE_TYPE)) {
        String currentType = this.defaultTypeCombo.getText();
        this.defaultTypeCombo.setItems(itemNameList.toArray(new String[] {}));
        this.defaultTypeCombo.setText(currentType);
      }
View Full Code Here


   *
   * @param fieldItemId the field item id.
   */
  private void fillItemTable(String fieldItemId) {
    removeAllItemsInItemListTable();
    FieldItem fieldItem = this.fieldItemIdFieldItemMap.get(fieldItemId);
    if (fieldItem != null) {
      for (Iterator<String> i = fieldItem.getEntryNameList().iterator(); i.hasNext();) {
        String itemEntry = ReviewI18n.getString(i.next());
        TableItem item = new TableItem(this.itemListTable, SWT.NONE);
        item.setText(itemEntry);
      }
    }
View Full Code Here

TOP

Related Classes of edu.hawaii.ics.csdl.jupiter.file.FieldItem

Copyright © 2018 www.massapicom. 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.