class Phrase_SetInfo

Set TSE3::Phrase info Command. More...

Full nameTSE3::Cmd::Phrase_SetInfo
Definition#include <Phrase.h>
InheritsTSE3::Cmd::Command [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Command to set a TSE3::Phrase's info (the title and its TSE3::DisplayParams setup).

If the TSE3::Phrase is parented in a TSE3::PhraseList and you change the title to an invalid name, then the exception generated by TSE3::PhraseList::insert() will be propragated back to you.

See also: Command

 Phrase_SetInfo (TSE3::Phrase *phrase, const std::string &title, const TSE3::DisplayParams &dp)

Phrase_SetInfo

To create this command specify the TSE3::Track object to alter and the new information.

If the TSE3::Phrase is not parented, or the new title already exists in the PhraseList, then a PhraseListError is thrown.

Parameters:
phraseTSE3::Phrase to run command on
titleNew title string (or "" to leave title)
dpNew TSE3::DisplayParams

Throws: PhraseListError

void  executeImpl ()

executeImpl

[protected virtual]

Reimplemented from Command for internal purposes..

void  undoImpl ()

undoImpl

[protected virtual]

Reimplemented from Command for internal purposes..