trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/model/TraceConstantTableEntry.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * One entry in the integer-to-string mapping table |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracebuilder.model; |
|
20 |
|
21 /** |
|
22 * One entry in the integer-to-string mapping table |
|
23 * |
|
24 */ |
|
25 public class TraceConstantTableEntry extends TraceObject { |
|
26 |
|
27 /** |
|
28 * Constant table that owns this parameter |
|
29 */ |
|
30 private TraceConstantTable table; |
|
31 |
|
32 /** |
|
33 * Constructor |
|
34 * |
|
35 * @param table |
|
36 * the constant table that owns this entry |
|
37 */ |
|
38 TraceConstantTableEntry(TraceConstantTable table) { |
|
39 setModel(table.getModel()); |
|
40 this.table = table; |
|
41 table.addEntry(this); |
|
42 } |
|
43 |
|
44 /** |
|
45 * Gets the table that owns this entry |
|
46 * |
|
47 * @return the table |
|
48 */ |
|
49 public TraceConstantTable getTable() { |
|
50 return table; |
|
51 } |
|
52 |
|
53 } |