Package org.eclipse.jface.layout

Examples of org.eclipse.jface.layout.GridDataFactory.applyTo()


    if (fieldNameLabel!=null) {
      GridDataFactory.fillDefaults().align(SWT.BEGINNING, SWT.BEGINNING).applyTo(fieldNameLabel);
    }
    GridDataFactory grab = GridDataFactory.fillDefaults().grab(true, true).hint(SWT.DEFAULT, 150);
    grab.applyTo(field);
    grab.applyTo(tv.getTable());
   
    whenVisible(tv.getControl(), new Runnable() {
      public void run() {
        T preSelect = selection.selection.getValue();
        if (preSelect!=null) {
View Full Code Here


    if (fieldNameLabel!=null) {
      GridDataFactory.fillDefaults().align(SWT.BEGINNING, SWT.BEGINNING).applyTo(fieldNameLabel);
    }
    GridDataFactory grab = GridDataFactory.fillDefaults().grab(true, true).hint(SWT.DEFAULT, 150);
    grab.applyTo(field);
    grab.applyTo(treeviewer.getControl());

    whenVisible(treeviewer.getControl(), new Runnable() {
      public void run() {
        GSContent preSelect = selection.selection.getValue();
View Full Code Here

    if (fieldNameLabel!=null) {
      GridDataFactory.fillDefaults().align(SWT.BEGINNING, SWT.BEGINNING).applyTo(fieldNameLabel);
    }
    GridDataFactory grab = GridDataFactory.fillDefaults().grab(true, true).hint(SWT.DEFAULT, 150);
    grab.applyTo(field);
    grab.applyTo(treeviewer.getControl());

    whenVisible(treeviewer.getControl(), new Runnable() {
      public void run() {
        GSContent preSelect = selection.selection.getValue();
        if (preSelect!=null) {
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.