// Horizontal layout Action
Action horizontalAction = new Action( "Horizontal layout", Action.AS_RADIO_BUTTON ) { //$NON-NLS-1$
public void run()
{
sashForm.setOrientation( SWT.HORIZONTAL );
form.reflow( true );
}
};
horizontalAction.setChecked( true );
horizontalAction.setToolTipText( "Horizontal Orientation" ); //$NON-NLS-1$
horizontalAction.setImageDescriptor( Activator.imageDescriptorFromPlugin( Activator.PLUGIN_ID,