crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/ui/viewers/CodeSegmentsTableViewer.java
changeset 0 5ad7ad99af01
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/ui/viewers/CodeSegmentsTableViewer.java	Thu Feb 11 15:06:45 2010 +0200
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+package com.nokia.s60tools.crashanalyser.ui.viewers;
+
+import org.eclipse.jface.viewers.TableViewerColumn;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Table;
+
+/**
+ * Table viewer for Code Segments table in Advanced page in 
+ * Crash Visualiser editor. 
+ *
+ */
+public class CodeSegmentsTableViewer extends CrashAnalyserTableViewer {
+	/**
+	 * Constructor
+	 * @param table
+	 */
+	public CodeSegmentsTableViewer(Table table) {
+		super(table);
+
+		TableViewerColumn column = new TableViewerColumn(this, SWT.NONE);
+		column.setLabelProvider(labelProvider);
+		column.getColumn().setText("Base Address");
+
+		column = new TableViewerColumn(this, SWT.NONE);
+		column.setLabelProvider(labelProvider);
+		column.getColumn().setText("Top Address");
+		
+		column = new TableViewerColumn(this, SWT.NONE);
+		column.setLabelProvider(labelProvider);
+		column.getColumn().setText("File Name");		
+	}
+}