Commit | Line | Data |
---|---|---|
eb1bab5b BH |
1 | package org.eclipse.linuxtools.lttng.stubs.service.shells; |
2 | ||
3 | import org.eclipse.core.commands.ExecutionException; | |
4 | import org.eclipse.core.runtime.IProgressMonitor; | |
5 | import org.eclipse.linuxtools.lttng.ui.views.control.service.CommandResult; | |
6 | import org.eclipse.linuxtools.lttng.ui.views.control.service.ICommandResult; | |
7 | ||
8 | public class NoSessionNamesShell extends TestCommandShell { | |
9 | ||
10 | @SuppressWarnings("nls") | |
11 | @Override | |
12 | public ICommandResult executeCommand(String command, IProgressMonitor monitor, boolean checkReturnValue) throws ExecutionException { | |
13 | String[] output = new String[1]; | |
9d8a90ad BH |
14 | output[0] = String.valueOf("Currently no available tracing session"); |
15 | return new CommandResult(0, output); | |
eb1bab5b BH |
16 | } |
17 | } |