mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Remove more deprecated function warnings
This commit is contained in:
parent
942d39e28e
commit
4175540e12
5 changed files with 5 additions and 5 deletions
|
@ -106,7 +106,7 @@ public class CLaunchingPropertyPage extends PropertyPage {
|
|||
labelField.setLabelText(CPlugin.getResourceString(NO_CPROJECT));
|
||||
labelField.doFillIntoGrid(composite, 3);
|
||||
}
|
||||
WorkbenchHelp.setHelp(parent, new DialogPageContextComputer(this, ICHelpContextIds.LAUNCH_PROPERTY_PAGE));
|
||||
WorkbenchHelp.setHelp(parent, ICHelpContextIds.LAUNCH_PROPERTY_PAGE);
|
||||
|
||||
return composite;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public class CPluginPreferencePage extends FieldEditorPreferencePage implements
|
|||
*/
|
||||
public void createControl(Composite parent) {
|
||||
super.createControl(parent);
|
||||
WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, ICHelpContextIds.C_PREF_PAGE));
|
||||
WorkbenchHelp.setHelp(getControl(), ICHelpContextIds.C_PREF_PAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -73,7 +73,7 @@ public class CProjectPropertyPage extends PropertyPage implements IStatusChangeL
|
|||
item2.setData(settingsBlock);
|
||||
item2.setControl(settingsBlock.getControl(folder));
|
||||
|
||||
WorkbenchHelp.setHelp(parent, new DialogPageContextComputer(this, ICHelpContextIds.PROJECT_PROPERTY_PAGE));
|
||||
WorkbenchHelp.setHelp(parent, ICHelpContextIds.PROJECT_PROPERTY_PAGE);
|
||||
}
|
||||
|
||||
private void contentForClosedProject(Composite parent) {
|
||||
|
|
|
@ -272,7 +272,7 @@ public class TemplatePreferencePage extends PreferencePage implements IWorkbench
|
|||
|
||||
updateButtons();
|
||||
|
||||
WorkbenchHelp.setHelp(parent, new DialogPageContextComputer(this, ICHelpContextIds.TEMPLATE_PREFERENCE_PAGE));
|
||||
WorkbenchHelp.setHelp(parent, ICHelpContextIds.TEMPLATE_PREFERENCE_PAGE);
|
||||
|
||||
return parent;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ public class CProjectWizardPage extends WizardPage {
|
|||
public void createControl(Composite parent) {
|
||||
Composite composite = new Composite(parent, SWT.NULL);
|
||||
|
||||
WorkbenchHelp.setHelp(composite, new DialogPageContextComputer(this, IHelpContextIds.NEW_PROJECT_WIZARD_PAGE));
|
||||
WorkbenchHelp.setHelp(composite, IHelpContextIds.NEW_PROJECT_WIZARD_PAGE);
|
||||
|
||||
composite.setLayout(new GridLayout());
|
||||
composite.setLayoutData(new GridData(GridData.FILL_BOTH));
|
||||
|
|
Loading…
Add table
Reference in a new issue