mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 00:05:53 +02:00
[189005] use ISYstemRegistryUI as default input rather than ISystemRegistry
This commit is contained in:
parent
576d8f9537
commit
8528df2f57
1 changed files with 4 additions and 1 deletions
|
@ -75,6 +75,7 @@ import org.eclipse.rse.ui.actions.SystemTablePrintAction;
|
||||||
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
||||||
import org.eclipse.rse.ui.dialogs.SystemSelectAnythingDialog;
|
import org.eclipse.rse.ui.dialogs.SystemSelectAnythingDialog;
|
||||||
import org.eclipse.rse.ui.messages.ISystemMessageLine;
|
import org.eclipse.rse.ui.messages.ISystemMessageLine;
|
||||||
|
import org.eclipse.rse.ui.model.ISystemRegistryUI;
|
||||||
import org.eclipse.rse.ui.model.ISystemShellProvider;
|
import org.eclipse.rse.ui.model.ISystemShellProvider;
|
||||||
import org.eclipse.rse.ui.view.IRSEViewPart;
|
import org.eclipse.rse.ui.view.IRSEViewPart;
|
||||||
import org.eclipse.rse.ui.view.ISystemViewElementAdapter;
|
import org.eclipse.rse.ui.view.ISystemViewElementAdapter;
|
||||||
|
@ -642,7 +643,9 @@ public class SystemTableViewPart extends ViewPart
|
||||||
String filterID = memento.getString(TAG_TABLE_VIEW_FILTER_ID);
|
String filterID = memento.getString(TAG_TABLE_VIEW_FILTER_ID);
|
||||||
String objectID = memento.getString(TAG_TABLE_VIEW_OBJECT_ID);
|
String objectID = memento.getString(TAG_TABLE_VIEW_OBJECT_ID);
|
||||||
|
|
||||||
|
ISystemRegistryUI registryUI = RSEUIPlugin.getTheSystemRegistryUI();
|
||||||
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
|
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
|
||||||
|
|
||||||
Object input = null;
|
Object input = null;
|
||||||
if (subsystemId == null)
|
if (subsystemId == null)
|
||||||
{
|
{
|
||||||
|
@ -656,7 +659,7 @@ public class SystemTableViewPart extends ViewPart
|
||||||
{
|
{
|
||||||
// TODO why did we use null for a while?
|
// TODO why did we use null for a while?
|
||||||
//input = null;
|
//input = null;
|
||||||
input = registry;
|
input = registryUI;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue