congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Composite.layout
Code IndexAdd Tabnine to your IDE (free)

How to use
layout
method
in
org.eclipse.swt.widgets.Composite

Best Java code snippets using org.eclipse.swt.widgets.Composite.layout (Showing top 20 results out of 1,044)

Refine searchRefine arrow

  • Composite.setLayoutData
  • Composite.setLayout
  • Composite.<init>
  • FormData.<init>
  • FormAttachment.<init>
  • FormLayout.<init>
  • BaseMessages.getString
origin: pentaho/pentaho-kettle

private void buildProperiesTab() {
 CTabItem wPropertiesTab = new CTabItem( wTabFolder, SWT.NONE );
 wPropertiesTab.setText( BaseMessages.getString( PKG, "JmsProducerDialog.Properties.Tab" ) );
 Composite wPropertiesComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wPropertiesComp );
 FormLayout fieldsLayout = new FormLayout();
 fieldsLayout.marginHeight = 15;
 fieldsLayout.marginWidth = 15;
 wPropertiesComp.setLayout( fieldsLayout );
 FormData propertiesFormData = new FormData();
 propertiesFormData.left = new FormAttachment( 0, 0 );
 propertiesFormData.top = new FormAttachment( wPropertiesComp, 0 );
 propertiesFormData.right = new FormAttachment( 100, 0 );
 propertiesFormData.bottom = new FormAttachment( 100, 0 );
 wPropertiesComp.setLayoutData( propertiesFormData );
 buildPropertiesTable( wPropertiesComp );
 wPropertiesComp.layout();
 wPropertiesTab.setControl( wPropertiesComp );
}
origin: pentaho/pentaho-kettle

label.setText( BaseMessages.getString( PKG, "TransLog.Dialog.PerformanceMonitoringNotEnabled.Message" ) );
label.setBackground( perfComposite.getBackground() );
label.setFont( GUIResource.getInstance().getFontMedium() );
FormData fdLabel = new FormData();
fdLabel.left = new FormAttachment( 5, 0 );
fdLabel.right = new FormAttachment( 95, 0 );
fdLabel.top = new FormAttachment( 5, 0 );
label.setLayoutData( fdLabel );
button.setText( BaseMessages.getString( PKG, "TransLog.Dialog.PerformanceMonitoring.Button" ) );
button.setBackground( perfComposite.getBackground() );
button.setFont( GUIResource.getInstance().getFontMedium() );
FormData fdButton = new FormData();
fdButton.left = new FormAttachment( 40, 0 );
fdButton.right = new FormAttachment( 60, 0 );
button.setLayoutData( fdButton );
perfComposite.layout( true, true );
origin: pentaho/pentaho-kettle

 /**
  * maximizeBrowser
  * 
  * @param browser
  *          the browser object to maximize. We try to take up as much of the Spoon window as possible.
  */
 private static void maximizeExpandedContent( Browser browser ) {
  SashForm sash = (SashForm) spoonInstance().getDesignParent();
  int[] weights = sash.getWeights();
  int[] savedSashWeights = new int[weights.length];
  System.arraycopy( weights, 0, savedSashWeights, 0, weights.length );
  spoonInstance().getTabSet().getSelected().setSashWeights( savedSashWeights );
  weights[0] = 0;
  weights[1] = 1000;
  sash.setWeights( weights );
  FormData formData = new FormData();
  formData.top = new FormAttachment( 0, 0 );
  formData.left = new FormAttachment( 0, 0 );
  formData.bottom = new FormAttachment( 100, 0 );
  formData.right = new FormAttachment( 100, 0 );
  browser.setLayoutData( formData );
  browser.getParent().layout( true );
  browser.getParent().redraw();
 }
}
origin: pentaho/pentaho-kettle

private void buildFieldsTab() {
 CTabItem wFieldsTab = new CTabItem( wTabFolder, SWT.NONE, 3 );
 wFieldsTab.setText( BaseMessages.getString( PKG, "MQTTConsumerDialog.FieldsTab" ) );
 Composite wFieldsComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wFieldsComp );
 FormLayout fieldsLayout = new FormLayout();
 fieldsLayout.marginHeight = 15;
 fieldsLayout.marginWidth = 15;
 wFieldsComp.setLayout( fieldsLayout );
 FormData fieldsFormData = new FormData();
 fieldsFormData.left = new FormAttachment( 0, 0 );
 fieldsFormData.top = new FormAttachment( wFieldsComp, 0 );
 fieldsFormData.right = new FormAttachment( 100, 0 );
 fieldsFormData.bottom = new FormAttachment( 100, 0 );
 wFieldsComp.setLayoutData( fieldsFormData );
 buildFieldTable( wFieldsComp, wFieldsComp );
 wFieldsComp.layout();
 wFieldsTab.setControl( wFieldsComp );
}
origin: pentaho/pentaho-kettle

 control.dispose();
wComposite.layout( true, true );
 new LabelText( wComposite, BaseMessages.getString( PKG, "TransDebugDialog.RowCount.Label" ), BaseMessages
  .getString( PKG, "TransDebugDialog.RowCount.ToolTip" ) );
FormData fdRowCount = new FormData();
fdRowCount.left = new FormAttachment( 0, 0 );
fdRowCount.right = new FormAttachment( 100, 0 );
fdRowCount.top = new FormAttachment( 0, 0 );
wRowCount.setLayoutData( fdRowCount );
wRowCount.addSelectionListener( new SelectionAdapter() {
wFirstRows.setText( BaseMessages.getString( PKG, "TransDebugDialog.FirstRows.Label" ) );
wFirstRows.setToolTipText( BaseMessages.getString( PKG, "TransDebugDialog.FirstRows.ToolTip" ) );
FormData fdFirstRows = new FormData();
fdFirstRows.left = new FormAttachment( middle, 0 );
fdFirstRows.right = new FormAttachment( 100, 0 );
wPauseBreakPoint.setText( BaseMessages.getString( PKG, "TransDebugDialog.PauseBreakPoint.Label" ) );
wPauseBreakPoint.setToolTipText( BaseMessages.getString( PKG, "TransDebugDialog.PauseBreakPoint.ToolTip" ) );
FormData fdPauseBreakPoint = new FormData();
fdPauseBreakPoint.left = new FormAttachment( middle, 0 );
fdPauseBreakPoint.right = new FormAttachment( 100, 0 );
wComposite.layout( true, true );
origin: pentaho/pentaho-kettle

private void buildSetupTab() {
 wSetupTab = new CTabItem( wTabFolder, SWT.NONE );
 wSetupTab.setText( BaseMessages.getString( PKG, "BaseStreamingDialog.SetupTab" ) );
 wSetupComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wSetupComp );
 FormLayout setupLayout = new FormLayout();
 setupLayout.marginHeight = 15;
 setupLayout.marginWidth = 15;
 wSetupComp.setLayout( setupLayout );
 buildSetup( wSetupComp );
 FormData fdSetupComp = new FormData();
 fdSetupComp.left = new FormAttachment( 0, 0 );
 fdSetupComp.top = new FormAttachment( 0, 0 );
 fdSetupComp.right = new FormAttachment( 100, 0 );
 fdSetupComp.bottom = new FormAttachment( 100, 0 );
 wSetupComp.setLayoutData( fdSetupComp );
 wSetupComp.layout();
 wSetupTab.setControl( wSetupComp );
}
origin: pentaho/pentaho-kettle

wlLogTimeout.setText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Label" ) );
wlLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wlLogTimeout );
FormData fdlLogTimeout = new FormData();
fdlLogTimeout.left = new FormAttachment( 0, 0 );
fdlLogTimeout.right = new FormAttachment( middle, -margin );
fdlLogTimeout.top = new FormAttachment( wLogTable, margin );
wlLogTimeout.setLayoutData( fdlLogTimeout );
wLogTimeout = new TextVar( transMeta, wLogOptionsComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER );
wLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wLogTimeout );
wLogTimeout.addModifyListener( lsMod );
FormData fdLogTimeout = new FormData();
fdLogTimeout.left = new FormAttachment( middle, 0 );
fdLogTimeout.top = new FormAttachment( wLogTable, margin );
wlFields.setText( BaseMessages.getString( PKG, "TransDialog.TransLogTable.Fields.Label" ) );
props.setLook( wlFields );
FormData fdlFields = new FormData();
fdlFields.left = new FormAttachment( 0, 0 );
fdlFields.top = new FormAttachment( wLogTimeout, margin * 2 );
wLogOptionsComposite.layout( true, true );
wLogComp.layout( true, true );
origin: pentaho/pentaho-kettle

public void buildFieldsTab() {
 checkArgument( wTabFolder.getItemCount() > 0 );
 CTabItem wFieldsTab = new CTabItem( wTabFolder, SWT.NONE, wTabFolder.getItemCount() - 1 );
 wFieldsTab.setText( BaseMessages.getString( PKG, "JmsConsumerDialog.FieldsTab" ) );
 Composite wFieldsComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wFieldsComp );
 FormLayout fieldsLayout = new FormLayout();
 fieldsLayout.marginHeight = 15;
 fieldsLayout.marginWidth = 15;
 wFieldsComp.setLayout( fieldsLayout );
 FormData fieldsFormData = new FormData();
 fieldsFormData.left = new FormAttachment( 0, 0 );
 fieldsFormData.top = new FormAttachment( wFieldsComp, 0 );
 fieldsFormData.right = new FormAttachment( 100, 0 );
 fieldsFormData.bottom = new FormAttachment( 100, 0 );
 wFieldsComp.setLayoutData( fieldsFormData );
 buildFieldTable( wFieldsComp, wFieldsComp );
 wFieldsComp.layout();
 wFieldsTab.setControl( wFieldsComp );
}
origin: pentaho/pentaho-kettle

wlLogTimeout.setText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Label" ) );
wlLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wlLogTimeout );
FormData fdlLogTimeout = new FormData();
fdlLogTimeout.left = new FormAttachment( 0, 0 );
fdlLogTimeout.right = new FormAttachment( middle, -margin );
fdlLogTimeout.top = new FormAttachment( wLogTable, margin );
wlLogTimeout.setLayoutData( fdlLogTimeout );
wLogTimeout = new TextVar( transMeta, wLogOptionsComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER );
wLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wLogTimeout );
wLogTimeout.addModifyListener( lsMod );
FormData fdLogTimeout = new FormData();
fdLogTimeout.left = new FormAttachment( middle, 0 );
fdLogTimeout.top = new FormAttachment( wLogTable, margin );
wlFields.setText( BaseMessages.getString( PKG, "TransDialog.TransLogTable.Fields.Label" ) );
props.setLook( wlFields );
FormData fdlFields = new FormData();
fdlFields.left = new FormAttachment( 0, 0 );
fdlFields.top = new FormAttachment( wLogTimeout, margin * 2 );
wLogOptionsComposite.layout( true, true );
wLogComp.layout( true, true );
origin: pentaho/pentaho-kettle

/**
 */
private void addGeneralTab() {
 wGeneralTab = new CTabItem( wTabFolder, SWT.NONE );
 wGeneralTab.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.General.Tab" ) );
 wGeneralComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wGeneralComp );
 FormLayout generalLayout = new FormLayout();
 generalLayout.marginWidth = 3;
 generalLayout.marginHeight = 3;
 wGeneralComp.setLayout( generalLayout );
 // Index GROUP
 fillIndexGroup( wGeneralComp );
 // Options GROUP
 fillOptionsGroup( wGeneralComp );
 fdGeneralComp = new FormData();
 fdGeneralComp.left = new FormAttachment( 0, 0 );
 fdGeneralComp.top = new FormAttachment( wStepname, Const.MARGIN );
 fdGeneralComp.right = new FormAttachment( 100, 0 );
 fdGeneralComp.bottom = new FormAttachment( 100, 0 );
 wGeneralComp.setLayoutData( fdGeneralComp );
 wGeneralComp.layout();
 wGeneralTab.setControl( wGeneralComp );
}
origin: pentaho/pentaho-kettle

