|
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 |
|
31 namespace SymbianDebugLib.Entity.BuiltIn.Missing |
|
32 { |
|
33 public class MissingDescriptor : DbgEntityDescriptor |
|
34 { |
|
35 #region Constructors |
|
36 public MissingDescriptor( DbgEntityDescriptorManager aManager ) |
|
37 : base( aManager ) |
|
38 { |
|
39 } |
|
40 #endregion |
|
41 |
|
42 #region From DbgEntityDescriptor |
|
43 public override DbgEntity Create( FSEntity aEntity ) |
|
44 { |
|
45 // Returns null if not supported |
|
46 MissingEntity ret = MissingEntity.New( this, aEntity ); |
|
47 return ret; |
|
48 } |
|
49 |
|
50 public override DbgEntity Create( XmlSettingCategory aSettingsCategory ) |
|
51 { |
|
52 MissingEntity ret = MissingEntity.New( this, aSettingsCategory ); |
|
53 return ret; |
|
54 } |
|
55 |
|
56 public override Image Icon |
|
57 { |
|
58 get { return Properties.Resources.MissingIcon; } |
|
59 } |
|
60 |
|
61 public override DbgEntityDescriptor.TFileSystemBrowserType FileSystemBrowserType |
|
62 { |
|
63 get { return TFileSystemBrowserType.EFiles; } |
|
64 } |
|
65 |
|
66 public override string CategoryName |
|
67 { |
|
68 get { return "Missing"; } |
|
69 } |
|
70 |
|
71 public override int DisplayOrder |
|
72 { |
|
73 get { return int.MinValue + 10; } |
|
74 } |
|
75 #endregion |
|
76 |
|
77 #region Properties |
|
78 #endregion |
|
79 |
|
80 #region Data members |
|
81 #endregion |
|
82 } |
|
83 } |