/** * Creates a spelling preferences block as described in the extension's xml. * * @return the created spelling preferences block * @throws CoreException if the creation failed */ public ISpellingPreferenceBlock createPreferences() throws CoreException { if (hasPreferences()) return (ISpellingPreferenceBlock) fConfiguration.createExecutableExtension(PREFERENCES_CLASS_ATTRIBUTE); return new EmptySpellingPreferenceBlock(); }
/** * Creates a spelling preferences block as described in the extension's xml. * * @return the created spelling preferences block * @throws CoreException if the creation failed */ public ISpellingPreferenceBlock createPreferences() throws CoreException { if (hasPreferences()) return (ISpellingPreferenceBlock) fConfiguration.createExecutableExtension(PREFERENCES_CLASS_ATTRIBUTE); return new EmptySpellingPreferenceBlock(); }
/** * Creates a spelling preferences block as described in the extension's xml. * * @return the created spelling preferences block * @throws CoreException if the creation failed */ public ISpellingPreferenceBlock createPreferences() throws CoreException { if (hasPreferences()) return (ISpellingPreferenceBlock) fConfiguration.createExecutableExtension(PREFERENCES_CLASS_ATTRIBUTE); return new EmptySpellingPreferenceBlock(); }