org.eclipse.swt.widgets.Button.setToolTipText()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(19.6k)|赞(0)|评价(0)|浏览(188)

本文整理了Java中org.eclipse.swt.widgets.Button.setToolTipText()方法的一些代码示例,展示了Button.setToolTipText()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setToolTipText()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Button
类名称:Button
方法名:setToolTipText

Button.setToolTipText介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

private static Button newButton( final Composite parent ) {
 Button button = new Button( parent, SWT.PUSH );
 button.setImage( GUIResource.getInstance().getImageHelpWeb() );
 button.setText( BaseMessages.getString( PKG, "System.Button.Help" ) );
 button.setToolTipText( BaseMessages.getString( PKG, "System.Tooltip.Help" ) );
 FormData fdButton = new FormData();
 fdButton.left = new FormAttachment( 0, 0 );
 fdButton.bottom = new FormAttachment( 100, 0 );
 button.setLayoutData( fdButton );
 return button;
}

代码示例来源:origin: pentaho/pentaho-kettle

protected void optionsSectionControls() {
 wClearLog = new Button( gDetails, SWT.CHECK );
 wClearLog.setText( BaseMessages.getString( PKG, "TransExecutionConfigurationDialog.ClearLog.Label" ) );
 wClearLog.setToolTipText( BaseMessages.getString( PKG, "TransExecutionConfigurationDialog.ClearLog.Tooltip" ) );
 props.setLook( wClearLog );
 FormData fdClearLog = new FormData();
 fdClearLog.top = new FormAttachment( 0, 10 );
 fdClearLog.left = new FormAttachment( 0, 10 );
 wClearLog.setLayoutData( fdClearLog );
 wSafeMode = new Button( gDetails, SWT.CHECK );
 wSafeMode.setText( BaseMessages.getString( PKG, "TransExecutionConfigurationDialog.SafeMode.Label" ) );
 wSafeMode.setToolTipText( BaseMessages.getString( PKG, "TransExecutionConfigurationDialog.SafeMode.Tooltip" ) );
 props.setLook( wSafeMode );
 FormData fdSafeMode = new FormData();
 fdSafeMode.top = new FormAttachment( wClearLog, 7 );
 fdSafeMode.left = new FormAttachment( 0, 10 );
 wSafeMode.setLayoutData( fdSafeMode );
 wGatherMetrics = new Button( gDetails, SWT.CHECK );
 wGatherMetrics.setText( BaseMessages.getString( PKG, "TransExecutionConfigurationDialog.GatherMetrics.Label" ) );
 wGatherMetrics.setToolTipText( BaseMessages.getString( PKG,
   "TransExecutionConfigurationDialog.GatherMetrics.Tooltip" ) );
 props.setLook( wGatherMetrics );
 FormData fdGatherMetrics = new FormData();
 wGatherMetrics.setLayoutData( fdGatherMetrics );
 wlLogLevel.setLayoutData( fdlLogLevel );

代码示例来源:origin: pentaho/pentaho-kettle

/**
 * Setting the layout of a <i>Reset</i> option button. Either a button image is set - if existing - or a text.
 *
 * @param button
 *          The button
 */
private FormData layoutResetOptionButton( Button button ) {
 FormData fd = new FormData();
 Image editButton = GUIResource.getInstance().getResetOptionButton();
 if ( editButton != null ) {
  button.setImage( editButton );
  button.setBackground( GUIResource.getInstance().getColorWhite() );
  fd.width = editButton.getBounds().width + 20;
  fd.height = editButton.getBounds().height;
 } else {
  button.setText( BaseMessages.getString( PKG, "EnterOptionsDialog.Button.Reset" ) );
 }
 button.setToolTipText( BaseMessages.getString( PKG, "EnterOptionsDialog.Button.Reset.Tooltip" ) );
 return fd;
}

代码示例来源:origin: pentaho/pentaho-kettle

wSettingsGroup.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.SettingsGroup.Label" ) );
wlBatchSize = new Label( wSettingsGroup, SWT.RIGHT );
wlBatchSize.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.BatchSize.Label" ) );
props.setLook( wlBatchSize );
wlStopOnError = new Label( wSettingsGroup, SWT.RIGHT );
wlStopOnError.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.StopOnError.Label" ) );
wStopOnError = new Button( wSettingsGroup, SWT.CHECK | SWT.RIGHT );
wStopOnError.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.StopOnError.Tooltip" ) );
wStopOnError.addSelectionListener( new SelectionListener() {
getPreviousFields( wIdInField );
wlIsOverwrite = new Label( wSettingsGroup, SWT.RIGHT );
wlIsOverwrite.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.Overwrite.Label" ) );
wIsOverwrite = new Button( wSettingsGroup, SWT.CHECK | SWT.RIGHT );
wIsOverwrite.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.Overwrite.Tooltip" ) );
wIsOverwrite.addSelectionListener( new SelectionListener() {
wUseOutput = new Button( wSettingsGroup, SWT.CHECK | SWT.RIGHT );
wUseOutput.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.UseOutput.Tooltip" ) );
wIsJson.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.IsJson.Tooltip" ) );
placeControls( wSettingsGroup, settingsControls );

代码示例来源:origin: pentaho/pentaho-kettle

title = BaseMessages.getString( PKG, "PreviewRowsDialog.Title" );
 message = BaseMessages.getString( PKG, "PreviewRowsDialog.Header", stepname );
 message += " " + BaseMessages.getString( PKG, "PreviewRowsDialog.NrRows", "" + buffer.size() );
wClose = new Button( shell, SWT.PUSH );
wClose.setText( BaseMessages.getString( PKG, "System.Button.Close" ) );
wClose.addListener( SWT.Selection, new Listener() {
 @Override
 wStop = new Button( shell, SWT.PUSH );
 wStop.setText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Stop.Label" ) );
 wStop.setToolTipText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Stop.ToolTip" ) );
 wStop.addListener( SWT.Selection, new Listener() {
  @Override
 wNext = new Button( shell, SWT.PUSH );
 wNext.setText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Next.Label" ) );
 wNext.setToolTipText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Next.ToolTip" ) );
 wNext.addListener( SWT.Selection, new Listener() {
  @Override
 wClose.setText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Close.Label" ) );
 wClose.setToolTipText( BaseMessages.getString( PKG, "PreviewRowsDialog.Button.Close.ToolTip" ) );

代码示例来源:origin: pentaho/pentaho-kettle

button = new Button( table, SWT.PUSH );
props.setLook( button, Props.WIDGET_STYLE_TABLE );
String buttonText = columns[colnr - 1].getButtonText();
if ( buttonText != null ) {
 button.setText( buttonText );
 button.setToolTipText( tooltip );
} else {
 button.setToolTipText( "" );

代码示例来源:origin: pentaho/pentaho-kettle

alwaysShowOption = new Button( shell, SWT.CHECK );
props.setLook( alwaysShowOption );
alwaysShowOption.setSelection( abstractMeta.isAlwaysShowRunOptions() );
alwaysShowOption.setToolTipText( BaseMessages.getString( PKG, prefix + ".alwaysShowOption" ) );
FormData fd_alwaysShowOption = new FormData();
fd_alwaysShowOption.left = new FormAttachment( 0, 15 );
fd_alwaysShowOption.top = new FormAttachment( tabFolder, 15 );
alwaysShowOption.setLayoutData( fd_alwaysShowOption );
alwaysShowOption.setText( BaseMessages.getString( PKG, prefix + ".AlwaysOption.Value" ) );
wOK = new Button( shell, SWT.PUSH );
FormData fd_wOK = new FormData();
wOK.setLayoutData( fd_wOK );
wOK.setText( BaseMessages.getString( PKG, prefix + ".Button.Launch" ) );
wOK.addSelectionListener( new SelectionAdapter() {
 public void widgetSelected( SelectionEvent e ) {
btnHelp.setToolTipText( BaseMessages.getString( PKG, "System.Tooltip.Help" ) );
Label separator = new Label( shell, SWT.SEPARATOR | SWT.HORIZONTAL );
separator.setLayoutData( fd_separator );

代码示例来源:origin: pentaho/pentaho-kettle

protected Button createSettingsButton( Composite p, String text, String title, Control top, SelectionAdapter sa ) {
 Button button = new Button( p, SWT.CHECK );
 button.setText( BaseMessages.getString( PKG, text ) );
 button.setToolTipText( BaseMessages.getString( PKG, title ) );
 props.setLook( button );
 FormData fd = new FormData();
 fd.left = new FormAttachment( 0, Const.MARGIN * 2 );
 if ( top == null ) {
  fd.top = new FormAttachment( 0, 10 );
 } else {
  fd.top = new FormAttachment( top, 5 );
 }
 fd.right = new FormAttachment( 100, 0 );
 button.setLayoutData( fd );
 button.addSelectionListener( sa );
 return button;
}

代码示例来源:origin: pentaho/pentaho-kettle

/**
 * Setting the layout of an <i>Edit</i> option button. Either a button image is set - if existing - or a text.
 *
 * @param button
 *          The button
 */
private FormData layoutEditOptionButton( Button button ) {
 FormData fd = new FormData();
 Image editButton = GUIResource.getInstance().getEditOptionButton();
 if ( editButton != null ) {
  button.setImage( editButton );
  button.setBackground( GUIResource.getInstance().getColorWhite() );
  fd.width = editButton.getBounds().width + 20;
  fd.height = editButton.getBounds().height;
 } else {
  button.setText( BaseMessages.getString( PKG, "EnterOptionsDialog.Button.Edit" ) );
 }
 button.setToolTipText( BaseMessages.getString( PKG, "EnterOptionsDialog.Button.Edit.Tooltip" ) );
 return fd;
}

代码示例来源:origin: pentaho/pentaho-kettle

wLoggingGroup.setLayout( flLoggingGroup );
FormData fdLoggingGroup = new FormData();
fdLoggingGroup.left = new FormAttachment( 0, 0 );
fdLoggingGroup.top = new FormAttachment( widgetAbove, 15 );
fdLoggingGroup.right = new FormAttachment( 100, 0 );
wlMessage = new Label( wLoggingGroup, SWT.RIGHT );
wlMessage.setText( BaseMessages.getString( PKG, "AbortDialog.Logging.AbortMessage.Label" ) );
props.setLook( wlMessage );
fdlMessage = new FormData();
wlMessage.setLayoutData( fdlMessage );
props.setLook( wMessage );
wMessage.addModifyListener( lsMod );
wMessage.setToolTipText( BaseMessages.getString( PKG, "AbortDialog.Logging.AbortMessage.Tooltip" ) );
fdMessage = new FormData();
wMessage.setLayoutData( fdMessage );
wAlwaysLogRows = new Button( wLoggingGroup, SWT.CHECK );
wAlwaysLogRows.setText( BaseMessages.getString( PKG, "AbortDialog.Logging.AlwaysLogRows.Label" ) );
props.setLook( wAlwaysLogRows );
wAlwaysLogRows.setToolTipText( BaseMessages.getString( PKG, "AbortDialog.Logging.AlwaysLogRows.Tooltip" ) );
wAlwaysLogRows.setLayoutData( fdAlwaysLogRows );
wAlwaysLogRows.addSelectionListener( lsSelMod );

代码示例来源:origin: pentaho/pentaho-kettle

private void addServersTab() {
 wServersTab = new CTabItem( wTabFolder, SWT.NONE );
 wServersTab.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.ServersTab.TabTitle" ) );
 wTestCl = new Button( wServersComp, SWT.PUSH );
 wTestCl.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.TestCluster.Label" ) );
 wTestCl.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.TestCluster.Tooltip" ) );
     new TableView( transMeta, wServersComp, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI, columnsMeta, 1, lsMod,
         props );
 FormData fdServers = new FormData();
 fdServers.left = new FormAttachment( 0, Const.MARGIN );
 fdServers.top = new FormAttachment( 0, Const.MARGIN );
 fdServers.right = new FormAttachment( 100, -Const.MARGIN );
 fdServers.bottom = new FormAttachment( wTestCl, -Const.MARGIN );
 wServers.setLayoutData( fdServers );
 FormData fdServersComp = new FormData();
 fdServersComp.left = new FormAttachment( 0, 0 );
 fdServersComp.top = new FormAttachment( 0, 0 );

代码示例来源:origin: pentaho/pentaho-kettle

protected void optionsSectionControls() {
 wExpandRemote = new Button( gDetails, SWT.CHECK );
 wExpandRemote.setText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.ExpandRemote.Label" ) );
 wExpandRemote
  .setToolTipText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.ExpandRemote.Tooltip" ) );
 props.setLook( wExpandRemote );
 FormData fd_expandCheckButton = new FormData();
 fd_expandCheckButton.top = new FormAttachment( 0, 10 );
 fd_expandCheckButton.left = new FormAttachment( 0, 10 );
 wExpandRemote.setLayoutData( fd_expandCheckButton );
 addRunConfigurationListenerForExpandRemoteOption();
 wClearLog = new Button( gDetails, SWT.CHECK );
 wClearLog.setText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.ClearLog.Label" ) );
 wClearLog.setToolTipText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.ClearLog.Tooltip" ) );
 props.setLook( wClearLog );
 FormData fdClearLog = new FormData();
 fdClearLog.top = new FormAttachment( wExpandRemote, 10 );
 fdClearLog.left = new FormAttachment( 0, 10 );
 wClearLog.setLayoutData( fdClearLog );
 wSafeMode = new Button( gDetails, SWT.CHECK );
 wSafeMode.setText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.SafeMode.Label" ) );
 wSafeMode.setToolTipText( BaseMessages.getString( PKG, "JobExecutionConfigurationDialog.SafeMode.Tooltip" ) );
 props.setLook( wSafeMode );
 FormData fdSafeMode = new FormData();
 wGatherMetrics.setToolTipText( BaseMessages

代码示例来源:origin: pentaho/pentaho-kettle

private void addFieldsTab() {
 wFieldsTab.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.FieldsTab.TabTitle" ) );
 props.setLook( wFieldsComp );
 wGet = new Button( wFieldsComp, SWT.PUSH );
 wGet.setText( BaseMessages.getString( PKG, "System.Button.GetFields" ) );
 wGet.setToolTipText( BaseMessages.getString( PKG, "System.Tooltip.GetFields" ) );
         lsMod, props );
 FormData fdFields = new FormData();
 fdFields.left = new FormAttachment( 0, Const.MARGIN );
 fdFields.top = new FormAttachment( 0, Const.MARGIN );
 fdFields.right = new FormAttachment( 100, -Const.MARGIN );
 fdFields.bottom = new FormAttachment( wGet, -Const.MARGIN );
 wFields.setLayoutData( fdFields );
 FormData fdFieldsComp = new FormData();
 fdFieldsComp.left = new FormAttachment( 0, 0 );
 fdFieldsComp.top = new FormAttachment( 0, 0 );

代码示例来源:origin: pentaho/pentaho-kettle

wSettingsTab.setText( BaseMessages.getString( PKG, "JobDialog.SettingsTab.Label" ) );
wSettingsComp.setLayout( LogLayout );
wlBatchTrans = new Label( wSettingsComp, SWT.RIGHT );
wlBatchTrans.setText( BaseMessages.getString( PKG, "JobDialog.PassBatchID.Label" ) );
props.setLook( wlBatchTrans );
fdlBatchTrans = new FormData();
fdlBatchTrans.left = new FormAttachment( 0, 0 );
fdlBatchTrans.top = new FormAttachment( 0, margin );
fdlBatchTrans.right = new FormAttachment( middle, -margin );
wlBatchTrans.setLayoutData( fdlBatchTrans );
wBatchTrans = new Button( wSettingsComp, SWT.CHECK );
props.setLook( wBatchTrans );
wBatchTrans.setToolTipText( BaseMessages.getString( PKG, "JobDialog.PassBatchID.Tooltip" ) );
fdBatchTrans = new FormData();
fdBatchTrans.left = new FormAttachment( middle, 0 );
fdBatchTrans.top = new FormAttachment( 0, margin );
fdBatchTrans.right = new FormAttachment( 100, 0 );
wBatchTrans.setLayoutData( fdBatchTrans );

代码示例来源:origin: pentaho/pentaho-kettle

private void fillIndexGroup( Composite parentTab ) {
 wIndexGroup = new Group( parentTab, SWT.SHADOW_NONE );
 props.setLook( wIndexGroup );
 wIndexGroup.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.IndexGroup.Label" ) );
 wIndex = new LabelTextVar( transMeta, wIndexGroup, BaseMessages.getString( PKG, "ElasticSearchBulkDialog.Index"
     + ".Label" ), BaseMessages.getString( PKG, "ElasticSearchBulkDialog.Index.Tooltip" ) );
 wIndex.addModifyListener( lsMod );
 wTest = new Button( wIndexGroup, SWT.PUSH );
 wTest.setText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.TestIndex.Label" ) );
 wTest.setToolTipText( BaseMessages.getString( PKG, "ElasticSearchBulkDialog.TestIndex.Tooltip" ) );
 fdIndexGroup = new FormData();
 fdIndexGroup.left = new FormAttachment( 0, Const.MARGIN );
 fdIndexGroup.top = new FormAttachment( wStepname, Const.MARGIN );
 fdIndexGroup.right = new FormAttachment( 100, -Const.MARGIN );
 wIndexGroup.setLayoutData( fdIndexGroup );

代码示例来源:origin: pentaho/pentaho-kettle

props.setLook( shell );
shell.setImage( GUIResource.getInstance().getImageLogoSmall() );
shell.setText( BaseMessages.getString( PKG, "EnterSearchDialog.Shell.Title" ) );
wStep = new Button( shell, SWT.CHECK );
props.setLook( wStep );
wStep.setToolTipText( BaseMessages.getString( PKG, "EnterSearchDialog.Step.Tooltip" ) );
FormData fdStep = new FormData();
wStep.setLayoutData( fdStep );
wlDB.setLayoutData( fdlDB );
wDB = new Button( shell, SWT.CHECK );
props.setLook( wDB );
wDB.setToolTipText( BaseMessages.getString( PKG, "EnterSearchDialog.DB.Tooltip" ) );
wDB.setLayoutData( fdDB );
wlNote = new Label( shell, SWT.RIGHT );
wlNote.setText( BaseMessages.getString( PKG, "EnterSearchDialog.Note.Label" ) );
wlNote.setLayoutData( fdlNote );
wNote = new Button( shell, SWT.CHECK );
props.setLook( wNote );
wNote.setToolTipText( BaseMessages.getString( PKG, "EnterSearchDialog.Note.Tooltip" ) );
wNote.setLayoutData( fdNote );

代码示例来源:origin: pentaho/pentaho-kettle

wFieldsTab.setText( BaseMessages.getString( PKG, "TextFileInputDialog.FieldsTab.TabTitle" ) );
props.setLook( wFieldsComp );
wGet = new Button( wFieldsComp, SWT.PUSH );
wGet.setText( BaseMessages.getString( PKG, "System.Button.GetFields" ) );
fdGet = new FormData();
fdGet.left = new FormAttachment( 50, 0 );
fdGet.bottom = new FormAttachment( 100, 0 );
wGet.setLayoutData( fdGet );
wMinWidth = new Button( wFieldsComp, SWT.PUSH );
wMinWidth.setText( BaseMessages.getString( PKG, "TextFileInputDialog.MinWidth.Button" ) );
wMinWidth.setToolTipText( BaseMessages.getString( PKG, "TextFileInputDialog.MinWidth.Tooltip" ) );
wMinWidth.addSelectionListener( new SelectionAdapter() {
 public void widgetSelected( SelectionEvent e ) {
fdFields = new FormData();
fdFields.left = new FormAttachment( 0, 0 );
fdFields.top = new FormAttachment( 0, 0 );
fdFields.right = new FormAttachment( 100, 0 );
wFields.setLayoutData( fdFields );
fdFieldsComp = new FormData();
fdFieldsComp.left = new FormAttachment( 0, 0 );
fdFieldsComp.top = new FormAttachment( 0, 0 );

代码示例来源:origin: pentaho/pentaho-kettle

composite.setLayout( formLayout );
wReload = new Button( composite, SWT.NONE );
wReload.setText( BaseMessages.getString( PKG, "i18nDialog.Reload" ) );
wSave = new Button( composite, SWT.NONE );
wSave.setText( BaseMessages.getString( PKG, "i18nDialog.Save" ) );
wZip = new Button( composite, SWT.NONE );
wZip.setText( BaseMessages.getString( PKG, "i18nDialog.Zip" ) );
wZip.setToolTipText( BaseMessages.getString( PKG, "i18nDialog.Zip.Tip" ) );
wlTodo.setLayoutData( fdlTodo );
FormData fdTodo = new FormData();
Label wlKey = new Label( composite, SWT.RIGHT );
wlKey.setText( BaseMessages.getString( PKG, "i18nDialog.TranslationKey" ) );
wlKey.setLayoutData( fdlKey );
Label wlMain = new Label( composite, SWT.RIGHT );
wlMain.setText( BaseMessages.getString( PKG, "i18nDialog.MainTranslation" ) );
wlMain.setLayoutData( fdlMain );
wSearch.setLayoutData( fdSearch );
wNext.setLayoutData( fdNext );

代码示例来源:origin: pentaho/pentaho-kettle

wFieldsTab.setText( BaseMessages.getString( PKG, "TextFileInputDialog.FieldsTab.TabTitle" ) );
props.setLook( wFieldsComp );
wGet = new Button( wFieldsComp, SWT.PUSH );
wGet.setText( BaseMessages.getString( PKG, "System.Button.GetFields" ) );
fdGet = new FormData();
fdGet.left = new FormAttachment( 50, 0 );
fdGet.bottom = new FormAttachment( 100, 0 );
wGet.setLayoutData( fdGet );
wMinWidth = new Button( wFieldsComp, SWT.PUSH );
wMinWidth.setText( BaseMessages.getString( PKG, "TextFileInputDialog.MinWidth.Button" ) );
wMinWidth.setToolTipText( BaseMessages.getString( PKG, "TextFileInputDialog.MinWidth.Tooltip" ) );
wMinWidth.addSelectionListener( new SelectionAdapter() {
 public void widgetSelected( SelectionEvent e ) {
fdFields = new FormData();
fdFields.left = new FormAttachment( 0, 0 );
fdFields.top = new FormAttachment( 0, 0 );
fdFields.right = new FormAttachment( 100, 0 );
wFields.setLayoutData( fdFields );
fdFieldsComp = new FormData();
fdFieldsComp.left = new FormAttachment( 0, 0 );
fdFieldsComp.top = new FormAttachment( 0, 0 );

代码示例来源:origin: pentaho/pentaho-kettle

wlStrictTypes = new Label( wErrorComp, SWT.RIGHT );
wlStrictTypes.setText( BaseMessages.getString( PKG, "ExcelInputDialog.StrictTypes.Label" ) );
props.setLook( wlStrictTypes );
fdlStrictTypes = new FormData();
fdlStrictTypes.left = new FormAttachment( 0, 0 );
fdlStrictTypes.top = new FormAttachment( 0, margin );
fdlStrictTypes.right = new FormAttachment( middle, -margin );
wlStrictTypes.setLayoutData( fdlStrictTypes );
wStrictTypes = new Button( wErrorComp, SWT.CHECK );
props.setLook( wStrictTypes );
wStrictTypes.setToolTipText( BaseMessages.getString( PKG, "ExcelInputDialog.StrictTypes.Tooltip" ) );
fdStrictTypes = new FormData();
wlErrorIgnored.setLayoutData( fdlErrorIgnored );
wErrorIgnored = new Button( wErrorComp, SWT.CHECK );
props.setLook( wErrorIgnored );
wErrorIgnored.setToolTipText( BaseMessages.getString( PKG, "ExcelInputDialog.ErrorIgnored.Tooltip" ) );
wlSkipErrorLines.setLayoutData( fdlSkipErrorLines );
wSkipErrorLines = new Button( wErrorComp, SWT.CHECK );
props.setLook( wSkipErrorLines );
wSkipErrorLines.setToolTipText( BaseMessages.getString( PKG, "ExcelInputDialog.SkipErrorLines.Tooltip" ) );
wbbWarningDestDir.setText( BaseMessages.getString( PKG, "System.Button.Browse" ) );
wbbWarningDestDir.setToolTipText( BaseMessages.getString( PKG, "System.Tooltip.BrowseForDir" ) );
wbvWarningDestDir.setText( BaseMessages.getString( PKG, "System.Button.Variable" ) );
wbvWarningDestDir.setToolTipText( BaseMessages.getString( PKG, "System.Tooltip.VariableToDir" ) );

相关文章

Button类方法