org.progeeks.util
Interface ViewContextAware

All Known Implementing Classes:
AbstractContextAction, AbstractFocusedContextAction, ActionList, ActionListGroup, CheckBoxActionGroup, CompositeContextAction, LookAndFeelActions

public interface ViewContextAware

Represents an object that can be aware of the context within which it is operating. This is useful for doing things like targetting menus to specific context-sensitive objects, etc. without breaking the menu action organization.

Version:
$Revision: 1.1 $
Author:
Paul Speed

Method Summary
 ViewContext getViewContext()
          Returns the view context for this object.
 void setViewContext(ViewContext context)
          Sets the view context for this object.
 

Method Detail

setViewContext

void setViewContext(ViewContext context)
Sets the view context for this object.


getViewContext

ViewContext getViewContext()
Returns the view context for this object.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.