this.coolBar = new MainCoolBar( this );
this.coolBar = new MainCoolBar( this, internalPrefStore.getBoolean( "toolbarSmallButtons" ), internalPrefStore.getBoolean( "coolbarLocked" ) );
	private void createContents( Shell parent ) {		GridData gridData;			mainComposite = new Composite( parent, SWT.NONE );						parent.setImage( G2GuiResources.getImage( "ProgramIcon" ) );						new MainMenuBar( this );								GridLayout mainLayout = new GridLayout();		mainLayout.numColumns = 1;		mainLayout.marginWidth = 0;		mainLayout.marginHeight = 0;		mainLayout.verticalSpacing = 1;		mainComposite.setLayout( mainLayout ); 					Label horLine = new Label( mainComposite, SWT.HORIZONTAL | SWT.SEPARATOR );		gridData = new GridData( GridData.FILL_HORIZONTAL );		horLine.setLayoutData( gridData );				this.coolBar = new MainCoolBar( this );					pageContainer = new Composite( mainComposite, SWT.NONE );					pageContainer.setLayout( new StackLayout() );		/* now we add all the tabs */		this.addTabs();							gridData = new GridData( GridData.FILL_BOTH );		gridData.grabExcessHorizontalSpace = true;		gridData.grabExcessVerticalSpace = true;					pageContainer.setLayoutData( gridData );				/* layout the coolbar, because we added icons */		this.coolBar.layoutCoolBar();								statusline = new StatusLine( this );	} 