WebObjects 5.4

com.webobjects.eoapplication
Interface EOAction.Enabling

All Known Implementing Classes:
com.webobjects.eogeneration.assistant._EOEditorExplanation, com.webobjects.eogeneration.assistant._EOEditorSelectionValueCustomizer, com.webobjects.eogeneration.assistant._EOEditorStringAddition, com.webobjects.eogeneration.assistant._EOEditorStringList, com.webobjects.eogeneration.assistant._EOEditorStringSelector, com.webobjects.eogeneration.assistant._EOEditorStringValueCustomizer, com.webobjects.eogeneration.assistant._EOEditorValueCustomizer, EOActionButtonsController, EOActionController, EOActionMenuController, EOActionTrigger, EOActionWidgetController, EOAppletController, EOApplication, EOArchiveController, EOAssistant, EOAssociationController, EOBoxController, EOCheckBoxController, EOComboBoxController, EOComponentController, EOController, EODefaultActionTrigger, EODetailSelectionController, EODialogController, EODisplayStatisticsController, EODocumentController, EODynamicApplication, EOEditingController, EOEntitiesEditor, EOEntityController, EOEnumerationController, EOFormatValueController, EOFormController, EOFrameController, EOImageViewController, EOInspectorController, EOInterfaceController, EOListController, EOMenuSwitchController, EOMiscellaneousEditor, EOModalDialogController, EOMultipleValuesEnumerationController, EOOneValueEnumerationController, EOProgrammaticSwitchController, EOPropertiesEditor, EOQueryController, EOQuickTimeViewController, EORangeTextFieldController, EORangeValueController, EORangeWidgetController, EOSimpleWindowController, EOSplitController, EOStaticIconController, EOStaticLabelController, EOStaticTextFieldController, EOSwitchController, EOTableColumnController, EOTableController, EOTabSwitchController, EOTextAreaController, EOTextFieldController, EOTitlesController, EOTreeController, EOUserInterfaceParametersEditor, EOValueAndURLController, EOValueController, EOWidgetController, EOWidgetParametersEditor, EOWindowController, EOWindowObserver, EOWindowParametersEditor, EOXMLEditor
Enclosing class:
EOAction

public static interface EOAction.Enabling

The EOAction.Enabling interface defines a method, canPerformActionNamed, which allows an action receiver to specify if an action (sent by an EOAction object) is enabled for the receiver.


Method Summary
 boolean canPerformActionNamed(String actionName)
          Returns true if the receiver can perform the action method (sent by an EOAction object) named actionName, false otherwise.
 

Method Detail

canPerformActionNamed

boolean canPerformActionNamed(String actionName)
Returns true if the receiver can perform the action method (sent by an EOAction object) named actionName, false otherwise. An EOController's implementation of this method generally returns false if the receiver doesn't have an action named actionName or if the actionName action is explicitly disabled.

Parameters:
actionName - the name of the EOAction
Returns:
true if the receiver can perform the action; false otherwise

Last updated Tuesday, October 9, 2007 08:58 PDT

Copyright © 2000-2007 Apple Inc.