Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 196013 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/hyades/trace/views/internal/MultiLevelStatisticView.java (-3 / +5 lines)
Lines 400-406 Link Here
400
		//Summary element
400
		//Summary element
401
		TreeItem[] items = tree.getItems();
401
		TreeItem[] items = tree.getItems();
402
		if (items.length != 0) // if we have data
402
		if (items.length != 0) // if we have data
403
			{
403
		{
404
			//((MultiLevelStatisticTreeViewer) getTableViewer()).expandItem(items[0]);
404
			//((MultiLevelStatisticTreeViewer) getTableViewer()).expandItem(items[0]);
405
405
406
			if (obj instanceof TRCPackage)
406
			if (obj instanceof TRCPackage)
Lines 411-417 Link Here
411
			} else if (obj instanceof TRCMethod) {
411
			} else if (obj instanceof TRCMethod) {
412
				meth = (TRCMethod) obj;
412
				meth = (TRCMethod) obj;
413
				cls = meth.getDefiningClass();
413
				cls = meth.getDefiningClass();
414
				pack = cls.getPackage();
414
				if (null != cls)
415
					pack = cls.getPackage();
415
			}
416
			}
416
			else if (obj instanceof TRCObject)
417
			else if (obj instanceof TRCObject)
417
			{
418
			{
Lines 422-428 Link Here
422
			else if(obj instanceof TRCMethodInvocation)
423
			else if(obj instanceof TRCMethodInvocation)
423
			{
424
			{
424
				cls = PerftraceUtil.getClass((TRCMethodInvocation)obj);
425
				cls = PerftraceUtil.getClass((TRCMethodInvocation)obj);
425
				pack = cls.getPackage();
426
				if (null != cls)
427
					pack = cls.getPackage();
426
			}
428
			}
427
			
429
			
428
			searchInLevel(tree,
430
			searchInLevel(tree,

Return to bug 196013