1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.control
.stubs
.dialogs
;
14 import java
.util
.Arrays
;
16 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.dialogs
.IGetEventInfoDialog
;
17 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceChannelComponent
;
18 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceSessionComponent
;
21 * Get event information dialog stub implementation.
23 public class GetEventInfoDialogStub
implements IGetEventInfoDialog
{
25 private TraceSessionComponent
[] fSessions
;
26 private String fFilterExpression
;
29 public TraceSessionComponent
getSession() {
34 public TraceChannelComponent
getChannel() {
39 public void setIsKernel(boolean isKernel
) {
43 public void setSessions(TraceSessionComponent
[] sessions
) {
44 if (sessions
!= null) {
45 fSessions
= Arrays
.copyOf(sessions
, sessions
.length
);
52 public String
getFilterExpression() {
53 return fFilterExpression
;
62 * @param filter the filter to set
64 public void setFilterExpression(String filter
) {
65 fFilterExpression
= filter
;
This page took 0.033205 seconds and 5 git commands to generate.