Commit | Line | Data |
---|---|---|
ccc66d01 | 1 | /********************************************************************** |
a6e6f7b4 BH |
2 | * Copyright (c) 2012, 2013 Ericsson |
3 | * | |
ccc66d01 BH |
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 | |
a6e6f7b4 BH |
8 | * |
9 | * Contributors: | |
ccc66d01 BH |
10 | * Bernd Hufmann - Initial API and implementation |
11 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; |
ccc66d01 | 13 | |
115b4a01 BH |
14 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent; |
15 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceProviderGroup; | |
d132bcc7 | 16 | |
ccc66d01 | 17 | /** |
ccc66d01 BH |
18 | * <p> |
19 | * Interface for providing information about Kernel or UST events to be enabled. | |
20 | * </p> | |
a6e6f7b4 | 21 | * |
dbd4432d | 22 | * @author Bernd Hufmann |
ccc66d01 BH |
23 | */ |
24 | public interface IEnableEventsDialog extends IEnableKernelEvents, IEnableUstEvents { | |
25 | ||
26 | // ------------------------------------------------------------------------ | |
27 | // Accessors | |
28 | // ------------------------------------------------------------------------ | |
29 | /** | |
30 | * @return the session the events shall be enabled. | |
31 | */ | |
a6e6f7b4 BH |
32 | boolean isKernel(); |
33 | ||
d132bcc7 BH |
34 | /** |
35 | * Sets the trace provider group. | |
36 | * @param providerGroup - a trace provider group | |
37 | */ | |
a6e6f7b4 BH |
38 | void setTraceProviderGroup(TraceProviderGroup providerGroup); |
39 | ||
d132bcc7 BH |
40 | /** |
41 | * Sets the trace domain component. | |
42 | * @param domain - a domain of the events (null if not known) | |
43 | */ | |
a6e6f7b4 | 44 | void setTraceDomainComponent(TraceDomainComponent domain); |
ccc66d01 BH |
45 | |
46 | // ------------------------------------------------------------------------ | |
47 | // Operations | |
48 | // ------------------------------------------------------------------------ | |
49 | /** | |
50 | * @return returns the open return value | |
51 | */ | |
52 | int open(); | |
53 | } |