Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Composite.layout()


        getAttributeEditorToolkit().adapt(cfEditor);
        attributeEditors.put(cfAttribute, cfEditor);
      }
    }
   
    parent.layout();
    getEditorComposite().layout(true);
   
  }

  private int getAttributeId(RedmineAttribute attribute) {
View Full Code Here


    Composite composite = (Composite) getControl();
    if (visible && _projectTemplateChanged) {
      createTemplateInputFields(composite);
    }
    composite.layout(true, true);
  }

  protected void createTemplateInputFields(Composite parent) {
    if (_inputs != null) {
      for (ProjectInput input : _inputs) {
View Full Code Here

        dataTypeCombo.addSelectionChangedListener(new ISelectionChangedListener() {
            public void selectionChanged(SelectionChangedEvent event) {
                DataType dataType = dataTypeCombo.getDataType();
                dataTypeEditorComposite.setDataType(dataType);
                editorComposite.setDataType(dataType);
                composite.layout();
            }
        });
       
        new Label(composite, SWT.NONE);
       
View Full Code Here

        dataTypeEditorComposite.setLayoutData(gridData);
        dataTypeEditorComposite.setDataType(dataType);
        dataTypeEditorComposite.addListener(new DataTypeEditor.DataTypeListener() {
            public void dataTypeChanged(DataType dataType) {
                editorComposite.setDataType(dataType);
                composite.layout();
            }
        });
       
        Label valueLabel = new Label(composite, SWT.NONE);
        valueLabel.setText("Value: ");
View Full Code Here

      }
      public Label getContainerNameLabel() {
        return containerNameLabel;
      }
      public void layout() {
        statusBox.layout();
      }
      public void setEnabled(boolean enabled) {
        statusLabel.setEnabled(enabled);
        containerTypeIconLabel.setEnabled(enabled);
        containerNameLabel.setEnabled(enabled);
View Full Code Here

                {
                    int count = Integer.parseInt(addMoreButton.getData("rowCount").toString());
                    createARowForCreatingHeadersBinding(composite, ++count);
                    addMoreButton.setData("rowCount", count);
                    scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
                    composite.layout();
                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
View Full Code Here

                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
        composite.layout();
    }
   
    /**
     * Adds a row for adding a binding for Headers Exchange. Used by the method, which creates the customized
     * layout and widgest for Header's exchange method createNewBinding.
View Full Code Here

      ScriptSourceViewerConfiguration configuration = textTools.createSourceViewerConfiguraton(
              store, (ITextEditor) null);
      viewer.configure(configuration);
      setInformation("");
      composite1.layout();

      resultLabel = new Label(this, SWT.NONE);
      FormData resultLabelData = new FormData();
      resultLabelData.left = new FormAttachment(0, 1000, 12);
      resultLabelData.top = new FormAttachment(0, 1000, 180);
View Full Code Here

            }
          }

        }
      });
      composite2.layout();

      this.layout();
    } catch (Exception e) {
      RutaAddonsPlugin.error(e);
    }
View Full Code Here

      provider.setSelection(selection);
      sourceViewer.setTopIndex(topIndex);

      if (parent instanceof Composite) {
        Composite composite= (Composite) parent;
        composite.layout(true);
      }

      parent.setRedraw(true);

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.