Examples of layout()


Examples of org.eclipse.ui.forms.widgets.ScrolledForm.layout()

              if (!UIUtils.isUsable(form))
                return;
              fillDiffs(unstagedDiffs);
              fillStagedDiffs(indexDiffs);
              form.reflow(true);
              form.layout(true, true);
            }
          });

        return Status.OK_STATUS;
      }
View Full Code Here

Examples of org.eclipse.ui.internal.forms.widgets.Paragraph.layout()

        if (i > 0 && paragraphsSeparated && p.getAddVerticalSpace())
          loc.y += getParagraphSpacing(lineHeight);
        loc.indent = p.getIndent();
        loc.resetCaret();
        loc.rowHeight = 0;
        p.layout(gc, carea.width, loc, lineHeight, resourceTable,
            selectedLink);
      }
      gc.dispose();
      if (DEBUG_TEXT) {
        long stop = System.currentTimeMillis();
View Full Code Here

Examples of org.fusesource.scalate.japi.TemplateEngineFacade.layout()

        TemplateEngineFacade engine = new TemplateEngineFacade();

        Map<String,Object> attributes = new HashMap<String, Object>();
        attributes.put("name", "James Strachan");

        engine.layout(args[0], System.out, attributes);
    }

}
View Full Code Here

Examples of org.geomajas.plugin.printing.document.SinglePageDocument.layout()

    if (request.getPageSize() != null) {
      page.setSize(request.getPageSize(), true);
    }
    SinglePageDocument pdfDoc = new SinglePageDocument(page, null);
    // layout the document
    pdfDoc.layout(Format.PDF);
    // Add document to container
    String documentId = printService.putDocument(pdfDoc);
    response.setDocumentId(documentId);
  }
View Full Code Here

Examples of org.geomajas.plugin.printing.document.SinglePageDocument.layout()

  public PrintTemplate createDefaultTemplate(String pagesize, boolean landscape) throws PrintingException {
    PrintTemplate template = createTemplate(pagesize, landscape);
    // calculate the sizes (if not already calculated !)
    SinglePageDocument document = new SinglePageDocument(template.getPage(), null);
    try {
      document.layout(Format.PDF);
    } catch (PrintingException e) {
      // should not happen !
      log.warn("Unexpected problem while laying out default print template", e);
    }
    return template;
View Full Code Here

Examples of org.gwt.mosaic.ui.client.DeckLayoutPanel.layout()

        dropBox.addItem("Properties");
        dropBox.addItem("Participants");
        dropBox.addChangeListener(new ChangeListener() {
          public void onChange(Widget sender) {
            deck.showWidget(dropBox.getSelectedIndex());
            deck.layout();
          }
        });

        deck.add(participantPanel);
View Full Code Here

Examples of org.gwt.mosaic.ui.client.layout.HasLayoutManager.layout()

  public void onTabSelected(SourcesTabEvents sender, final int tabIndex) {
    deck.showWidget(tabIndex);

    HasLayoutManager lm = WidgetHelper.getParent(this);
    if (lm != null) {
      lm.layout();
    } else {
      layout();
    }

    SelectionEvent.fire(this, tabIndex);
View Full Code Here

Examples of org.gwt.mosaic.ui.client.layout.LayoutPanel.layout()

      final LayoutPanel layoutPanel = getLayoutPanel();
      layoutPanel.add(widget = createWidget());
      layoutPanel.invalidate(widget);
      DeferredCommand.addCommand(new Command() {
        public void execute() {
          layoutPanel.layout();
        }
      });
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.report.layouting.ReportLayouter.layout()

    MasterReport masterReport = new MasterReport();
    SubReport element = new SubReport();
    masterReport.getReportHeader().addSubReport(element);

    ReportLayouter l = new ReportLayouter(new ReportRenderContext(masterReport));
    LogicalPageBox layout = l.layout();
    ModelPrinter.INSTANCE.print(layout);

    MatchFactory.findElementsByAttribute
        (layout, AttributeNames.Core.NAMESPACE, AttributeNames.Core.ELEMENT_TYPE, element.getElementType());
  }
View Full Code Here

Examples of org.pentaho.ui.xul.impl.AbstractXulComponent.layout()

   
    final XulComponent parent = getParent();
    if (parent instanceof AbstractXulComponent)
    {
      final AbstractXulComponent parentComp = (AbstractXulComponent) parent;
      parentComp.layout();
    }
  }

  public void setLabel(final String label)
  {
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.