Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Spelling Engine

Identifier:
org.eclipse.ui.workbench.texteditor.spellingEngine

Since:
3.1

Description:
Allows contributors to add spelling engines.

Configuration Markup:

<!ELEMENT extension ( engine+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

<!ELEMENT engine EMPTY>

<!ATTLIST engine

class            CDATA #REQUIRED

label            CDATA #IMPLIED

id               CDATA #REQUIRED

default          (true | false)

preferencesClass CDATA #IMPLIED

>

The definition of a spelling engine.


  • class - the class of the engine, which must implement org.eclipse.ui.texteditor.spelling.ISpellingEngine
  • label - the display label for the engine, which will show up in the menu that allows the user to choose the spelling engine
  • id - a string uniquely identifying this engine
  • default - if this flag is set to true, this spelling engine will be installed per default. If multiple engines are installed with the flag set are encountered, the first one is taken.
  • preferencesClass - an implementation of org.eclipse.ui.texteditor.spelling.ISpellingPreferenceBlock

Examples:
The following is an example of a spelling engine definition.


  <extension point=
"org.eclipse.ui.workbench.texteditor.spellingEngine"
>
    <engine
        default=
"true"

        label=
"%defaultSpellingEngine.label"

        class=
"org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"

        id=
"org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"
>
    </engine>
  </extension>

Supplied Implementation:
The org.eclipse.jdt.ui plugin contributes DefaultSpellingEngine. See its implementation as an example.


Copyright (c) 2001, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire