Examples of BoostedNode


Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

      File file = docContext.getFromAttributesMap(File.class);

      if (file == null) {

        BoostedNode parent = documentationNode.getZoomOut(null)
            .getLeft();
        if (parent == null) {
          String filename = (String) context
              .getFromAttributesMap(DocumentationContext.DOCUMENTATION_TARGET_PARAMETER);
          if (filename == null)
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

      if (context.getDocumentationTarget() == null)
        context.setDefaultDocumentationTarget();
    }

   
    BoostedNode root = createSoftwareDocumentationSlipcase(content, context, closeRoot);
    if (closeRoot)
      root.close();
   
    log.debug("beginn creating documentation ended");
    return root;
   
    
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

  public static BoostedNode createSoftwareDocumentationSlipcase(HasDocumentation content, DocumentationContext context, boolean close) throws Exception{

    log.debug("createSoftwareDocumentationSlipcase");
    ChangeListener listener = (ChangeListener) context.getAttributes().getAttributes().get(ChangeListener.class);
   
    BoostedNode slipcase = createSlipcase(
        null,
        listener,
        getDocumentationResourcesTranslation(context,
            DocumentationResourcesId.SOFTWARE_DOCUMENTATION));
    
    for (Object documentationType: SOFTWARE_DOCUMENTATION_TYPES){
      log.debug("creating book " , documentationType);
      BoostedNode bookNode = newZoomInBook(slipcase, documentationType, content, context, listener, close);
      context.getDocumentationTypeMap(documentationType, true).put(
          BookBoostUtils.BOOK, bookNode);
     
     
      if (context.getAttributes().getFromAttributes(DocumentationContext.DOCUMENTATION_CONTENT_GENERATORS) != null){
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

      DocumentationContext context, ChangeListener listener,
      boolean closeRoot) throws Exception {

    Check.notNull(context.getLocale(), "context.locale");

    BoostedNode book = BoostedNodeUtils
        .createZoomInNode(
            parent,
            listener,
            getDocumentationResourcesTranslation(context,
                documentationType), null);
    book.getAttributes().setType(BookBoostUtils.BOOK);
    //book.getAttributes().setName(getDocumentationResourcesTranslation(context).getString(documentationType.toString()));
    //todo create heading, title, etc.
   
    // if (DocumentationResourcesId.DOCUMENTATION_DEVELOPER
    // .equals(documentationType)) {
    // createDiv(book,
    // "The application may be created using the following steps.");
    // }
    
    content.fillDocumentation(documentationType, book, context);
    //todo create index etc
    if (closeRoot)
      book.close();//the book is complete
   
    return book;
    
  }
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

   *
   * @return the created slipcase node.
   */
  @SuppressWarnings("unchecked")
  public static BoostedNode createSlipcase(BoostedNode parent, ChangeListener listener, Object name){
    BoostedNode slipcase = BoostedNodeUtils.createZoomInNode(parent, listener, name, null);
   
    slipcase.getAttributes().setType(SLIPCASE);
    //slipcase.getAttributes().setName(name);
   
    return slipcase;
  }
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

   *
   * @return the created book node.
   */
  @SuppressWarnings("unchecked")
  public static BoostedNode createBook(BoostedNode parent, ChangeListener listener, Object name){
    BoostedNode slipcase = BoostedNodeUtils.createZoomInNode(parent, listener, name, null);
   
    slipcase.getAttributes().setType(BOOK);
    //slipcase.getAttributes().setName(name);
   
    return slipcase;
 
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

  @SuppressWarnings("unchecked")
  public static BoostedNode createChapter(BoostedNode parent, Object name, BoostedNode addBeforeThisPoint){
    Check.notNull(parent, "parent");
    Check.notNull(name, "name");

    BoostedNode chapter = BoostedNodeUtils.createZoomInNodeUseParentListener(parent, name, addBeforeThisPoint);
   
    chapter.getAttributes().setType(DocumentationResourcesId.CHAPTER);
    //chapter.getAttributes().setName(name);
   
    return chapter;
  }
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

   *
   * @return the created node.
   */
  @SuppressWarnings("unchecked")
  public static BoostedNode createText(BoostedNode parent, String text){
    BoostedNode textNode = BoostedNodeUtils.createZoomInNodeUseParentListener(parent, null, null);
   
    textNode.getAttributes().setType(TextBoostUtils.TEXT);
    textNode.getAttributes().setValue(text);
   
    return textNode;
  }
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

   *
   * @return the created node.
   */
  @SuppressWarnings("unchecked")
  public static BoostedNode createRaw(BoostedNode parent, String rawText){
    BoostedNode node = BoostedNodeUtils.createZoomInNodeUseParentListener(parent, null, null);
   
    node.getAttributes().setType(GeneralConstants.RAW);
    node.getAttributes().setValue(rawText);
   
    return node;
  }
View Full Code Here

Examples of net.sf.gluebooster.java.booster.basic.container.BoostedNode

   *
   * @return the created node.
   */
  @SuppressWarnings("unchecked")
  public static BoostedNode createDiv(BoostedNode parent){
    BoostedNode node = BoostedNodeUtils.createZoomInNodeUseParentListener(parent, null, null);
   
    node.getAttributes().setType(HTML.Tag.DIV);
   
    return node;
  }
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.