diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java index 3fd7d7263f5..552d4f6d84e 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2009 IBM Corporation and others. + * Copyright (c) 2004, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -25,6 +25,7 @@ * David McKnight (IBM) - [243263] NPE on expanding a filter * David McKnight (IBM) - [260777] [ssh] Deadlock when changing selection after multiple hibernate/resume cycles * David McKnight (IBM) - [283793] [dstore] Expansion indicator(+) does not reset after no connect + * David McKnight (IBM) - [316565] Failed to resolve the filter for a non-connected subsystem *******************************************************************************/ package org.eclipse.rse.ui.operations; @@ -270,6 +271,10 @@ public class SystemFetchOperation extends JobChangeAdapter implements IRunnableW private boolean ensureConnected(SubSystem ss, IProgressMonitor monitor) throws InterruptedException { + if (!ss.getSubSystemConfiguration().supportsSubSystemConnect()){ + return true; + } + if (!ss.isConnected() && !ss.isOffline()) // skip the connect if offline, but still follow through because we need to follow through in the subsystem {