private void placeComponents() { GridLayout glTest = new GridLayout(); glTest.numColumns = 1; glTest.marginHeight = 10; glTest.marginWidth = 20; cmpTaskContainer = new Canvas(shell, SWT.NONE); slTaskContainer = new StackLayout(); cmpTaskContainer.setLayout(slTaskContainer); cmpTaskContainer.setToolTipText("This is a canvas!"); cmpTaskContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); }
private void placeComponents( ) { GridLayout glTest = new GridLayout( ); glTest.numColumns = 1; glTest.marginHeight = 10; glTest.marginWidth = 20; cmpTaskContainer = new Canvas( shell, SWT.NONE ); slTaskContainer = new StackLayout( ); cmpTaskContainer.setLayout( slTaskContainer ); cmpTaskContainer.setLayoutData( new GridData( GridData.FILL_BOTH ) ); }
    private void placeComponents()    {        GridLayout glTest = new GridLayout();        glTest.numColumns = 1;        glTest.marginHeight = 10;        glTest.marginWidth = 20;        cmpTaskContainer = new Canvas(shell, SWT.NONE);        slTaskContainer = new StackLayout();        cmpTaskContainer.setLayout(slTaskContainer);        cmpTaskContainer.setToolTipText("This is a canvas!");        cmpTaskContainer.setLayoutData(new GridData(GridData.FILL_BOTH));    }