org.eodisp.ui.common.actions
Interface ActionSourceProvider

All Known Implementing Classes:
EodispMainFrame, MmFederatesView, MmMainFrame, RmCategoriesView, RmMainFrame, RmModelManagersView, RmSimManagersView, RmSomsView, SmErrorView, SmExpTreeView, SmMainFrame, SMPropertySheetView

public interface ActionSourceProvider

This interface should be implemented by components which support the registration of EodispActions. Usually, components which support this are of type EodispView.

Version:
$Id:ActionSourceProvider.java 2134 2006-05-16 08:43:27Z eglimi $
Author:
eglimi

Method Summary
 void registerActions()
          Registers all actions defined by this component in the EodispActionRegistry for further usage.
 void updateRegistrations()
          This is used to update the enable state of actions registered by the implementing component.
 

Method Detail

registerActions

void registerActions()
Registers all actions defined by this component in the EodispActionRegistry for further usage.


updateRegistrations

void updateRegistrations()
This is used to update the enable state of actions registered by the implementing component.

New components should not be added here, but always with the registerActions() method.

For actions that should be added/removed to the menus at runtime, implement the DynamicActionSourceProvider interface.