|
1 /* |
|
2 * Copyright (c) 2009 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 */ |
|
17 using System; |
|
18 using System.Collections.Generic; |
|
19 using System.Text; |
|
20 using System.IO; |
|
21 using System.Drawing; |
|
22 using SymbianUtils; |
|
23 using SymbianUtils.Settings; |
|
24 using SymbianUtils.FileSystem; |
|
25 using SymbianDebugLib.Entity; |
|
26 using SymbianDebugLib.Engine; |
|
27 using SymbianDebugLib.Entity.Primer; |
|
28 using SymbianDebugLib.Entity.Descriptors; |
|
29 using SymbianDebugLib.PluginAPI.Types; |
|
30 using DbgEntSymbol.Entity; |
|
31 |
|
32 namespace DbgEntSymbol.Descriptor |
|
33 { |
|
34 public class SymbolDescriptor : DbgEntityDescriptor |
|
35 { |
|
36 #region Constructors |
|
37 public SymbolDescriptor( DbgEntityDescriptorManager aManager ) |
|
38 : base( aManager ) |
|
39 { |
|
40 } |
|
41 #endregion |
|
42 |
|
43 #region From DbgEntityDescriptor |
|
44 public override DbgEntity Create( FSEntity aEntity ) |
|
45 { |
|
46 // Returns null if not supported |
|
47 SymbolEntity ret = SymbolEntity.New( this, aEntity ); |
|
48 return ret; |
|
49 } |
|
50 |
|
51 public override DbgEntity Create( XmlSettingCategory aSettingsCategory ) |
|
52 { |
|
53 SymbolEntity ret = SymbolEntity.New( this, aSettingsCategory ); |
|
54 return ret; |
|
55 } |
|
56 |
|
57 public override Image Icon |
|
58 { |
|
59 get { return Properties.Resources.Icon; } |
|
60 } |
|
61 |
|
62 public override DbgEntityDescriptor.TFileSystemBrowserType FileSystemBrowserType |
|
63 { |
|
64 get { return TFileSystemBrowserType.EFiles; } |
|
65 } |
|
66 |
|
67 public override string CategoryName |
|
68 { |
|
69 get { return "Symbols"; } |
|
70 } |
|
71 |
|
72 public override int DisplayOrder |
|
73 { |
|
74 get { return int.MaxValue - 20; } |
|
75 } |
|
76 |
|
77 public override TUnderlyingType UnderlyingType |
|
78 { |
|
79 get { return TUnderlyingType.ETypeSymbols; } |
|
80 } |
|
81 #endregion |
|
82 |
|
83 #region Properties |
|
84 #endregion |
|
85 |
|
86 #region Data members |
|
87 #endregion |
|
88 } |
|
89 } |