Verovio
Source code documentation
vrv::EditorToolkit Class Referenceabstract
Inheritance diagram for vrv::EditorToolkit:
vrv::EditorToolkitNeume vrv::EditorToolkitShared vrv::EditorToolkitCMN vrv::EditorToolkitMensural

Public Member Functions

 EditorToolkit (Doc *doc, View *view)
 
virtual bool ParseEditorAction (const std::string &json_editorAction)=0
 In child classes, this parses the provided editor action and then performs the correct action.
 
virtual std::string EditStatus ()
 Get status of the editor (undo, selection, etc.)
 
virtual std::string EditResponse ()
 Get response on the last editor function used.
 
void OptionsChanged ()
 Increase the option change count.
 

Protected Member Functions

void ResetSelect ()
 
bool AppendChild (std::string &elementId, const std::string &elementName, bool unique)
 
bool InsertBefore (std::string &elementId, const std::string &elementName)
 
bool InsertAfter (std::string &elementId, const std::string &elementName)
 
ObjectGetElement (const std::string &elementId)
 
ObjectPrepareInsertion (Object *parent, const std::string &elementName)
 
ObjectResolveElement (std::string &elementId, bool chain=true)
 
bool InsertMode () const
 

Protected Attributes

std::string m_chainedId
 
std::string m_selectionId
 
ClassId m_selectionClassId
 
std::string m_selectionSecondaryId
 
Cursorm_cursor
 
Docm_doc
 
Viewm_view
 
jsonxx::Object m_editStatus
 
jsonxx::Object m_editResponse
 
int m_options
 Record option changes

 

The documentation for this class was generated from the following file: