MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand Class Reference


Detailed Description

This command changes the sort strategy of SceneMaterialExplorer.

Inheritance diagram for MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

override void  Execute ()
  When called, set the sort strategy to target sort strategy.
override bool  IsValid ()
  Tell whether the command is valid to be called.

Static Public Member Functions

static ChangeSortStrategyCommand  Create (String name, SceneMaterialSortStrategy targetSortStrategy)
  Creates a new ChangeSortStrategyCommand.

Protected Member Functions

override bool  IsChecked ()
  Get the internal check state of the command.

Properties

override string  Name [get]
  This Command's internationalized name.
override Explorer  Explorer [get, set]
  The Explorer on which this Command will operate and access data.

Member Function Documentation

static ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Create ( String  name,
SceneMaterialSortStrategy  targetSortStrategy 
) [inline, static]

Creates a new ChangeSortStrategyCommand.

Parameters:
name The name of the command.
targetSortStrategy The target sort strategy.
Returns:
The resultant command.
override void MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Execute ( ) [inline]

When called, set the sort strategy to target sort strategy.

override bool MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::IsValid ( ) [inline]

Tell whether the command is valid to be called.

Returns:
Always true.

Reimplemented from MaxCustomControls::CommandSystem::StubCommand.

override bool MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::IsChecked ( ) [inline, protected, virtual]

Get the internal check state of the command.

Implements MaxCustomControls::CommandSystem::CheckableCommand.


Property Documentation

override string MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Name [get]

This Command's internationalized name.

override Explorer MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Explorer [get, set]

The Explorer on which this Command will operate and access data.

Reimplemented from MaxCustomControls::CommandSystem::CheckableCommand.


MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand
MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand