mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
[189005] Changed setFocus() to setInput to SystemRegistryUI (apply patch from Kevin Doyle)
This commit is contained in:
parent
f7531a89f9
commit
d95e2e79a4
2 changed files with 10 additions and 6 deletions
|
@ -15,6 +15,7 @@
|
|||
* David Dykstal (IBM) - moved SystemsPreferencesManager to a new package
|
||||
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
||||
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
|
||||
* Kevin Doyle (IBM) - [189005] Changed setFocus() to setInput to SystemRegistryUI
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view;
|
||||
|
@ -113,8 +114,6 @@ import org.eclipse.ui.progress.UIJob;
|
|||
import org.eclipse.ui.views.properties.IPropertyDescriptor;
|
||||
import org.osgi.framework.Bundle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Comment goes here
|
||||
*/
|
||||
|
@ -244,8 +243,12 @@ public class SystemTableViewPart extends ViewPart
|
|||
if (parent instanceof IAdaptable)
|
||||
{
|
||||
_parent = (IAdaptable) parent;
|
||||
boolean enabled = _parent != null;
|
||||
setEnabled(enabled);
|
||||
setEnabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
_parent = null;
|
||||
setEnabled(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1145,7 +1148,7 @@ public class SystemTableViewPart extends ViewPart
|
|||
}
|
||||
else
|
||||
{
|
||||
setInput(RSECorePlugin.getTheSystemRegistry());
|
||||
setInput(RSEUIPlugin.getTheSystemRegistryUI());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
* Martin Oberhuber (Wind River) - [186640] Add IRSESystemType.testProperty()
|
||||
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
|
||||
* Martin Oberhuber (Wind River) - [186779] Fix IRSESystemType.getAdapter()
|
||||
* Kevin Doyle (IBM) - [189005] Fixed getParent() to return SystemRegistryUI instead of SystemRegistry
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view;
|
||||
|
@ -418,7 +419,7 @@ public class SystemViewConnectionAdapter
|
|||
*/
|
||||
public Object getParent(Object element)
|
||||
{
|
||||
return RSECorePlugin.getTheSystemRegistry();
|
||||
return RSEUIPlugin.getTheSystemRegistryUI();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue