InspectableRegistry

com.froglogic.squish.extension.InspectableRegistry

Class InspectableRegistry — This class allows registration of factories of extensions that implement Inspectable.

Synopsis

public abstract class com.froglogic.squish.extension.InspectableRegistry {

// Public Constructors
  public InspectableRegistry();

// Public Static Methods
  public static final com.froglogic.squish.extension.InspectableRegistry getRegistry();
  public static final void setRegistry(com.froglogic.squish.extension.InspectableRegistry r);

// Public Methods
  public abstract com.froglogic.squish.extension.Inspectable getInspectable(java.lang.Object obj);
  public abstract void register(com.froglogic.squish.extension.InspectableFactory factory);
}

Methods inherited from java.lang.Object: clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Description

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.

See Also: com.froglogic.squish.extension.InspectableFactory, com.froglogic.squish.extension.Inspectable

Methods

getInspectable(Object)

public abstract com.froglogic.squish.extension.Inspectable getInspectable(java.lang.Object obj);

Parameters
objthe object
returnAn Inspectable for this object obj, or null if non found

Get Inspectable that for an object.

getRegistry()

public static final com.froglogic.squish.extension.InspectableRegistry getRegistry();

Parameters
returnThe global registry

Get global registry.

register(InspectableFactory)

public abstract void register(com.froglogic.squish.extension.InspectableFactory factory);

Parameters
factorythe factory to register

Register the factory in the registry.

setRegistry(InspectableRegistry)

public static final void setRegistry(com.froglogic.squish.extension.InspectableRegistry r);

Set global registry.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.