public class SpellingEngineDescriptor extends Object
spellingEngine
extension point.
This class is not intended to be subclassed by clients.
Constructor and Description |
---|
SpellingEngineDescriptor(IConfigurationElement element)
Creates a new descriptor for
element . |
Modifier and Type | Method and Description |
---|---|
ISpellingEngine |
createEngine()
Creates a spelling engine as described in the extension's xml.
|
ISpellingPreferenceBlock |
createPreferences()
Creates a spelling preferences block as described in the extension's xml.
|
String |
getId()
Reads (if needed) and returns the id of this extension.
|
String |
getLabel()
Reads (if needed) and returns the label of this extension.
|
boolean |
isDefault()
Reads (if needed) and returns the default attribute value of this extension.
|
boolean |
isPluginLoaded()
States whether the plug-in declaring this extension has been loaded already.
|
public SpellingEngineDescriptor(IConfigurationElement element)
element
.
This method is for internal use only.
element
- the extension point element to be described.public String getLabel()
public String getId()
public ISpellingEngine createEngine() throws CoreException
CoreException
- if the creation failedpublic ISpellingPreferenceBlock createPreferences() throws CoreException
CoreException
- if the creation failedpublic boolean isPluginLoaded()
true
if the extension point's plug-in has been loaded, false
otherwise.public boolean isDefault()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.