mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
[237970] don't enable connect all action when in offline mode
This commit is contained in:
parent
0212c31715
commit
d5eb5d2241
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
|
||||
* Martin Oberhuber (Wind River) - [187218] Fix error reporting for connect()
|
||||
* Martin Oberhuber (Wind River) - [216266] Consider stateless subsystems (supportsSubSystemConnect==false)
|
||||
* David McKnight (IBM) - [237970] Subsystem.connect( ) fails for substituting host name when isOffline( ) is true
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.actions;
|
||||
|
@ -130,6 +131,7 @@ public class SystemConnectAllSubSystemsAction extends SystemBaseAction
|
|||
public boolean checkObjectType(Object obj)
|
||||
{
|
||||
if ((obj instanceof IHost) &&
|
||||
!((IHost)obj).isOffline() &&
|
||||
!sr.areAllSubSystemsConnected((IHost)obj))
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue