Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.jdevimpl.audit.core
Class AuditController

java.lang.Object
  extended by oracle.jdevimpl.audit.core.AuditController

All Implemented Interfaces:
Controller

public class AuditController
extends java.lang.Object
implements Controller

The controller and context menu listener for Audit actions.


Field Summary

 

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

 

Method Summary
static AuditController createController(IdeAction action)
           
 java.lang.String getBaseLabel()
           
 ModelTypeFactory getFactory()
           
 java.lang.String getMultipleSelectionLabel()
           
 java.lang.String getSingleSelectionLabel()
           
 boolean handleEvent(IdeAction action, Context context)
          This method is called when a user interaction with a View triggers the execution of a command.
protected  boolean isRunnable(java.lang.String label)
           
 void setMultipleSelectionLabel(java.lang.String multipleSelectionLabel)
           
 void setSingleSelectionLabel(java.lang.String singleSelectionLabel)
           
 java.lang.String toString()
           
 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, wait, wait, wait

 

Method Detail

createController

public static AuditController createController(IdeAction action)

getBaseLabel

public java.lang.String getBaseLabel()

getSingleSelectionLabel

public java.lang.String getSingleSelectionLabel()

setSingleSelectionLabel

public void setSingleSelectionLabel(java.lang.String singleSelectionLabel)

getMultipleSelectionLabel

public java.lang.String getMultipleSelectionLabel()

setMultipleSelectionLabel

public void setMultipleSelectionLabel(java.lang.String multipleSelectionLabel)

getFactory

public ModelTypeFactory getFactory()

isRunnable

protected boolean isRunnable(java.lang.String label)

update

public boolean update(IdeAction action,
                      Context context)
This method updates the enabled status of the specified action within the specified context. It should generally be called on the controller associated with the active view to allow that controller to take the first crack at determining its enabled status. If that controller wants to update its enabled status, it does so and returns true to indicate that further controllers do not need to be consulted. If the controller does not deal with setting the enabled status of an action, it delegates the request to its supervising controller, all the way up to the Ide. The Ide has a special implementation of update(xx) that further delegates the request to root controllers, until one of them returns true indicating the request was handled by the controller.

Updates the state of an Audit action to reflect the context.

Specified by:
update in interface Controller
Parameters:
action - action whose command is to be executed.
context - the current context
Returns:
true if the controller handles the specified command.

handleEvent

public boolean handleEvent(IdeAction action,
                           Context context)
This method is called when a user interaction with a View triggers the execution of a command.

Executes an Audit action in the current context.

Specified by:
handleEvent in interface Controller
Parameters:
action - action whose command is to be executed.
Returns:
true if the controller handles the specified command.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.