Views
Studio Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvStSetMode Class Reference

Command class. More...

#include <ivstudio/mode.h>

Inheritance diagram for IlvStSetMode:
IlvStCommand

Public Member Functions

 IlvStSetMode (const char *name)
 Initializes an instance of IlvStSetMode. More...
 
virtual IlvStErrordoIt (IlvStudio *editor, IlAny arg)
 Selects the current editing mode. More...
 

Detailed Description

Command class.

Library: ivstudio

This command is used to change the current editing mode.

See also
IlvStudio,IlvStError.

Constructor & Destructor Documentation

◆ IlvStSetMode()

IlvStSetMode::IlvStSetMode ( const char *  name)

Initializes an instance of IlvStSetMode.

Parameters
nameThe name of the editing mode.

Member Function Documentation

◆ doIt()

virtual IlvStError* IlvStSetMode::doIt ( IlvStudio editor,
IlAny  arg 
)
virtual

Selects the current editing mode.

Parameters
editorThe Rogue Wave Views Studio editor.
argInternal use.
Returns
null if successfull, otherwise returns an instance of IlvStError.

Implements IlvStCommand.