1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 04:55:22 +02:00

[247297] Double Clicking on a Shell doesn't open that Shell

This commit is contained in:
Kevin Doyle 2008-11-14 16:24:36 +00:00
parent 71f5f0bcc2
commit 35ec6f1d57

View file

@ -28,6 +28,7 @@
* David McKnight (IBM) - [228933] file icons shown in shell view should check editor registry for proper icon
* David McKnight (IBM) - [233349] Could not drag and drop file from Shell view to local folder.
* David McKnight (IBM) - [233475] Cannot drag and drop file/folder within the shell output
* Kevin Doyle (IBM) - [247297] Double Clicking on a Shell doesn't open that Shell
*******************************************************************************/
package org.eclipse.rse.shells.ui.view;
@ -59,7 +60,6 @@ import org.eclipse.rse.internal.shells.ui.view.ShellServiceSubSystemConfiguratio
import org.eclipse.rse.internal.shells.ui.view.SystemCommandsUI;
import org.eclipse.rse.internal.shells.ui.view.SystemCommandsViewPart;
import org.eclipse.rse.internal.ui.view.SystemView;
import org.eclipse.rse.services.shells.ParsedOutput;
import org.eclipse.rse.subsystems.files.core.SystemIFileProperties;
import org.eclipse.rse.subsystems.files.core.model.RemoteFileUtility;
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile;
@ -452,8 +452,7 @@ implements ISystemViewElementAdapter, ISystemRemoteElementAdapter
doOpen(file, output);
return true;
}
else if (element instanceof IRemoteCommandShell)
{
} else if (element instanceof IRemoteCommandShell) {
IRemoteCommandShell cmdshell = (IRemoteCommandShell) element;
if (cmdshell.getType().equals(ShellResources.RESID_SHELLS_COMMAND_SHELL_LABEL))
{
@ -463,7 +462,6 @@ implements ISystemViewElementAdapter, ISystemRemoteElementAdapter
result = true;
}
}
}
return result;
}