|
SHAPER
9.15.0
|
Class which process the events from the event loop. More...

Public Member Functions | |
| virtual PARAMETERSPLUGIN_EXPORT void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Reimplemented from Events_Listener::processEvent(). More... | |
| virtual EVENTS_EXPORT bool | groupMessages () |
| Listener that needs mostly grouped messages received returns true in this method. More... | |
Protected Member Functions | |
| void | processObjectRenamedEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Processes ObjectRenamed event. More... | |
| void | processReplaceParameterEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Processes ReplaceParameter event. More... | |
| std::wstring | renameInPythonExpression (const std::wstring &theExpression, const std::wstring &theOldName, const std::wstring &theNewName) |
| Renames theOldName in theExpression by theNewName. More... | |
| void | renameInParameter (std::shared_ptr< ParametersPlugin_Parameter > theParameter, const std::wstring &theOldName, const std::wstring &theNewName) |
| Renames theOldName in the expression attribute of theParameter by theNewName. More... | |
| void | renameInAttribute (std::shared_ptr< ModelAPI_Attribute > theAttribute, const std::wstring &theOldName, const std::wstring &theNewName) |
| Renames theOldName in the text fields of theAttribute by theNewName. More... | |
| void | renameInDependents (std::shared_ptr< ModelAPI_ResultParameter > theResultParameter, const std::wstring &theOldName, const std::wstring &theNewName) |
| Renames theOldName in all dependents of theResultParameter by theNewName. More... | |
| void | groupWhileFlush (const std::shared_ptr< Events_Message > &theMessage) |
| Allows to group messages while they are flushed (for flush for groupMessages=true listeners) More... | |
| EVENTS_EXPORT void | flushGrouped (const Events_ID &theID) |
| Sends myGroups on flush finish. More... | |
Class which process the events from the event loop.
|
virtual |
Reimplemented from Events_Listener::processEvent().
Implements Events_Listener.
|
protected |
Processes ObjectRenamed event.
|
protected |
Processes ReplaceParameter event.
|
protected |
Renames theOldName in theExpression by theNewName.
|
protected |
Renames theOldName in the expression attribute of theParameter by theNewName.
|
protected |
Renames theOldName in the text fields of theAttribute by theNewName.
|
protected |
Renames theOldName in all dependents of theResultParameter by theNewName.
|
inlinevirtualinherited |
Listener that needs mostly grouped messages received returns true in this method.
In this case during the message is flushed, all the new messages are grouped, not sended immideately and then sent in the end of flush.
Reimplemented in SketchSolver_Manager, and SketchPlugin_OverConstraintsResolver.
|
protectedinherited |
Allows to group messages while they are flushed (for flush for groupMessages=true listeners)
|
protectedinherited |
Sends myGroups on flush finish.