Module jEdit

Class ServiceManager.ServiceFoldHandlerProvider

java.lang.Object
org.gjt.sp.jedit.ServiceManager.ServiceFoldHandlerProvider
All Implemented Interfaces:
FoldHandlerProvider
Enclosing class:
ServiceManager

public static class ServiceManager.ServiceFoldHandlerProvider extends Object implements FoldHandlerProvider
A FoldHandler based on the ServiceManager
Since:
jEdit 4.3pre10
Author:
Matthieu Casanova
  • Field Details

  • Constructor Details

    • ServiceFoldHandlerProvider

      public ServiceFoldHandlerProvider()
  • Method Details

    • getFoldHandler

      public FoldHandler getFoldHandler(String name)
      Returns the fold handler with the specified name, or null if there is no registered handler with that name.
      Specified by:
      getFoldHandler in interface FoldHandlerProvider
      Parameters:
      name - The name of the desired fold handler
      Returns:
      the FoldHandler or null if it doesn't exist
      Since:
      jEdit 4.3pre10
    • getFoldModes

      public String[] getFoldModes()
      Returns an array containing the names of all registered fold handlers.
      Specified by:
      getFoldModes in interface FoldHandlerProvider
      Since:
      jEdit 4.3pre10