| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.db.StoreProvider
public abstract class StoreProvider
Class for store providers to extend. All store names must be unique to the store provider - otherwise duplicate store names will appear in a list and a getStore may not return the expected store. It is up to the writer of the StoreProvider to ensure that their store names are unique to them.
| Constructor Summary | |
|---|---|
StoreProvider()
 | 
|
| Method Summary | |
|---|---|
protected  java.lang.String | 
getCurrentConnection(Context ideContext)
If getCurrentStore(oracle.ide.Context) returns a value then this method returns the
 current connection in the store (if there is a current connection). | 
protected  java.lang.String | 
getCurrentStore(Context ideContext)
If the current Context contains a store that this provider is responsible for then calling this method should return the store name.  | 
 javax.swing.Icon | 
getIcon(java.lang.String storeName)
 | 
 java.lang.String | 
getShortLabel(java.lang.String storeName)
 | 
abstract  DatabaseConnections | 
getStore(java.lang.String storeName)
 | 
 java.lang.String | 
getToolTipText(java.lang.String storeName)
 | 
abstract  java.util.Collection<java.lang.String> | 
listStores()
 | 
protected  void | 
storeAdded(java.lang.String storeName)
 | 
protected  void | 
storeRemoved(java.lang.String storeName)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public StoreProvider()
| Method Detail | 
|---|
public abstract java.util.Collection<java.lang.String> listStores()
public abstract DatabaseConnections getStore(java.lang.String storeName)
public java.lang.String getShortLabel(java.lang.String storeName)
public javax.swing.Icon getIcon(java.lang.String storeName)
public java.lang.String getToolTipText(java.lang.String storeName)
protected java.lang.String getCurrentStore(Context ideContext)
protected java.lang.String getCurrentConnection(Context ideContext)
getCurrentStore(oracle.ide.Context) returns a value then this method returns the
 current connection in the store (if there is a current connection).
protected final void storeAdded(java.lang.String storeName)
protected final void storeRemoved(java.lang.String storeName)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||