lttng: Rename packages to org.eclipse.tracecompass.*
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / IAddContextDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 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 java.util.List;
15
16 /**
17 * <p>
18 * Interface for providing information about contexts to be added to channels/events.
19 * </p>
20 *
21 * @author Bernd Hufmann
22 */
23 public interface IAddContextDialog {
24
25 // ------------------------------------------------------------------------
26 // Accessors
27 // ------------------------------------------------------------------------
28
29 /**
30 * Sets the available contexts to choose from.
31 * @param contexts - a list of available contexts.
32 */
33 void setAvalibleContexts(List<String> contexts);
34
35 /**
36 * @return array of contexts to be added
37 */
38 List<String> getContexts();
39
40 // ------------------------------------------------------------------------
41 // Operations
42 // ------------------------------------------------------------------------
43 /**
44 * @return returns the open return value
45 */
46 int open();
47 }
This page took 0.050824 seconds and 5 git commands to generate.