X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng2.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Finternal%2Flttng2%2Fui%2Fviews%2Fcontrol%2Fdialogs%2FIGetEventInfoDialog.java;h=1325f42384c96cdbe700157f765d811e28ce7803;hb=a6e6f7b4c37dc5adce8b2deeaf1d360b1284ad46;hp=42c6bef3aa5f6030f00fbc922be5c3e5860e1910;hpb=7179cae2ac2c6dfc0fab1379e050ed329ae9758c;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IGetEventInfoDialog.java b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IGetEventInfoDialog.java index 42c6bef3aa..1325f42384 100644 --- a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IGetEventInfoDialog.java +++ b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IGetEventInfoDialog.java @@ -1,13 +1,14 @@ /********************************************************************** - * Copyright (c) 2012 Ericsson - * + * Copyright (c) 2012, 2013 Ericsson + * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * Bernd Hufmann - Initial API and implementation + * Bernd Hufmann - Updated for support of LTTng Tools 2.1 **********************************************************************/ package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; @@ -15,37 +16,44 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceC import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent; /** - * IEnableEventsDialog *
* Interface for a dialog box for collecting information about the events to enable. *
+ * + * @author Bernd Hufmann */ public interface IGetEventInfoDialog { - + // ------------------------------------------------------------------------ // Accessors // ------------------------------------------------------------------------ /** * @return the session the events shall be enabled. */ - public TraceSessionComponent getSession(); + TraceSessionComponent getSession(); /** * @return the channel the events shall be enabled. Null for default channel. */ - public TraceChannelComponent getChannel(); - + TraceChannelComponent getChannel(); + /** * Sets flag about domain. * @param isKernel - true for kernel, false for UST */ - public void setIsKernel(boolean isKernel); - + void setIsKernel(boolean isKernel); + /** * Sets available session. * @param sessions - a array of available sessions. */ - public void setSessions(TraceSessionComponent[] sessions); + void setSessions(TraceSessionComponent[] sessions); + + /** + * Returns the filter expression. + * @return the filter expression or null for no filtering + */ + String getFilterExpression(); // ------------------------------------------------------------------------ // Operations