tmf.ui: Introduce TmfFileDialogFactory
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / IEnableEventsDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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 **********************************************************************/
12 package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs;
13
14 import org.eclipse.tracecompass.internal.lttng2.control.core.model.TraceDomainType;
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;
17
18 /**
19 * <p>
20 * Interface for providing information about Kernel or UST events to be enabled.
21 * </p>
22 *
23 * @author Bernd Hufmann
24 */
25 public interface IEnableEventsDialog extends IEnableKernelEvents, IEnableUstEvents {
26
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30 /**
31 * @return the domain type ({@link TraceDomainType})
32 */
33 TraceDomainType getDomain();
34
35 /**
36 * Sets the trace provider group.
37 * @param providerGroup - a trace provider group
38 */
39 void setTraceProviderGroup(TraceProviderGroup providerGroup);
40
41 /**
42 * Sets the trace domain component.
43 * @param domain - a domain of the events (null if not known)
44 */
45 void setTraceDomainComponent(TraceDomainComponent domain);
46
47 // ------------------------------------------------------------------------
48 // Operations
49 // ------------------------------------------------------------------------
50 /**
51 * @return returns the open return value
52 */
53 int open();
54 }
This page took 0.033681 seconds and 5 git commands to generate.