|
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.Object oracle.jdeveloper.db.DatabaseConnectionEditorLauncher
public abstract class DatabaseConnectionEditorLauncher
Class for launching a Database Connection Editor. Used as a delegate by the DatabaseConnectionEditor. If used directly, various defaults can be set by the caller such a default values for connection properties, and the IDE context for determining the connection store.
Nested Class Summary | |
---|---|
static class |
DatabaseConnectionEditorLauncher.StoreChoice
This governs what choice the user has over where new connections are created from the create connection dialog. |
Constructor Summary | |
---|---|
DatabaseConnectionEditorLauncher()
|
Method Summary | |
---|---|
protected java.lang.String |
getConnectionBaseName()
Gets the base name for any connection created by this editor. |
protected Context |
getContext()
|
protected java.util.Properties |
getDefaultProperties()
Gets the default Properties for any connection created by this editor. |
protected DatabaseConnectionEditorLauncher.StoreChoice |
getStoreChoice()
|
ConnectionInfo |
launchEditor(ConnectionInfo info)
|
abstract ConnectionInfo |
launchEditor(DatabaseConnections conns,
java.lang.String connName)
Launches the connection editor. |
java.lang.String |
launchEditor(java.lang.String connName)
Launch the connection editor. |
java.lang.String |
launchEditor(java.lang.String storeName,
java.lang.String connName)
Launch the connection editor on a particular connection store. |
void |
setConnectionBaseName(java.lang.String baseName)
Sets the base name for any connection created by this editor. |
void |
setContext(Context context)
|
void |
setDefautProperties(java.util.Properties props)
Sets the default Properties for any connection created by this editor. |
void |
setStoreChoice(DatabaseConnectionEditorLauncher.StoreChoice choice)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseConnectionEditorLauncher()
Method Detail |
---|
public final void setStoreChoice(DatabaseConnectionEditorLauncher.StoreChoice choice)
protected final DatabaseConnectionEditorLauncher.StoreChoice getStoreChoice()
public final void setContext(Context context)
protected Context getContext()
public final void setDefautProperties(java.util.Properties props)
protected final java.util.Properties getDefaultProperties()
public final void setConnectionBaseName(java.lang.String baseName)
protected java.lang.String getConnectionBaseName()
public final java.lang.String launchEditor(java.lang.String connName)
DatabaseConnectionEditor.ConnectionEditor
launchEditor
in interface DatabaseConnectionEditor.ConnectionEditor
public final java.lang.String launchEditor(java.lang.String storeName, java.lang.String connName)
DatabaseConnectionEditor.ConnectionEditor
launchEditor
in interface DatabaseConnectionEditor.ConnectionEditor
public final ConnectionInfo launchEditor(ConnectionInfo info)
public abstract ConnectionInfo launchEditor(DatabaseConnections conns, java.lang.String connName)
connName
- the name of the connection to edit (or null to create a new
connection).conns
- the connection store that the connection is in, or that is
the default for the new connection. If null the IDE context will be used
to determine the default store.
|
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 |