Lines 16-22
Link Here
|
16 |
import org.eclipse.swt.widgets.Control; |
16 |
import org.eclipse.swt.widgets.Control; |
17 |
import org.eclipse.ui.IWorkbench; |
17 |
import org.eclipse.ui.IWorkbench; |
18 |
import org.eclipse.ui.IWorkbenchPreferencePage; |
18 |
import org.eclipse.ui.IWorkbenchPreferencePage; |
19 |
import org.eclipse.ui.help.WorkbenchHelp; |
19 |
import org.eclipse.ui.PlatformUI; |
20 |
|
20 |
|
21 |
/** |
21 |
/** |
22 |
* Abstract class for preference pages. Subclasses must set the preference store |
22 |
* Abstract class for preference pages. Subclasses must set the preference store |
Lines 63-71
Link Here
|
63 |
//initializing help context id, this is consistent |
63 |
//initializing help context id, this is consistent |
64 |
//with Eclipse preference pages |
64 |
//with Eclipse preference pages |
65 |
if (helpContextId != null) |
65 |
if (helpContextId != null) |
66 |
WorkbenchHelp.setHelp(parent, helpContextId); |
66 |
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, helpContextId); |
|
|
67 |
|
67 |
return super.createContents(parent); |
68 |
return super.createContents(parent); |
68 |
|
|
|
69 |
} |
69 |
} |
70 |
|
70 |
|
71 |
/* |
71 |
/* |