| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.ide.db.PropertyDisplayRegistry
public final class PropertyDisplayRegistry
Registry of displayable Strings for properties and property values.
| Nested Class Summary | |
|---|---|
static class | 
PropertyDisplayRegistry.PluginThis 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)Registers a display name for the given property name.  | 
 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 valuepublic 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)
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)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||