wlLogTimeout.setText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Label" ) );
wlLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wlLogTimeout );
FormData fdlLogTimeout = new FormData();
fdlLogTimeout.left = new FormAttachment( 0, 0 );
fdlLogTimeout.right = new FormAttachment( middle, -margin );
fdlLogTimeout.top = new FormAttachment( wLogTable, margin );
wlLogTimeout.setLayoutData( fdlLogTimeout );
wLogTimeout = new TextVar( transMeta, wLogOptionsComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER );
wLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wLogTimeout );
wLogTimeout.addModifyListener( lsMod );
FormData fdLogTimeout = new FormData();
fdLogTimeout.left = new FormAttachment( middle, 0 );
fdLogTimeout.top = new FormAttachment( wLogTable, margin );
wlFields.setText( BaseMessages.getString( PKG, "TransDialog.TransLogTable.Fields.Label" ) );
props.setLook( wlFields );
FormData fdlFields = new FormData();
fdlFields.left = new FormAttachment( 0, 0 );
fdlFields.top = new FormAttachment( wLogTimeout, margin * 2 );
wLogOptionsComposite.layout( true, true );
wLogComp.layout( true, true );
origin: pentaho/pentaho-kettle

private void buildResultsTab() {
 wResultsTab = new CTabItem( wTabFolder, SWT.NONE );
 wResultsTab.setText( BaseMessages.getString( PKG, "BaseStreamingDialog.ResultsTab" ) );
 wResultsComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wResultsComp );
 FormLayout resultsLayout = new FormLayout();
 resultsLayout.marginHeight = 15;
 resultsLayout.marginWidth = 15;
 wResultsComp.setLayout( resultsLayout );
 FormData fdlSubTrans = new FormData();
 fdlSubTrans.left = new FormAttachment( 0, 0 );
 fdlSubTrans.top = new FormAttachment( 0, 0 );
 wlSubStep.setLayoutData( fdlSubTrans );
 wlSubStep.setText( BaseMessages.getString( PKG, "BaseStreaming.Dialog.Transformation.SubTransStep" ) );
 FormData fdSubStep = new FormData();
 fdSubStep.left = new FormAttachment( 0, 0 );
 fdSubStep.top = new FormAttachment( wlSubStep, 5 );
 wResultsComp.layout();
 wResultsTab.setControl( wResultsComp );
origin: pentaho/pentaho-kettle

wlLogInterval.setText( BaseMessages.getString( PKG, "TransDialog.LogInterval.Label" ) );
props.setLook( wlLogInterval );
FormData fdlLogInterval = new FormData();
fdlLogInterval.left = new FormAttachment( 0, 0 );
fdlLogInterval.right = new FormAttachment( middle, -margin );
fdlLogInterval.top = new FormAttachment( wLogTable, margin );
wlLogInterval.setLayoutData( fdlLogInterval );
wLogInterval = new TextVar( transMeta, wLogOptionsComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER );
props.setLook( wLogInterval );
wLogInterval.addModifyListener( lsMod );
FormData fdLogInterval = new FormData();
fdLogInterval.left = new FormAttachment( middle, 0 );
fdLogInterval.top = new FormAttachment( wLogTable, margin );
wlLogTimeout.setText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Label" ) );
wlLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wlLogTimeout );
FormData fdlLogTimeout = new FormData();
fdlLogTimeout.left = new FormAttachment( 0, 0 );
fdlLogTimeout.right = new FormAttachment( middle, -margin );
wLogOptionsComposite.layout( true, true );
wLogComp.layout( true, true );
origin: pentaho/pentaho-kettle

