Bug 172090 List of report items in palette and right-click insert are not consistent in Master Page[0001]
Description: List of report items in palette and right-click insert are not consistent in Master Page[0001] Build number: 2.2.0.v20070130-0630 Steps to reproduce: 1, Turn to Master Page 2, Insert a grid in Master Page header 3, Select one cell, right click to insert a chart 4, In the insert list, we can find the chart item, but table and list are gray 5, In palette, the table and list are in the list, but no chart item Expected result: Consistent between palette and right-click insert Actual result: When right click, table and list are gray in the list In palette, the table and list can be selected but there is no chart item. Error log:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/extensions/GuiExtensionManager.java
root.add( entry );
			}
			CombinedTemplateCreationEntry combined = new CommandCombinedTemplateCreationEntry( entries[i] );
			entry.add( combined );
		}
		return root;
	}
	public static Object getExtendedPalletTemplateName(
			ExtendedElementUIPoint point )
	{
		return IReportElementConstants.REPORT_ELEMENT_EXTENDED
				+ point.getExtensionName( );
	}
	private static PaletteCategory findCategory( List list, String category )
	{
		for ( Iterator itor = list.iterator( ); itor.hasNext( ); )
		{
			Object entry = itor.next( );
			if ( entry instanceof PaletteCategory )
			{
				if ( ( (PaletteCategory) entry ).getCategoryName( )
						.equals( category ) )
				{
					return (PaletteCategory) entry;
				}
			}
		}
		return null;
	}
}