All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.formedit.FormHelperRegistry

java.lang.Object
   |
   +----w3c.jigsaw.formedit.FormHelperRegistry

public class FormHelperRegistry
extends Object
The form help registery keeps track of the helper editors.


Constructor Index

 o FormHelperRegistry()

Method Index

 o getHelper(Resource)
Look for a help object to edit the given resource.
 o registerHelper(String, String)
Register a helper editor for the given class.

Constructors

 o FormHelperRegistry
 public FormHelperRegistry()

Methods

 o registerHelper
 public static synchronized void registerHelper(String cls,
                                                String helper)
Register a helper editor for the given class.

Parameters:
cls - The class you wich to define a helper for.
helper - The editor helper (wich must conform to the FormEditorHelper interface).
 o getHelper
 public static synchronized FormEditorHelper getHelper(Resource resource)
Look for a help object to edit the given resource.

Parameters:
resource - The resource to be edited.
Returns:
An initialized FormEditorHelper instance, or null if none was found.

All Packages  Class Hierarchy  This Package  Previous  Next  Index