[jbosstools-commits] JBoss Tools SVN: r39265 - branches/jbosstools-3.3.0.Beta1/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:58:55 EST 2012


Author: koen.aers at jboss.com
Date: 2012-03-02 11:58:54 -0500 (Fri, 02 Mar 2012)
New Revision: 39265

Modified:
   branches/jbosstools-3.3.0.Beta1/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: branches/jbosstools-3.3.0.Beta1/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java
===================================================================
--- branches/jbosstools-3.3.0.Beta1/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/CdPostProcessor.java	2012-03-02 16:37:24 UTC (rev 39264)
+++ branches/jbosstools-3.3.0.Beta1/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)
@@ -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