onWidget( imageLabel ).showLocalTouch( true );
imageLabel.setLayoutData( new GridData( SWT.CENTER, SWT.CENTER, true, true ) );
imageLabel.setImage( new Image( parent.getDisplay(), Page.class.getResourceAsStream( "/tabris.png" ) ) );
// Add an action to open a website
imageLabel.addMouseListener( new MouseAdapter() {
public void mouseUp( MouseEvent e ) {
AppLauncher appLauncher = RWT.getClient().getService( AppLauncher.class );
appLauncher.openUrl( "http://eclipsesource.com/blogs/tag/tabris/" );
}
} );