X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng2.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Finternal%2Flttng2%2Fui%2Fviews%2Fcontrol%2Fhandlers%2FEnableChannelHandler.java;h=ed9eef6f0f9f49f44d08a35967e43996ef70ca84;hb=112523422233867587c313bdc26b21bde93931d0;hp=a266386d937adb4ed8a5ef128fe4230b15d83b3e;hpb=94d4821e6d09e2fafc652eabaf729cdc8d9a50ff;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelHandler.java b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelHandler.java index a266386d93..ed9eef6f0f 100644 --- a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelHandler.java +++ b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelHandler.java @@ -1,12 +1,12 @@ /********************************************************************** - * 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 **********************************************************************/ package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers; @@ -22,7 +22,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceD *

* Command handler implementation to enable one or more trace channels per session and domain. *

- * + * * @author Bernd Hufmann */ public class EnableChannelHandler extends ChangeChannelStateHandler { @@ -30,10 +30,7 @@ public class EnableChannelHandler extends ChangeChannelStateHandler { // ------------------------------------------------------------------------ // Accessors // ------------------------------------------------------------------------ - /* - * (non-Javadoc) - * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#getNewState() - */ + @Override protected TraceEnablement getNewState() { return TraceEnablement.ENABLED; @@ -42,10 +39,7 @@ public class EnableChannelHandler extends ChangeChannelStateHandler { // ------------------------------------------------------------------------ // Operations // ------------------------------------------------------------------------ - /* - * (non-Javadoc) - * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent, java.util.List, org.eclipse.core.runtime.IProgressMonitor) - */ + @Override protected void changeState(TraceDomainComponent domain, List channelNames, IProgressMonitor monitor) throws ExecutionException { domain.enableChannels(channelNames, null, monitor);