public class AppDatabaseConnectionEditor
extends java.lang.Object
DatabaseConnectionEditor because it includes the Context and understands Applications.
To create a custom launcher on which defaults can be changed, use DatabaseConnectionEditor.createLauncher()
| Modifier and Type | Method and Description | 
|---|---|
static DatabaseConnectionEditorLauncher | 
createLauncher(Context context)
Creates a new launcher for creating/editing connections that, by default, will only create connections in the current application. 
 | 
static java.lang.String | 
editConnection(java.lang.String connName)
Launches the connection editor to create or edit a connection in the current application. 
 | 
static java.lang.String | 
editConnection(java.lang.String connName, Context context)
Launches the connection editor to create or edit a connection in the current application 
 | 
static java.lang.String | 
editConnection(java.lang.String connName, Context context, boolean forceStore)
Launches the connection editor to create/edit a connection in the current application. 
 | 
public static DatabaseConnectionEditorLauncher createLauncher(Context context)
context - the IDE context containing the applicationjava.lang.IllegalStateException - if the given context contains no application.public static java.lang.String editConnection(java.lang.String connName)
connName - the name of the connection to edit, or null to create a new connection.
public static java.lang.String editConnection(java.lang.String connName,
                              Context context)
connName - the name of the connection to edit, or null to create a new connection.context - the IDE Context to use to determine the application (Workspace)
public static java.lang.String editConnection(java.lang.String connName,
                              Context context,
                              boolean forceStore)
context - the IDE Context to use to determine the application (Workspace)forceStore - whether to force the user to create a new connection in the current connection store only (e.g. restrict to only create in app resources. If this is false care should be taken interpreting the returned new connection name.