com.swabunga.spell.jedit
Class JazzyPlugin

java.lang.Object
  extended byEditPlugin
      extended bycom.swabunga.spell.jedit.JazzyPlugin

public class JazzyPlugin
extends EditPlugin

See Also:
Serialized Form

Field Summary
static java.lang.String PLUGIN_NAME
           
static java.lang.String SPELL_CHECK_ACTIONS
           
 
Constructor Summary
JazzyPlugin()
           
 
Method Summary
 void createMenuItems(java.util.Vector menuItems)
          Method called every time a view is created to set up the Plugins menu.
 void createOptionPanes(OptionsDialog optionsDialog)
          Method called every time the plugin options dialog box is displayed.
static JazzySpellCheck newSpellChecker()
           
static void resetSpellChecker()
           
static void showJazzyDialog(View view)
          Displays the spell checker dialog box.
 void start()
          Method called by jEdit to initialize the plugin.
static void unloadDictionary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_NAME

public static final java.lang.String PLUGIN_NAME
See Also:
Constant Field Values

SPELL_CHECK_ACTIONS

public static final java.lang.String SPELL_CHECK_ACTIONS
See Also:
Constant Field Values
Constructor Detail

JazzyPlugin

public JazzyPlugin()
Method Detail

createMenuItems

public void createMenuItems(java.util.Vector menuItems)
Method called every time a view is created to set up the Plugins menu. Menus and menu items should be loaded using the methods in the GUIUtilities class, and added to the list.

Parameters:
menuItems - Add menuitems here

createOptionPanes

public void createOptionPanes(OptionsDialog optionsDialog)
Method called every time the plugin options dialog box is displayed. Any option panes created by the plugin should be added here.

Parameters:
optionsDialog - The plugin options dialog box
See Also:
JazzyOptionPane, OptionsDialog#addOptionPane(OptionPane)

showJazzyDialog

public static void showJazzyDialog(View view)
Displays the spell checker dialog box. This method is called by the spell-check action, defined in actions.xml.

Parameters:
view - the current view.

start

public void start()
Method called by jEdit to initialize the plugin.


unloadDictionary

public static void unloadDictionary()

resetSpellChecker

public static void resetSpellChecker()

newSpellChecker

public static JazzySpellCheck newSpellChecker()