Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.ide.inspector.layout
Class PropertyFormLayoutFactory

java.lang.Object
  extended by oracle.ide.inspector.layout.PropertyFormLayoutFactory

public final class PropertyFormLayoutFactory
extends java.lang.Object

Singleton factory for creating the property form layout element. The PropertyFormLayout element is the entry point to the property layout information controlling the visual display of properties and their property editors.


Method Summary
static void addFormLayoutFactory(FormLayoutFactory factory)
          Add a FormLayoutFactory.
static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(org.xml.sax.InputSource source, java.lang.String extensionID, java.lang.String rsBundleClassName)
          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 PropertyFormLayouts.
static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(org.xml.sax.XMLReader reader, org.xml.sax.InputSource source, java.lang.String extensionID, java.lang.String rsBundleClassName)
          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 PropertyFormLayouts.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addFormLayoutFactory

public static void addFormLayoutFactory(FormLayoutFactory factory)
Add a FormLayoutFactory. A form layout factory knows how to create specific form layout factory implementations.


removeFormLayoutFactory

public static void removeFormLayoutFactory(FormLayoutFactory factory)
Remove a FormLayoutFactory. A form layout factory knows how to create specific form layout factory implementations.


getPropertyFormLayout

public static PropertyFormLayout getPropertyFormLayout(oracle.bali.inspector.PropertyModel propertyModel)
Find or create an instance of the PropertyFormLayout implementation associated with the specified property model.

The instance created is cached.

Parameters:
propertyModel - the property model instance associated with the property form layout requested.
Returns:
an instance of a property form layout implementation when available, null otherwise.

getExternalPropertyFormLayouts

public static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(org.xml.sax.InputSource source,
                                                                                java.lang.String extensionID,
                                                                                java.lang.String rsBundleClassName)
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 PropertyFormLayouts.

Parameters:
source - an InputSource 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.
Returns:
the PropertyFormLayouts declared in the specified "property-inspector-hook" xml fragment.

getExternalPropertyFormLayouts

public static java.util.List<PropertyFormLayout> getExternalPropertyFormLayouts(org.xml.sax.XMLReader reader,
                                                                                org.xml.sax.InputSource source,
                                                                                java.lang.String extensionID,
                                                                                java.lang.String rsBundleClassName)
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 PropertyFormLayouts.

Parameters:
reader - The XMLReader to use to parse, or null to use a default SAX parser.
source - an InputSource 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.
Returns:
the PropertyFormLayouts declared in the specified "property-inspector-hook" xml fragment.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.