Commit | Line | Data |
---|---|---|
ccc66d01 BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Bernd Hufmann - Initial API and implementation | |
11 | **********************************************************************/ | |
31a6a4e4 | 12 | package org.eclipse.linuxtools.internal.lttng.ui.views.control.dialogs; |
ccc66d01 | 13 | |
31a6a4e4 BH |
14 | import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceDomainComponent; |
15 | import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceProviderGroup; | |
d132bcc7 | 16 | |
ccc66d01 BH |
17 | /** |
18 | * <b><u>IEnableKernelEvents</u></b> | |
19 | * <p> | |
20 | * Interface for providing information about Kernel or UST events to be enabled. | |
21 | * </p> | |
22 | */ | |
23 | public interface IEnableEventsDialog extends IEnableKernelEvents, IEnableUstEvents { | |
24 | ||
25 | // ------------------------------------------------------------------------ | |
26 | // Accessors | |
27 | // ------------------------------------------------------------------------ | |
28 | /** | |
29 | * @return the session the events shall be enabled. | |
30 | */ | |
31 | public boolean isKernel(); | |
d132bcc7 BH |
32 | |
33 | /** | |
34 | * Sets the trace provider group. | |
35 | * @param providerGroup - a trace provider group | |
36 | */ | |
37 | public void setTraceProviderGroup(TraceProviderGroup providerGroup); | |
38 | ||
39 | /** | |
40 | * Sets the trace domain component. | |
41 | * @param domain - a domain of the events (null if not known) | |
42 | */ | |
43 | public void setTraceDomainComponent(TraceDomainComponent domain); | |
ccc66d01 BH |
44 | |
45 | // ------------------------------------------------------------------------ | |
46 | // Operations | |
47 | // ------------------------------------------------------------------------ | |
48 | /** | |
49 | * @return returns the open return value | |
50 | */ | |
51 | int open(); | |
52 | } |