Add support for LTTng 2.0 command add-context
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IAddContextDialog.java
CommitLineData
b793fbe1
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 **********************************************************************/
12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
13
14import java.util.List;
15
16/**
17 * <b><u>IAddContextDialog</u></b>
18 * <p>
19 * Interface for providing information about contexts to be added to channels/events.
20 * </p>
21 */
22public interface IAddContextDialog {
23
24 // ------------------------------------------------------------------------
25 // Accessors
26 // ------------------------------------------------------------------------
27
28 /**
29 * Sets the available contexts to choose from.
30 * @param contexts - a list of available contexts.
31 */
32 public void setAvalibleContexts(List<String> contexts);
33
34 /**
35 * @return array of contexts to be added
36 */
37 public List<String> getContexts();
38
39 // ------------------------------------------------------------------------
40 // Operations
41 // ------------------------------------------------------------------------
42 /**
43 * @return returns the open return value
44 */
45 int open();
46}
This page took 0.026166 seconds and 5 git commands to generate.