0
	private ITestSession session;
	private NumberFormat timeFormat;
 
	public TestSessionLabelProvider() { 
		timeFormat = NumberFormat.getNumberInstance();
		timeFormat.setGroupingUsed(true);
		timeFormat.setMinimumFractionDigits(3);
		timeFormat.setMaximumFractionDigits(3);
		timeFormat.setMinimumIntegerDigits(1);
	} 
	 
	public void setTestSession(ITestSession session) {
		this.session = session;		
	} 
	 
	public void update(ViewerCell cell) {
		Object element = cell.getElement();
		String mainText = getText(element);
		StyledString text = new StyledString(mainText);
		String elapsedTimeText = getElapsedTimeText(element);
Stop searching for code, let great code find you!  Add Codota to your java IDE