Examples of GridData


Examples of at.bestsolution.efxclipse.runtime.panels.GridData

  }
 
  public static class WFixedSashImpl extends WLayoutedWidgetImpl<GridLayoutPane, Node, MPartSashContainer> implements WSash<Node> {

    private static GridData toGridData(Map<String, String> dataMap) {
      GridData gd = new GridData();
      if( dataMap.containsKey(WSash.FIXED_LAYOUT_WIDTH) ) {
        gd.widthHint.set(Integer.parseInt(dataMap.get(WSash.FIXED_LAYOUT_WIDTH)));
        if( !dataMap.containsKey(WSash.FIXED_LAYOUT_HEIGHT) ) {
          gd.grabExcessVerticalSpace.set(true);
          gd.verticalAlignment.set(Alignment.FILL);
View Full Code Here

Examples of com.bbn.openmap.omGraphics.grid.GridData

                : LinkGraphicConstants.COLUMN_MAJOR;

        int rows = grid.getRows();
        int columns = grid.getColumns();

        GridData gd = grid.getData();

        if (!(gd instanceof GridData.Int)) {
            Debug.output("LinkGrid requires OMGrid containing integer data.");
            return;
        }
View Full Code Here

Examples of com.cosmo.util.GridData

      this.firstRowTitles = false;
      this.title = StringUtils.EMPTY;
      this.description = StringUtils.EMPTY;
      this.rowActionsCaption = "Acciones";
      this.rowActions = new ArrayList<GridRowAction>();
      this.gridData = new GridData();
   }
View Full Code Here

Examples of org.eclipse.draw2d.GridData

    protected void addSwimlaneLabel() {
        swimlaneLabel = new TextFlow();
        FlowPage fp = new FlowPage();
        fp.setHorizontalAligment(PositionConstants.CENTER);
        fp.add(swimlaneLabel);
        GridData data = new GridData(GridData.FILL_HORIZONTAL);
        add(fp, data);
    }
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

        this.setLayout(layout);
       
        _refresh = new Button(this, SWT.PUSH);
        _refresh.setImage(Activator.getDefault().getImageRegistry().get(Activator.IMAGE_REFRESH));
        _refresh.setToolTipText("refresh");
        GridData gd = new GridData();
        gd.horizontalSpan = 3;
        gd.horizontalAlignment = SWT.END;
        _refresh.setLayoutData(gd);
       
        HyperlinkGroup group = new HyperlinkGroup(getShell().getDisplay());
       
        for (TaskStatus status : _beans) {
            Label label = new Label(this, SWT.None);
            label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
            ImageHyperlink link = new ImageHyperlink(this, SWT.None);
            link.addHyperlinkListener(this);
            link.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
            group.add(link);
            Label image = new Label(this, SWT.None);
            image.setText("");
            image.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
            Map<String,Control> controlSet = new HashMap<String,Control>();
            controlSet.put(LABEL_CONTROL, label);
            controlSet.put(LINK_CONTROL, link);
            controlSet.put(IMAGE_CONTROL, image);
            _controls.put(status, controlSet);
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

    Composite container = new Composite(parent, SWT.NULL);
    GridLayout layout = new GridLayout();
    container.setLayout(layout);
    _treeViewer = createTreeViewer(container);
    Tree treeWidget = _treeViewer.getTree();
    GridData gridDataTree = new GridData(GridData.FILL_BOTH);
    gridDataTree.horizontalSpan = 3;
    gridDataTree.widthHint = convertWidthInCharsToPixels(80);
    gridDataTree.heightHint = convertHeightInCharsToPixels(20);
    treeWidget.setLayoutData(gridDataTree);
    treeWidget.addSelectionListener(this);   
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

    super(parent, style);
  }
 
  public void init(String[] items) {
    _items = items;
    _btnLayout = new GridData(GridData.FILL, GridData.VERTICAL_ALIGN_FILL, true , false);
    createControls()
  }
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

    layout.marginHeight = 0;
    layout.marginWidth = 0;
    this.setLayout(layout);
   
   
    GridData fillBoth = new GridData(GridData.FILL_BOTH);
        fillBoth.minimumHeight = 100;
        fillBoth.verticalSpan = 2;
        _list = new org.eclipse.swt.widgets.List(this, SWT.BORDER|SWT.MULTI);
        _list.setLayoutData(fillBoth);
        _list.setItems(_items);
       
       
        _buttonArea = new Composite(this, SWT.NONE);
      layout = new GridLayout();   
    layout.numColumns = 1;
    layout.marginHeight = 0;
    layout.marginWidth = 0;           
    _buttonArea.setLayout(layout);
    _buttonArea.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, true));
   
        createButtonArea(_buttonArea);
  }
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

    addFiller(comp, 1);
  }
 
  public void addFiller(Composite comp, int hSpan) {
    Label filler = _toolkit.createLabel(comp, "");
    GridData data = new GridData();
    data.horizontalSpan = hSpan;
    filler.setLayoutData(data);
  }
View Full Code Here

Examples of org.eclipse.swt.layout.GridData

      return text;
  }
 
  public Text createTextArea(Composite container, String label, String bindingKey) {
      Label swtLabel = _toolkit.createLabel(container, label);
      swtLabel.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false));
      Text text = _toolkit.createText(container, "", DEFAULT_TEXTBOX_STYLE);
      text.setData(bindingKey);
      return text;
  }
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.