|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
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(oracle.javatools.db.property.Property prop)
Returns a displayable (translated) name for the given property. |
static java.lang.String |
getDisplayName(oracle.javatools.db.property.Property prop,
DBObjectProvider pro,
DBObject obj)
Returns a displayable (translated) name for the given property in the context of the given provider. |
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(oracle.javatools.db.property.Property prop,
java.lang.String value)
Returns a displayable (translated) name for the given property value. |
static java.lang.String |
getPropValueDisplay(java.lang.String propName,
java.lang.String 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(oracle.javatools.db.property.Property prop)
public static final java.lang.String getDisplayName(oracle.javatools.db.property.Property prop, DBObjectProvider pro, DBObject obj)
propName
- the property name to look uppro
- the DBObjectProvider implementationobj
- the object the property is onpublic 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 onpublic static final java.lang.String getPropValueDisplay(oracle.javatools.db.property.Property prop, java.lang.String value)
public static final java.lang.String getPropValueDisplay(java.lang.String propName, java.lang.String 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)
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.Plugin
public boolean unregisterPlugin(PropertyDisplayRegistry.Plugin plugin)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |