| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.db.PropertyDisplayRegistry
public final class PropertyDisplayRegistry
Registry of displayable Strings for properties and property values.
| Nested Class Summary | |
|---|---|
static class | 
PropertyDisplayRegistry.Plugin
This class facilitates the PropertyDisplayRegistry's extensibility.  | 
| Method Summary | |
|---|---|
static java.lang.String | 
getDisplayName(java.lang.String propName)
Returns a displayable (translated) name for the given property.  | 
static java.lang.String | 
getDisplayName(java.lang.String propName,
               DBObjectProvider pro,
               DBObject obj)
Returns a displayable (translated) name for the given property in the context of the given provider.  | 
static PropertyDisplayRegistry | 
getInstance()
 | 
static java.lang.String | 
getPropValueDisplay(java.lang.String propName,
                    java.lang.Object value)
Returns a displayable (translated) name for the given property value.  | 
 void | 
registerBundle(java.util.ResourceBundle bundle)
Registers a bundle of diplay names.  | 
 void | 
registerDisplayName(java.lang.String propName,
                    java.lang.String displayName)
Deprecated.  | 
 void | 
registerPlugin(PropertyDisplayRegistry.Plugin plugin)
Registers a new plugin to this registry that provides display names for properties.  | 
 boolean | 
unregisterBundle(java.util.ResourceBundle bundle)
Unregisters the given bundle of display names.  | 
 boolean | 
unregisterPlugin(PropertyDisplayRegistry.Plugin plugin)
Unregisters the given registry plugin.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static PropertyDisplayRegistry getInstance()
public static final java.lang.String getDisplayName(java.lang.String propName)
public static final java.lang.String getDisplayName(java.lang.String propName,
                                                    DBObjectProvider pro,
                                                    DBObject obj)
propName - the property name to look uppro - the DBObjectProvider implementationobj - the object the property is on
public static final java.lang.String getPropValueDisplay(java.lang.String propName,
                                                         java.lang.Object value)
propName - the name of the property (single name only, not a property
 path).value - the property value
public void registerBundle(java.util.ResourceBundle bundle)
When registering new properties, ensure they are included in the API metadata if appropriate.
bundle - the bundle of names to register.Metadata.registerProperty(java.lang.String, java.lang.Class, java.lang.Class extends oracle.javatools.db.DBObjectProvider>, java.lang.Class extends oracle.javatools.db.DBObject>...)public boolean unregisterBundle(java.util.ResourceBundle bundle)
@Deprecated
public void registerDisplayName(java.lang.String propName,
                                           java.lang.String displayName)
When registering new properties, ensure they are included in the API metadata if appropriate.
Metadata.registerProperty(java.lang.String, java.lang.Class, java.lang.Class extends oracle.javatools.db.DBObjectProvider>, java.lang.Class extends oracle.javatools.db.DBObject>...)public void registerPlugin(PropertyDisplayRegistry.Plugin plugin)
PropertyDisplayRegistry.Pluginpublic boolean unregisterPlugin(PropertyDisplayRegistry.Plugin plugin)
registerPlugin. Plugins that
 are registered via extension.xmls are not removeable.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||