Bug 164436 [Regression]Chart can't be converted to a template report item[02]
Description: Chart can't be converted to a template report item Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1.New a chart 2.Right click the chart Expected result: "Create Template Report Item" is enabled Actual result: "Create Template Report Item" is grayed out Error log: N/A
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
return ReportDesignConstants.TEXT_ITEM;
		else if ( DesignSchemaConstants.TEXT_DATA_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TEXT_DATA_ITEM;
		else if ( DesignSchemaConstants.THEME_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.THEME_ITEM;
		else if ( DesignSchemaConstants.TEMPLATE_PARAMETER_DEFINITION_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TEMPLATE_PARAMETER_DEFINITION;
		else if ( DesignSchemaConstants.TEMPLATE_REPORT_ITEM_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TEMPLATE_REPORT_ITEM;
		else if ( DesignSchemaConstants.TEMPLATE_DATA_SET_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TEMPLATE_DATA_SET;
		else if ( DesignSchemaConstants.JOINT_DATA_SET_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.JOINT_DATA_SET;
		else if ( DesignSchemaConstants.AUTO_TEXT_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.AUTOTEXT_ITEM;
		else if ( DesignSchemaConstants.MULTI_LINE_DATA_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TEXT_DATA_ITEM;
		return null;
	}
	/**
	 * Checks whether these is reference between <code>reference</code> and
	 * <code>referred</code>.
	 *