org.gjt.sp.jedit.syntax
Class ModeProvider

java.lang.Object
  extended by org.gjt.sp.jedit.syntax.ModeProvider

public class ModeProvider
extends java.lang.Object

Since:
jEdit 4.3pre10

Field Summary
static ModeProvider instance
           
 
Method Summary
 void addMode(Mode mode)
          Do not call this method.
 Mode getMode(java.lang.String name)
          Returns the edit mode with the specified name.
 Mode[] getModes()
          Returns an array of installed edit modes.
 void loadMode(Mode mode)
           
 void loadMode(Mode mode, XModeHandler xmh)
           
 void removeAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final ModeProvider instance
Method Detail

removeAll

public void removeAll()

getMode

public Mode getMode(java.lang.String name)
Returns the edit mode with the specified name.

Parameters:
name - The edit mode
Since:
jEdit 4.3pre10

getModes

public Mode[] getModes()
Returns an array of installed edit modes.

Since:
jEdit 4.3pre10

addMode

public void addMode(Mode mode)
Do not call this method. It is only public so that classes in the org.gjt.sp.jedit.syntax package can access it.

Parameters:
mode - The edit mode
Since:
jEdit 4.3pre10

loadMode

public void loadMode(Mode mode,
                     XModeHandler xmh)

loadMode

public void loadMode(Mode mode)