Package cz.cuni.pogamut.introspection

Introspection package uses Proxy design pattern paradigm.

See:
          Description

Interface Summary
Introspectable All objects that want to provide hierarchical view of their structure to the IDE must implement this interface.
IntrospectableProxy Interface for introspection of internal properties of object.
IntrospectableProxyChangeListener  
Property Interface for property models.
 

Class Summary
DefaultIntrospectableProxy<T> This is wrapper class for introspectable objects.
DummyClass Used to mark unsupported classes of introspection objects.
IntrospectableProxyUnion Union of properties and children of two introspectable proxies.
ScriptProxy Interface for all IntrospectableProxies of ScriptEngines
ScriptProxyFactory Factory class for ScriptProxy objects.
ScriptProxyManager SPI manager for getting ScriptProxies for ScriptEngines.
ScriptProxyManager.EmptyProxy Introspection proxy doing nothing.
 

Annotation Types Summary
PogProp Annotation denoting introspectable property of an agent.
 

Package cz.cuni.pogamut.introspection Description

Introspection package uses Proxy design pattern paradigm. If you want to introspect internal properties of some object follow these instructions.

  1. Our object has to implement Introspectable interface. Ths interface has only one method returning IntrospectableProxy representing this object.
  2. Implement our own subclass of Property interface, example of property using Java Reflection is JavaProperty.
  3. Implement IntrospectableProxy interface (DefaultIntrospectableProxy is recommnded option). Example of such implementation is JavaReflectionProxy
If you want to supply custom property editor then implement stadart java.beans.PropertyEditor (or preferably java.beans.PropertyEditorSupport) and register it through java.beans.PropertyEditorManager. Each type of property can have multiple editors, user can choose among them.