private void addSettingsTab() {
 wSettingsTab = new CTabItem( wTabFolder, SWT.NONE );
 wSettingsTab.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.SettingsTab.TabTitle" ) );
 FormLayout serversLayout = new FormLayout();
 serversLayout.marginWidth = Const.FORM_MARGIN;
 serversLayout.marginHeight = Const.FORM_MARGIN;
 Composite wSettingsComp = new Composite( wTabFolder, SWT.NONE );
 wSettingsComp.setLayout( serversLayout );
 props.setLook( wSettingsComp );
     new ColumnInfo( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.SettingsTab.Property.Column" ),
         ColumnInfo.COLUMN_TYPE_TEXT, false );
 columnsMeta[1] =
     new ColumnInfo( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.SettingsTab.Value.Column" ),
         ColumnInfo.COLUMN_TYPE_TEXT, false );
 columnsMeta[1].setUsingVariables( true );
 FormData fdServersComp = new FormData();
 wSettingsComp.setLayoutData( fdServersComp );
 wSettingsComp.layout();
 wSettingsTab.setControl( wSettingsComp );
origin: pentaho/pentaho-kettle

wlLogInterval.setText( BaseMessages.getString( PKG, "TransDialog.LogInterval.Label" ) );
props.setLook( wlLogInterval );
FormData fdlLogInterval = new FormData();
fdlLogInterval.left = new FormAttachment( 0, 0 );
fdlLogInterval.right = new FormAttachment( middle, -margin );
fdlLogInterval.top = new FormAttachment( wLogTable, margin );
wlLogInterval.setLayoutData( fdlLogInterval );
wLogInterval = new TextVar( transMeta, wLogOptionsComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER );
props.setLook( wLogInterval );
wLogInterval.addModifyListener( lsMod );
FormData fdLogInterval = new FormData();
fdLogInterval.left = new FormAttachment( middle, 0 );
fdLogInterval.top = new FormAttachment( wLogTable, margin );
wlLogTimeout.setText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Label" ) );
wlLogTimeout.setToolTipText( BaseMessages.getString( PKG, "TransDialog.LogTimeout.Tooltip" ) );
props.setLook( wlLogTimeout );
FormData fdlLogTimeout = new FormData();
fdlLogTimeout.left = new FormAttachment( 0, 0 );
fdlLogTimeout.right = new FormAttachment( middle, -margin );
wLogOptionsComposite.layout( true, true );
wLogComp.layout( true, true );
origin: pentaho/pentaho-kettle

void buildSecurityTab() {
 CTabItem wSecurityTab = new CTabItem( wTabFolder, SWT.NONE, 1 );
 wSecurityTab.setText( BaseMessages.getString( PKG, "MQTTDialog.Security.Tab" ) );
 Composite wSecurityComp = new Composite( wTabFolder, SWT.NONE );
 props.setLook( wSecurityComp );
 FormLayout securityLayout = new FormLayout();
 securityLayout.marginHeight = 15;
 securityLayout.marginWidth = 15;
 wSecurityComp.setLayout( securityLayout );
  getString( PKG, "MQTTDialog.Security.Authentication" ), getString( PKG, "MQTTDialog.Security.Username" ),
 FormData fdUseSSL = new FormData();
 fdUseSSL.top = new FormAttachment( authComposite, 15 );
 fdUseSSL.left = new FormAttachment( 0, 0 );
 wUseSSL.setLayoutData( fdUseSSL );
 wUseSSL.addSelectionListener( new SelectionListener() {
 FormData fdlSSLProperties = new FormData();
 fdlSSLProperties.top = new FormAttachment( wUseSSL, 10 );
 FormData fdSecurityComp = new FormData();
 wSecurityComp.setLayoutData( fdSecurityComp );
 wSecurityComp.layout();
 wSecurityTab.setControl( wSecurityComp );
origin: pentaho/pentaho-kettle

wDepTab.setText( BaseMessages.getString( PKG, "TransDialog.DepTab.Label" ) );
FormLayout DepLayout = new FormLayout();
DepLayout.marginWidth = Const.MARGIN;
DepLayout.marginHeight = Const.MARGIN;
Composite wDepComp = new Composite( wTabFolder, SWT.NONE );
props.setLook( wDepComp );
wDepComp.setLayout( DepLayout );
colinf[0] =
 new ColumnInfo(
  BaseMessages.getString( PKG, "TransDialog.ColumnInfo.Connection.Label" ),
  ColumnInfo.COLUMN_TYPE_CCOMBO, connectionNames );
colinf[1] =
fdGet = new FormData();
fdGet.bottom = new FormAttachment( 100, 0 );
FormData fdFields = new FormData();
wDepComp.setLayoutData( fdDepComp );
wDepComp.layout();
wDepTab.setControl( wDepComp );
origin: pentaho/pentaho-kettle

wSettingsTab.setText( BaseMessages.getString( PKG, "JobDialog.SettingsTab.Label" ) );
FormLayout LogLayout = new FormLayout();
LogLayout.marginWidth = Const.MARGIN;
LogLayout.marginHeight = Const.MARGIN;
Composite wSettingsComp = new Composite( wTabFolder, SWT.NONE );
props.setLook( wSettingsComp );
wSettingsComp.setLayout( LogLayout );
wlSharedObjectsFile.setText( BaseMessages.getString( PKG, "JobDialog.SharedObjectsFile.Label" ) );
props.setLook( wlSharedObjectsFile );
FormData fdlSharedObjectsFile = new FormData();
fdlSharedObjectsFile.left = new FormAttachment( 0, 0 );
fdlSharedObjectsFile.right = new FormAttachment( middle, -margin );
fdLogComp.right = new FormAttachment( 100, 0 );
fdLogComp.bottom = new FormAttachment( 100, 0 );
wSettingsComp.setLayoutData( fdLogComp );
wSettingsComp.layout();
wSettingsTab.setControl( wSettingsComp );
origin: pentaho/pentaho-kettle

wParamTab.setText( BaseMessages.getString( PKG, "JobDialog.ParamTab.Label" ) );
FormLayout paramLayout = new FormLayout();
paramLayout.marginWidth = Const.MARGIN;
paramLayout.marginHeight = Const.MARGIN;
Composite wParamComp = new Composite( wTabFolder, SWT.NONE );
props.setLook( wParamComp );
wParamComp.setLayout( paramLayout );
  jobMeta, wParamComp, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI, colinf, FieldsRows, lsMod, props );
FormData fdFields = new FormData();
fdFields.left = new FormAttachment( 0, 0 );
wParamFields.setLayoutData( fdFields );
FormData fdDepComp = new FormData();
wParamComp.setLayoutData( fdDepComp );
wParamComp.layout();
wParamTab.setControl( wParamComp );
origin: pentaho/pentaho-kettle

wFilterTab.setText( BaseMessages.getString( PKG, "TextFileInputDialog.FilterTab.TabTitle" ) );
FormLayout FilterLayout = new FormLayout();
FilterLayout.marginWidth = Const.FORM_MARGIN;
FilterLayout.marginHeight = Const.FORM_MARGIN;
wFilterComp = new Composite( wTabFolder, SWT.NONE );
wFilterComp.setLayout( FilterLayout );
props.setLook( wFilterComp );
  new ColumnInfo[] { new ColumnInfo( BaseMessages.getString( PKG,
    "TextFileInputDialog.FilterStringColumn.Column" ), ColumnInfo.COLUMN_TYPE_TEXT, false ), new ColumnInfo(
      BaseMessages.getString( PKG, "TextFileInputDialog.FilterPositionColumn.Column" ),
      ColumnInfo.COLUMN_TYPE_TEXT, false ), new ColumnInfo( BaseMessages.getString( PKG,
        "TextFileInputDialog.StopOnFilterColumn.Column" ), ColumnInfo.COLUMN_TYPE_CCOMBO, YES_NO_COMBO ),
fdFilter = new FormData();
fdFilter.left = new FormAttachment( 0, 0 );
fdFilter.top = new FormAttachment( 0, 0 );
fdFilter.right = new FormAttachment( 100, 0 );
fdFilter.bottom = new FormAttachment( 100, 0 );
wFilter.setLayoutData( fdFilter );
wFilterComp.layout();
wFilterTab.setControl( wFilterComp );
org.eclipse.swt.widgetsCompositelayout

Javadoc

If the receiver has a layout, asks the layout to lay out (that is, set the size and location of) the receiver's children. If the receiver does not have a layout, do nothing.

Use of this method is discouraged since it is the least-efficient way to trigger a layout. The use of layout(true) discards all cached layout information, even from controls which have not changed. It is much more efficient to invoke Control#requestLayout() on every control which has changed in the layout than it is to invoke this method on the layout itself.

This is equivalent to calling layout(true).

Note: Layout is different from painting. If a child is moved or resized such that an area in the parent is exposed, then the parent will paint. If no child is affected, the parent will not paint.

Popular methods of Composite

  • setLayout
    Sets the layout which is associated with the receiver to be the argument which may be null.
  • <init>
    Constructs a new instance of this class given its parent and a style value describing its behavior a
  • setLayoutData
  • getDisplay
  • getChildren
    Returns a (possibly empty) array containing the receiver's children. Children are returned in the or
  • getShell
  • getFont
  • getLayout
    Returns layout which is associated with the receiver, or null if one has not been set.
  • setFont
  • getParent
  • computeSize
  • dispose
  • computeSize,
  • dispose,
  • setBackground,
  • getClientArea,
  • isDisposed,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now