Bug 193266 BIRT become strange after insert a label from outline in library[01]
BIRT become strange after insert a label from outline in library[01] Build number: 2.2.0.v20070618-0630 Steps to reproduce: 1.New a rptlibrary file and new a label from outline Expected result: Will focus to the label in layout Actual result: It'll take a long time to display and when you right click to new a style,you'll find dialog won't change when you switch from font to text or others Error log: N/A
UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/internal/ui/views/outline/DesignerOutlinePage.java
* </p>
	 * 
	 * @param parent
	 *            the parent control
	 */
	public void createControl( Composite parent )
	{
		super.createControl( parent );
		
		createContextMenu( );
		ViewsTreeProvider provider = new ViewsTreeProvider( );
		getTreeViewer( ).setContentProvider( provider );
		getTreeViewer( ).setLabelProvider( provider );
		getSelectionSynchronizer( ).setTreeViewer( getTreeViewer( ) );
		
		new RenameListener( getTreeViewer( ) ).apply( );
		getTreeViewer( ).setSorter( new ItemSorter( ) );
		addDragAndDropListener( );
		init( reportHandle );
		getTreeViewer( ).expandToLevel( 2 );
		final Tree tree = getTreeViewer( ).getTree( );
		
		tree.addListener(SWT.PaintItem, new Listener() {
			public void handleEvent(Event event)
			{
				
				TreeItem item = (TreeItem)event.item;
				if(event.item.getData( ) instanceof CssStyleSheetHandle || event.item.getData( ) instanceof CssSharedStyleHandle){					
					Color gray = Display.getCurrent( ).getSystemColor(SWT.COLOR_DARK_GRAY);
					item.setForeground( gray );