In the user interface of an ObjectInspector, single properties are represented by
single lines, and those lines are displayed successively. To determine an order of
the property lines, the inspector model can associate an "order index" with each property.
The ObjectInspector will then sort the property lines in a way that they
have the same relative ordering as the "order indexes" of their properties.
Note that the concrete value the model returns for a given property does not
matter. All what matters is that if you want a certain property Foo
to be displayed after another property Bar
, then the order index
of Foo
should be greater than the order index of Bar
.
If for two different properties the same order index is returned, the
ObjectInspector will assume the order in which those properties
were provided by the respective property handler
(XPropertyHandler::getSupportedProperties).
If two such properties originate from different handlers, they will be ordered according
to the order of the handlers, as provided in the HandlerFactories attribute.