Type info
Title css.inspection.ObjectInspector
Posted by [EMAIL PROTECTED]
Affected [EMAIL PROTECTED],-
Effective from 680m160


Summary

+ com.sun.star.inspection
+ com.sun.star.inspection.ObjectInspector
(and friends)


Description
The "property browser", ans known from the Dialog IDE, and from
changing the properties of form controls, is available as customizable
UNO component.

The new service css.inspection.ObjectInspector service can be used to
inspect arbitrary UNO components (in the sense of: display an UI for
the user to read/write various aspects of this component). It can be
customized by providing a dedicated set of property handlers, which
tell the inspector about misc. facets of the component.

Citing from the IDL documentation (which is where you're referred to
for further questions :) :

Service ObjectInspector
describes an ::com::sun::star::frame::Controller which can be used to
browse and modify properties of components.

The controller can be plugged into an ::com::sun::star::frame::XFrame
, and will provide a visual component for inspecting and modifying
component properties.
Note that "property" here is a generic term - any aspect of a
component can be considered a property, as long as some property
handler is able to describe this aspect in a property-like way.

The basic idea is that one facet of the inspected component is
represented by a single line of controls: A label, an input control,
and optionally one or two buttons which, when pressed, trigger
additional user interaction (e.g. a more sophisticated dialog to enter
a property value).

Additionally, property lines can be grouped into different categories.
A usual implementation of such categories would be tab pages, but
other implementations are possible, too.

An ObjectInspector needs one or more property handlers which describe
the facets of an inspected component - without such handlers, the
inspector window will simply stay empty.

The property handlers, as well as more information about the layout of
the inspector, are provided by a inspector model, which has to be
implemented by the user of the inspector.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to