From dd3254b0fdce0cfd7c03c827735ca18e18a90084 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Tue, 30 Jan 2007 21:43:52 +0000 Subject: [PATCH] [cleanup] Fix RSE internal package access --- .../src/samples/ui/actions/ShowJarContents.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rse/examples/org.eclipse.rse.examples.tutorial/src/samples/ui/actions/ShowJarContents.java b/rse/examples/org.eclipse.rse.examples.tutorial/src/samples/ui/actions/ShowJarContents.java index d2e58ef738f..51484a1bbca 100644 --- a/rse/examples/org.eclipse.rse.examples.tutorial/src/samples/ui/actions/ShowJarContents.java +++ b/rse/examples/org.eclipse.rse.examples.tutorial/src/samples/ui/actions/ShowJarContents.java @@ -20,8 +20,6 @@ import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.files.ui.actions.SystemAbstractRemoteFilePopupMenuExtensionAction; -import org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteError; -import org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteOutput; import org.eclipse.rse.services.shells.IHostOutput; import org.eclipse.rse.services.shells.IHostShell; import org.eclipse.rse.services.shells.IHostShellChangeEvent; @@ -31,6 +29,8 @@ import org.eclipse.rse.shells.ui.RemoteCommandHelpers; import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile; import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem; import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCommandShell; +import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteError; +import org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteOutput; import org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.IShellServiceSubSystem; /** @@ -120,7 +120,7 @@ public class ShowJarContents extends SystemAbstractRemoteFilePopupMenuExtensionA public void runCommandInvisibly(IRemoteCmdSubSystem cmdss, String command) throws Exception { command = command + cmdss.getParentRemoteCmdSubSystemConfiguration().getCommandSeparator() + "exit"; //$NON-NLS-1$ - Object[] result = cmdss.runCommand(command, null, false); + Object[] result = cmdss.runCommand(new NullProgressMonitor(), command, null, false); if (result.length>0 && result[0] instanceof IRemoteCommandShell) { IRemoteCommandShell cs = (IRemoteCommandShell)result[0]; while (cs.isActive()) { @@ -128,10 +128,10 @@ public class ShowJarContents extends SystemAbstractRemoteFilePopupMenuExtensionA } Object[] output = cs.listOutput(); for (int i=0; i