Class InspectableRegistry — This class allows registration of factories of extensions that implement Inspectable.
public abstract class com.froglogic.squish.extension.InspectableRegistry {
// Public Constructorspublic InspectableRegistry();
// Public Static Methodspublic static final InspectableRegistry getRegistry();public static final void setRegistry(InspectableRegistry r);
// Public Methodspublic abstract Inspectable getInspectable(Object obj);public abstract void register(InspectableFactory factory);
}
This class allows registration of factories of extensions that implement Inspectable. It is meant to be implemented inside Squish, and used as part of the extension API in init.
public abstract Inspectable getInspectable(Object obj);Parameters
obj
the object
An Inspectable for this object obj, or null if non found
Get Inspectable that for an object.
public static final InspectableRegistry getRegistry();Parameters
The global registry
Get global registry.