Examples of StructBlock


Examples of org.nightlabs.jfire.prop.StructBlock

  }

  private static void createDefaultStructure(IStruct articleContainerStruct) {
    try {
      // TODO use MultiLanguagePropertiesBundle for externalization
      StructBlock sb = PropHelper.createStructBlock(articleContainerStruct, COMMENT_BLOCK, "Comment", "Kommentar");
      sb.setUnique(false);
      // TODO use MultiLanguagePropertiesBundle for externalization
      I18nTextStructField comment = PropHelper.createI18nTextField(sb, COMMENT_FIELD, "Comment", "Kommentar");
      comment.setLineCount(10);
      sb.addStructField(comment);
      articleContainerStruct.addStructBlock(sb);
    } catch (Throwable t) {
      throw new RuntimeException(t);
    }
  }
View Full Code Here

Examples of org.nightlabs.jfire.prop.StructBlock

  }

  private static void createDefaultStructure(IStruct articleContainerStruct) {
    try {
      // TODO use MultiLanguagePropertiesBundle for externalization
      StructBlock sb = PropHelper.createStructBlock(articleContainerStruct, COMMENT_BLOCK, "Comment", "Kommentar");
      sb.setUnique(false);
      // TODO use MultiLanguagePropertiesBundle for externalization
      I18nTextStructField comment = PropHelper.createI18nTextField(sb, COMMENT_FIELD, "Comment", "Kommentar");
      comment.setLineCount(10);
      sb.addStructField(comment);
      articleContainerStruct.addStructBlock(sb);
    } catch (Throwable t) {
      throw new RuntimeException(t);
    }
  }
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.