|
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.Windows.Forms; |
|
21 using CrashAnalyserEngine.Tabs; |
|
22 |
|
23 namespace CrashAnalyserEngine.Interfaces |
|
24 { |
|
25 public interface IEngineUIManager |
|
26 { |
|
27 /// <summary> |
|
28 /// Add a menu item |
|
29 /// </summary> |
|
30 void UIManagerMenuItemAdd( TEngineUIMenuPane aPane, string aCaption, UIMenuItemClickHandler aClickHandler, object aTag ); |
|
31 |
|
32 /// <summary> |
|
33 /// Add a menu item that is associated with a specific host element (usually an IToolStripHost) |
|
34 /// </summary> |
|
35 void UIManagerMenuItemAdd( TEngineUIMenuPane aPane, string aCaption, UIMenuItemClickHandler aClickHandler, object aTag, CATab aHost ); |
|
36 |
|
37 /// <summary> |
|
38 /// Creates a new tab |
|
39 /// </summary> |
|
40 /// <param name="aControl"></param> |
|
41 void UIManagerContentAdd( CATab aTab ); |
|
42 |
|
43 /// <summary> |
|
44 /// Removes a tab |
|
45 /// </summary> |
|
46 /// <param name="aControl"></param> |
|
47 void UIManagerContentClose( CATab aTab ); |
|
48 |
|
49 /// <summary> |
|
50 /// Information about the runtime version |
|
51 /// </summary> |
|
52 Version UIVersion |
|
53 { |
|
54 get; |
|
55 } |
|
56 |
|
57 /// <summary> |
|
58 /// Command line arguments passed to runtime |
|
59 /// </summary> |
|
60 string UICommandLineArguments |
|
61 { |
|
62 get; |
|
63 } |
|
64 |
|
65 /// <summary> |
|
66 /// Whether the UI runs in silent mode |
|
67 /// </summary> |
|
68 bool UIIsSilent |
|
69 { |
|
70 get; |
|
71 } |
|
72 |
|
73 void UITrace( string aMessage ); |
|
74 |
|
75 void UITrace( string aFormat, params object[] aParams ); |
|
76 } |
|
77 } |