mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[cleanup] avoid Platform internal access
This commit is contained in:
parent
6f772365db
commit
c0aba974ab
2 changed files with 4 additions and 3 deletions
|
@ -16,16 +16,16 @@ import java.util.List;
|
|||
|
||||
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
||||
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
|
||||
import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin;
|
||||
import org.eclipse.cdt.launch.ui.CDebuggerTab;
|
||||
import org.eclipse.debug.core.ILaunchConfiguration;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
|
||||
public class RemoteCDebuggerTab extends CDebuggerTab {
|
||||
|
||||
public void createControl(Composite parent) {
|
||||
super.createControl(parent);
|
||||
LaunchUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(),
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),
|
||||
"org.eclipse.rse.remotecdt.launchgroup"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ import org.eclipse.swt.widgets.Combo;
|
|||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Label;
|
||||
import org.eclipse.swt.widgets.Text;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
|
||||
|
||||
public class RemoteCMainTab extends CMainTab {
|
||||
|
@ -94,7 +95,7 @@ public class RemoteCMainTab extends CMainTab {
|
|||
}
|
||||
});
|
||||
|
||||
LaunchUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(),
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),
|
||||
"org.eclipse.rse.remotecdt.launchgroup"); //$NON-NLS-1$
|
||||
|
||||
LaunchUIPlugin.setDialogShell(parent.getShell());
|
||||
|
|
Loading…
Add table
Reference in a new issue