mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
[316565] Failed to resolve the filter for a non-connected subsystem
This commit is contained in:
parent
405af14b8c
commit
c26a494528
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue