Bug 316568 Refactor data set editor pages' codes[26849]
Build Identifier: 20100610 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/Utility.java
}
		return result;
	}
	
	/**
	 * 
	 * @param control
	 * @param contextId
	 */
	public static void setSystemHelp( Control control, String contextId )
	{
		PlatformUI.getWorkbench( )
				.getHelpSystem( )
				.setHelp( control, contextId );
	}
	
	/**
	 * 
	 * @param e
	 */
	public static void log( Exception e )
	{
		ILog log = new ReportPlugin( ).getLog( );
		log.log( new Status( IStatus.ERROR,
				PlatformUI.PLUGIN_ID,
				IStatus.OK,
				e.getMessage( ),
				e ) );
	}
}