trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/engine/TraceViewerViewInterface.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2010 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 * Interface implemented by the view of Trace Viewer |
|
17 * |
|
18 */ |
|
19 package com.nokia.traceviewer.engine; |
|
20 |
|
21 /** |
|
22 * Interface implemented by the views of TraceViewer. The view registers itself |
|
23 * to TraceViewer via TraceViewerInterface.setView call |
|
24 * |
|
25 */ |
|
26 public interface TraceViewerViewInterface { |
|
27 |
|
28 /** |
|
29 * ID of the propertyView |
|
30 */ |
|
31 public static final String PROPERTYVIEW_ID = "com.nokia.traceviewer.view.TracePropertyView"; //$NON-NLS-1$ |
|
32 |
|
33 /** |
|
34 * Tells if the view is disposed. Must be called from UI thread! |
|
35 * |
|
36 * @return true if view is disposed |
|
37 */ |
|
38 public boolean isDisposed(); |
|
39 |
|
40 /** |
|
41 * Clears all data from the display |
|
42 */ |
|
43 public void clearAll(); |
|
44 |
|
45 /** |
|
46 * Tells is view has data that isn't shown yet |
|
47 * |
|
48 * @return true if there is unshown data |
|
49 */ |
|
50 public boolean hasUnshownData(); |
|
51 |
|
52 /** |
|
53 * Updates the view |
|
54 */ |
|
55 public void update(); |
|
56 } |