if ( hasButtonPane( ) ) { bPane = new ButtonPaneComposite( parent, 0, hasRuler( ) ); parent = bPane; }
	public void createPartControl( Composite parent )	{		if ( hasButtonPane( ) )		{			bPane = new ButtonPaneComposite( parent, 0, hasRuler( ) );			parent = bPane;		}		splitter = new FlyoutPaletteComposite( parent,				SWT.NONE,				getSite( ).getPage( ),				getPaletteViewerProvider( ),				getPalettePreferences( ) );		super.createPartControl( splitter );		Control ctrl = getGraphicalControl( );		splitter.setGraphicalControl( ctrl );		if ( hasButtonPane( ) )		{			bPane.setGraphicalControl( splitter );		}		if ( page != null )		{			splitter.setExternalViewer( page.getPaletteViewer( ) );			page = null;		}	}