MaxCustomControls::CommandSystem::ChangeExpandStateOperation Class Reference


Detailed Description

This class can be used to collapse or expand a set of tree list nodes which satisfy a specific condition.

List of all members.

Public Member Functions

  ChangeExpandStateOperation (Predicate< TraversalNode > predicate, bool expand)
  Constructor.
override void  Execute (TreeListNode node)
  Execute the operation on a tree list node.

Properties

DataFacade  DataFacade [get, set]
  The datafacade, used for obtaining TraversalNode from a TreeListNode.

Constructor & Destructor Documentation

MaxCustomControls::CommandSystem::ChangeExpandStateOperation::ChangeExpandStateOperation ( Predicate< TraversalNode >  predicate,
bool  expand 
) [inline]

Constructor.

Parameters:
predicate The condition. The a node satisfy this condition, the node will be collapsed or expanded.
expand Expand or collapse the node?

Member Function Documentation

override void MaxCustomControls::CommandSystem::ChangeExpandStateOperation::Execute ( TreeListNode  node ) [inline]

Execute the operation on a tree list node.

Parameters:
node The given tree list node.

Property Documentation

DataFacade MaxCustomControls::CommandSystem::ChangeExpandStateOperation::DataFacade [get, set]

The datafacade, used for obtaining TraversalNode from a TreeListNode.


MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation
MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation MaxCustomControls::CommandSystem::ChangeExpandStateOperation