[jbosstools-commits] JBoss Tools SVN: r39266 - trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 2 11:59:45 EST 2012


Author: koen.aers at jboss.com
Date: 2012-03-02 11:59:43 -0500 (Fri, 02 Mar 2012)
New Revision: 39266

Modified:
   trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java
Log:
JBIDE-11128: Forge: cd command opens Remote Systems view and activates it

Modified: trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java	2012-03-02 16:58:54 UTC (rev 39265)
+++ trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java	2012-03-02 16:59:43 UTC (rev 39266)
@@ -54,13 +54,6 @@
 	private void show(IFileStore fileStore) {
 		IWorkbenchPage workbenchPage = ForgeCommandPostProcessorHelper.getActiveWorkbenchPage();
 		IViewPart remoteSystemView = workbenchPage.findView("org.eclipse.rse.ui.view.systemView");
-		if (remoteSystemView == null) {
-			try {
-				remoteSystemView = workbenchPage.showView("org.eclipse.rse.ui.view.systemView");
-			} catch (PartInitException e) {
-				ForgeUIPlugin.log(e);
-			}
-		}
 		if (remoteSystemView != null) {
 			expandInRemoteSystemView(remoteSystemView, fileStore);
 		}



More information about the jbosstools-commits mailing list