Bug 117815 If I apply a style to a table first then apply another style to a table row, select this row, related style is not selected.
Description:If I apply a style to a table first then apply another style to a table row, select this row, related style is not selected. Steps to reproduce: 1. Create a table and apply a style to it. 2. Select a table row and apply another style to the table row. 3. Select this row and find that the related style is not selected. But it has worked.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/ApplyStyleMenuAction.java
public ApplyStyleMenuAction( IWorkbenchPart part )
	{
		super( part );
		setId( ID );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.ui.actions.MenuUpdateAction#getItems()
	 */
	protected List getItems( )
	{
		ArrayList actionList = new ArrayList( );
		StyleHandle currentStyle = getStyleHandle( );
		ApplyStyleAction reset = new ApplyStyleAction( null );
		reset.setSelection( getSelection( ) );
		reset.setChecked( currentStyle == null );
		actionList.add( reset );
		actionList.add( null );
		Iterator iterator = DEUtil.getStyles();
		if(iterator!=null)
		{
			while ( iterator.hasNext( ) )
			{
				SharedStyleHandle handle = (SharedStyleHandle) iterator.next( );
				if ( !handle.isPredefined( ) )
				{
					ApplyStyleAction action = new ApplyStyleAction( handle );
					action.setSelection( getSelection( ) );
					action.setChecked( currentStyle == handle );