Java Code Examples for org.eclipse.swt.widgets.TabItem#setImage()
The following examples show how to use
org.eclipse.swt.widgets.TabItem#setImage() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AggregationDialog.java From birt with Eclipse Public License 1.0 | 6 votes |
private TabFolder createTabFolder( Composite parent ) { tabFolder = new TabFolder( parent, SWT.NONE ); // Should not set layout for TabFolder. // GridData gd = new GridData( GridData.FILL_BOTH ); // tabFolder.setLayoutData( gd ); // GridLayout layout = new GridLayout( ); // tabFolder.setLayout( layout ); rowArea = new TabItem( tabFolder, SWT.NONE ); rowArea.setText( Messages.getString( "AggregationDialog.TabItem.Title.RowArea" ) ); //$NON-NLS-1$ rowArea.setImage( CrosstabUIHelper.getImage( CrosstabUIHelper.ROWS_AREA_IMAGE ) ); columnArea = new TabItem( tabFolder, SWT.NONE ); columnArea.setText( Messages.getString( "AggregationDialog.TabItem.Title.ColumnArea" ) ); //$NON-NLS-1$ columnArea.setImage( CrosstabUIHelper.getImage( CrosstabUIHelper.COLUMNS_AREA_IMAGE ) ); return tabFolder; }
Example 2
Source File: HadoopLocationWizard.java From RDFS with Apache License 2.0 | 5 votes |
TabMain(TabMediator mediator) { this.mediator = mediator; TabItem tab = new TabItem(mediator.folder, SWT.NONE); tab.setText("General"); tab.setToolTipText("General location parameters"); tab.setImage(circle); tab.setControl(createControl(mediator.folder)); }
Example 3
Source File: HadoopLocationWizard.java From RDFS with Apache License 2.0 | 5 votes |
TabAdvanced(TabMediator mediator) { this.mediator = mediator; TabItem tab = new TabItem(mediator.folder, SWT.NONE); tab.setText("Advanced parameters"); tab.setToolTipText("Access to advanced Hadoop parameters"); tab.setImage(circle); tab.setControl(createControl(mediator.folder)); }
Example 4
Source File: HadoopLocationWizard.java From hadoop-gpu with Apache License 2.0 | 5 votes |
TabMain(TabMediator mediator) { this.mediator = mediator; TabItem tab = new TabItem(mediator.folder, SWT.NONE); tab.setText("General"); tab.setToolTipText("General location parameters"); tab.setImage(circle); tab.setControl(createControl(mediator.folder)); }
Example 5
Source File: HadoopLocationWizard.java From hadoop-gpu with Apache License 2.0 | 5 votes |
TabAdvanced(TabMediator mediator) { this.mediator = mediator; TabItem tab = new TabItem(mediator.folder, SWT.NONE); tab.setText("Advanced parameters"); tab.setToolTipText("Access to advanced Hadoop parameters"); tab.setImage(circle); tab.setControl(createControl(mediator.folder)); }