Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.command
Interface UpdateHandler


public interface UpdateHandler

UpdateHandlers decide when actions are enabled or disabled based on a context.


Method Summary
 boolean update(IDEAction action, Context context)
          Update the specified action based on the specified context.

 

Method Detail

update

boolean update(IDEAction action,
               Context context)
Update the specified action based on the specified context. Typically an implementation will evaluate the context and enable or disable the action using IDEAction.setEnabled( boolean ).
Parameters:
action - the action to update.
context - the context to use for the update.
Returns:
true if this handler changed the state of the action.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


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