public final class PropertyFormLayoutFactory
extends java.lang.Object
PropertyFormLayout
element is the entry point to the property
layout information controlling the visual display of properties and
their property editors.Modifier and Type | Method and Description |
---|---|
static void |
addFormLayoutFactory(FormLayoutFactory factory)
Add a
FormLayoutFactory . |
static java.util.List<PropertyFormLayout> |
getExternalPropertyFormLayouts(java.lang.String url,
java.lang.String extensionID,
java.lang.String rsBundleClassName,
java.lang.ClassLoader classLoader)
Given an
InputSource to a "property-inspector-hook" xml fragment
external to an extension manifest, process the hook information using
this hook handler and return the newly declared
PropertyFormLayout s. |
static java.util.List<PropertyFormLayout> |
getExternalPropertyFormLayouts(org.xml.sax.XMLReader reader,
java.lang.String url,
java.lang.String extensionID,
java.lang.String rsBundleClassName,
java.lang.ClassLoader classLoader)
Given an
InputSource to a "property-inspector-hook" xml fragment
external to an extension manifest, process the hook information using
this hook handler and return the newly declared
PropertyFormLayout s. |
static PropertyFormLayout |
getPropertyFormLayout(oracle.bali.inspector.PropertyModel propertyModel)
Find or create an instance of the
PropertyFormLayout implementation
associated with the specified property model. |
static void |
removeFormLayoutFactory(FormLayoutFactory factory)
Remove a
FormLayoutFactory . |
public static void addFormLayoutFactory(FormLayoutFactory factory)
FormLayoutFactory
. A form layout factory knows how
to create specific form layout factory implementations.public static void removeFormLayoutFactory(FormLayoutFactory factory)
FormLayoutFactory
. A form layout factory knows how
to create specific form layout factory implementations.public static PropertyFormLayout getPropertyFormLayout(oracle.bali.inspector.PropertyModel propertyModel)
PropertyFormLayout
implementation
associated with the specified property model.
The instance created is cached.
propertyModel
- the property model instance associated with the
property form layout requested.null
otherwise.public static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(java.lang.String url, java.lang.String extensionID, java.lang.String rsBundleClassName, java.lang.ClassLoader classLoader)
InputSource
to a "property-inspector-hook" xml fragment
external to an extension manifest, process the hook information using
this hook handler and return the newly declared
PropertyFormLayout
s.url
- an String
to a "property-inspector-hook" xml
fragment.extensionID
- a valid extension ID. Generally, the ID of the extension
that is requesting the processing of the external property inspector hook.rsBundleClassName
- the name of the resource bundle class or resource
properties file. The name must be in the scope of the identified extension
classpath.PropertyFormLayout
s declared in the specified
"property-inspector-hook" xml fragment.public static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(org.xml.sax.XMLReader reader, java.lang.String url, java.lang.String extensionID, java.lang.String rsBundleClassName, java.lang.ClassLoader classLoader)
InputSource
to a "property-inspector-hook" xml fragment
external to an extension manifest, process the hook information using
this hook handler and return the newly declared
PropertyFormLayout
s.reader
- The XMLReader
to use to parse, or null to use a default SAX parser.url
- an String
to a "property-inspector-hook" xml
fragment.extensionID
- a valid extension ID. Generally, the ID of the extension
that is requesting the processing of the external property inspector hook.rsBundleClassName
- the name of the resource bundle class or resource
properties file. The name must be in the scope of the identified extension
classpath.PropertyFormLayout
s declared in the specified
"property-inspector-hook" xml fragment.