trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/engine/TraceObjectPropertyDialogFlag.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 * Interface to a flag shown in property dialog |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracebuilder.engine; |
|
20 |
|
21 import java.util.List; |
|
22 |
|
23 import com.nokia.tracebuilder.model.TraceModelExtension; |
|
24 |
|
25 /** |
|
26 * Interface to a flag shown in property dialog |
|
27 * |
|
28 */ |
|
29 public interface TraceObjectPropertyDialogFlag { |
|
30 |
|
31 /** |
|
32 * Gets the flag state |
|
33 * |
|
34 * @return the enabled state |
|
35 */ |
|
36 public boolean isEnabled(); |
|
37 |
|
38 /** |
|
39 * Sets the flag state |
|
40 * |
|
41 * @param enabled |
|
42 * the flag state |
|
43 */ |
|
44 public void setEnabled(boolean enabled); |
|
45 |
|
46 /** |
|
47 * Gets the text shown in UI |
|
48 * |
|
49 * @return the text |
|
50 */ |
|
51 public String getText(); |
|
52 |
|
53 /** |
|
54 * Checks if this flag should be shown in UI |
|
55 * |
|
56 * @return true if visible, false otherwise |
|
57 */ |
|
58 public boolean isVisible(); |
|
59 |
|
60 /** |
|
61 * Creates the extensions to be added to the trace |
|
62 * |
|
63 * @param extList |
|
64 * the list where the extensions should be added |
|
65 */ |
|
66 public void createExtensions(List<TraceModelExtension> extList); |
|
67 |
|
68 } |