Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.command
Interface UpdateHandler  view UpdateHandler download UpdateHandler.java

All Known Implementing Classes:
Controller.NullUpdateHandler

public interface UpdateHandler

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


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

Method Detail

update

public boolean update(javax.ide.menu.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 )>IDEAction.setEnabled( boolean ) 55 .