Public Member Functions | Protected Member Functions | List of all members
ScriptComponentEditListener Class Referenceabstract

A class that will get updated whenever the selection of currently selected components changes. More...

Inherited by ScriptContentPanel::Editor, and ScriptingContentOverlay.

Public Member Functions

virtual void scriptComponentPropertyChanged (ScriptComponent *sc, Identifier idThatWasChanged, const var &newValue)=0
 Overwrite this method and update the component to reflect the property change. More...
 
virtual void scriptComponentSelectionChanged ()=0
 Overwrite this method and update the component to reflect the selection change. More...
 
virtual void updateUndoDescription ()
 Overwrite this and update the undo description. More...
 

Protected Member Functions

void addAsScriptEditListener ()
 Call this from the constructor and it will register itself. More...
 
void removeAsScriptEditListener ()
 Call this from the destructor and it will deregister itself. More...
 

Detailed Description

A class that will get updated whenever the selection of currently selected components changes.

Member Function Documentation

void addAsScriptEditListener ( )
protected

Call this from the constructor and it will register itself.

void removeAsScriptEditListener ( )
protected

Call this from the destructor and it will deregister itself.

virtual void scriptComponentPropertyChanged ( ScriptComponent *  sc,
Identifier  idThatWasChanged,
const var &  newValue 
)
pure virtual

Overwrite this method and update the component to reflect the property change.

virtual void scriptComponentSelectionChanged ( )
pure virtual

Overwrite this method and update the component to reflect the selection change.

virtual void updateUndoDescription ( )
inlinevirtual

Overwrite this and update the undo description.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.