|
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.DatabaseActions
public class DatabaseActions
Actions specific to databases for use in the IDE.
Field Summary | |
---|---|
static java.lang.String |
CONNECTION_STORE
Key for the name of the current connection store. |
static java.lang.String |
EDIT_CONNECTION
Key for the name of the connection to edit. |
Fields inherited from interface oracle.ide.controller.Controller |
---|
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED |
Constructor Summary | |
---|---|
protected |
DatabaseActions()
|
Method Summary | |
---|---|
static IdeAction |
getConnectionEditorAction()
Gets the IdeAction for invoking the connection editor. |
static IdeAction |
getDisconnectAction()
|
protected void |
handleConnectionEditor(java.lang.String storeName,
java.lang.String name,
Context c)
|
protected boolean |
handleDisconnect(Context context)
|
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a View
triggers the execution of a command. |
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the specified context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EDIT_CONNECTION
getConnectionEditorAction()
,
Constant Field Valuespublic static final java.lang.String CONNECTION_STORE
DatabaseConnectionStores.getInstance().getCurrentStore()
will
be used to determine the appropriate store.
Constructor Detail |
---|
protected DatabaseActions()
Method Detail |
---|
public static IdeAction getConnectionEditorAction()
EDIT_CONNECTION
key that connection
name will be preselected in the editor (if it exists).
public static IdeAction getDisconnectAction()
public boolean handleEvent(IdeAction action, Context context)
Controller
View
triggers the execution of a command.
handleEvent
in interface Controller
action
- action whose command is to be executed.
protected boolean handleDisconnect(Context context)
protected void handleConnectionEditor(java.lang.String storeName, java.lang.String name, Context c)
public boolean update(IdeAction action, Context context)
Controller
update
in interface Controller
action
- action whose command is to be executed.context
- the current context
|
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 |