MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLAllWindowsOperations Class Reference

Detailed Description

This is the TSLAllWindowsOperations class.

This class enables the client application to add all the windows operations and highlight manager to the TSLEditor with a single call.

Static Public Member Functions

static bool add (TSLEditor *editor, TSLWinContextHandler *contextHandler)
 

Member Function Documentation

◆ add()

static bool TSLAllWindowsOperations::add ( TSLEditor * editor,
TSLWinContextHandler * contextHandler )
static

This method adds the operation to a TSLEditor object. It is passed a pointer to the editor object.

Calling this method will also set the default operation to 'winselect'

Arguments list details:

editor: a pointer to the TSLEditor object.

contextHandler: a pointer to a TSLWinContextHandler derived object. This is passed to the add of the TSLWinSelectOperation and is called if the right-mouse button is pressed during the select mode - allowing a context menu to be invoked.

Returns true if added successfully, otherwise false.