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