public PHPExternalToolsPreferencePage() {
super();
- setPreferenceStore(ExternalToolsPlugin.getDefault()
- .getPreferenceStore());
+
+ if (ExternalToolsPlugin.getDefault () != null) {
+ setPreferenceStore (ExternalToolsPlugin.getDefault().getPreferenceStore());
+ }
}
public void init(IWorkbench workbench) {
externalParserSFE.load();
new Label(composite, SWT.NONE);
- composite.setLayout(new GridLayout(3,false));
+ composite.setLayout(new GridLayout(3, false));
return composite;
}
}
\ No newline at end of file