Bug 142928 Item from library is changed to a report design item after revert to report item
Details: Item from library is changed to a report design item after revert to report item. Setp: 1.New a template. 2.Use a libary contain a label. 3.Drop the label from library explorer into layout. 4.Change the label to template item. 5.Revert the template item to report item. Actual result: The label is become a report item, but a item from library. Please see the attach image. Exception result: The lable is revert a item from library.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/DefaultNodeProvider.java
InsertInLayoutAction insertAction = new InsertInLayoutAction( object );
		if ( insertAction.isTypeAvailable( ) )
		{
			menu.add( insertAction );
		}
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
		
		RenameAction renameAction = new RenameAction( sourceViewer );
		if ( renameAction.isEnabled( ) )
		{
			menu.add( renameAction );
		}
		
		DeleteAction deleteAction = new DeleteAction( object );
		if ( deleteAction.isEnabled( ) )
		{
			menu.add( deleteAction );
		}
		CutAction cutAction = new CutAction( object );
		if ( cutAction.isEnabled( ) )
			menu.add( cutAction );
		CopyAction copyAction = new CopyAction( object );
		if ( copyAction.isEnabled( ) )
			menu.add( copyAction );
		if ( !( object instanceof DataSetItemModel ) || !( object instanceof ResultSetColumnHandle ))
		{
			menu.add( new PasteAction( object ) );
		}
		
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS