Commit | Line | Data |
---|---|---|
6503ae0f | 1 | /********************************************************************** |
ed902a2b | 2 | * Copyright (c) 2012, 2014 Ericsson |
d4514365 | 3 | * |
6503ae0f 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 | |
d4514365 BH |
8 | * |
9 | * Contributors: | |
6503ae0f | 10 | * Bernd Hufmann - Initial API and implementation |
ba3a9bd2 | 11 | * Bernd Hufmann - Updated for support of LTTng Tools 2.1 |
6503ae0f | 12 | **********************************************************************/ |
9bc60be7 | 13 | package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs; |
6503ae0f | 14 | |
1bc37054 | 15 | import org.eclipse.tracecompass.internal.lttng2.control.core.model.TraceDomainType; |
9bc60be7 | 16 | import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceChannelComponent; |
6503ae0f BH |
17 | |
18 | /** | |
6503ae0f BH |
19 | * <p> |
20 | * Interface for a dialog box for collecting information about the events to enable. | |
21 | * </p> | |
d4514365 | 22 | * |
dbd4432d | 23 | * @author Bernd Hufmann |
6503ae0f | 24 | */ |
a20452b1 | 25 | public interface IGetEventInfoDialog extends IBaseGetInfoDialog { |
d4514365 | 26 | |
6503ae0f BH |
27 | // ------------------------------------------------------------------------ |
28 | // Accessors | |
29 | // ------------------------------------------------------------------------ | |
6503ae0f BH |
30 | |
31 | /** | |
32 | * @return the channel the events shall be enabled. Null for default channel. | |
33 | */ | |
a6e6f7b4 | 34 | TraceChannelComponent getChannel(); |
d4514365 | 35 | |
d132bcc7 | 36 | /** |
1bc37054 BR |
37 | * Sets the domain type. |
38 | * @param domain domain type ({@link TraceDomainType}) | |
d132bcc7 | 39 | */ |
1bc37054 | 40 | void setDomain(TraceDomainType domain); |
d4514365 | 41 | |
d4514365 BH |
42 | /** |
43 | * Returns the filter expression. | |
44 | * @return the filter expression or null for no filtering | |
45 | */ | |
a6e6f7b4 | 46 | String getFilterExpression(); |
6503ae0f | 47 | } |