Bug 118487 Report iTem tempalte value should provide the option to revert.
The Report Tempalte spec mockups expect the following. UI needs to support the following 2 options as described in the Report Template spec mockups. Please refer to it. - Revert to Template Item ( call DE API DesignElementHandle.revertToTemplateItem ) - Revert to Report Item ( call DE API DesignElementHandle.reveretToReportItem or TransformToReportItem() ) to create a report item and get rid of the template definition )
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/RevertToReportItemAction.java
}
	
	/**
	 * @return the model of selected GUI object.
	 */
	ReportElementHandle getSelectedElement( )
	{
		Object obj = super.getSelection( );
		if ( obj instanceof IStructuredSelection )
		{
			IStructuredSelection selection = (IStructuredSelection) obj;
			if ( selection.size( ) != 1 )
			{
				return null;
			}
			obj = selection.getFirstElement( );
		}
		if ( obj instanceof TemplateReportItemHandle )
		{
			return (TemplateReportItemHandle) obj;
		}
		return null;
	}
	
	public boolean isEnabled( )
	{
		return super.isEnabled( ) && getSelectedElement() instanceof TemplateReportItemHandle;
	}
}