|
SHAPER
9.15.0
|
Implementation of IWorkshop interface which provides access to Workshop services at module level. More...

Signals | |
| void | selectionChanged () |
| Signal selection changed. More... | |
| void | propertyPanelActivated () |
| Signal which is emitted after activation of property panel. More... | |
Public Member Functions | |
| XGUI_ModuleConnector (XGUI_Workshop *theWorkshop) | |
| Constructor. More... | |
| virtual ModuleBase_ISelection * | selection () const |
| Returns list of currently selected data objects. More... | |
| virtual ModuleBase_IModule * | module () const |
| Returns instance of loaded module. More... | |
| virtual ModuleBase_IViewer * | viewer () const |
| Returns current viewer. More... | |
| virtual ModuleBase_IPropertyPanel * | propertyPanel () const |
| Returns property panel. More... | |
| virtual ModuleBase_IErrorMgr * | errorMgr () const |
| Returns error manager. More... | |
| virtual ModuleBase_ISelectionActivate * | selectionActivate () const |
| A selection activate in 3D View handler. More... | |
| virtual ModuleBase_Operation * | currentOperation () const |
| Returns currently active operation. More... | |
| virtual bool | canStartOperation (QString theId, bool &isCommitted) |
| Returns true if the operation with id theId can be started. More... | |
| virtual void | processLaunchOperation (ModuleBase_Operation *theOperation) |
| Performs the operation launch. More... | |
| virtual ModuleBase_Operation * | findStartedOperation (const QString &theId) |
| Returns started operation by the operation identifier. More... | |
| virtual bool | canStopOperation (ModuleBase_Operation *theOperation) |
| Returns true if the operation with id theId can be stopped. More... | |
| virtual void | stopOperation (ModuleBase_Operation *theOperation, bool &isCommitted) |
| Commits if possible or aborts the given operation. More... | |
| virtual AISObjectPtr | findPresentation (const ObjectPtr &theObject) const |
| Returns AIS object by data object. More... | |
| virtual ObjectPtr | findPresentedObject (const AISObjectPtr &theAIS) const |
| Returns data object by AIS. More... | |
| virtual bool | isVisible (const ObjectPtr &theObject) const |
| Returns true if the object is displayed. More... | |
| virtual QObjectPtrList | displayedObjects () const |
| Returns list of currently displayed objects. More... | |
| virtual void | setSelected (const QList< std::shared_ptr< ModuleBase_ViewerPrs >> &theValues) |
| Select features clearing previous selection. More... | |
| virtual void | setStatusBarMessage (const QString &theMessage) |
| Shows the message in the status bar. More... | |
| virtual void | updateCommandStatus () |
| Update of commands status. More... | |
| virtual std::shared_ptr< Config_FeatureMessage > | featureInfo (const QString &theId) const |
| Returns Information about feature defined in corresponded XML. More... | |
| virtual QMainWindow * | desktop () const |
| Return application main window. More... | |
| virtual bool | hasSHIFTPressed () const |
| Returns true if SHIFT is pressed. More... | |
| virtual void | deactivateCurrentSelector () |
| virtual bool | enableUpdateViewer (bool isEnabled) |
| Temporary enable or disable viewer update. More... | |
| XGUI_Workshop * | workshop () const |
| Returns workshop. More... | |
| virtual void | applyCurrentSelectionModes (const AISObjectPtr &theAIS) |
| The methods applies current defined selection modes to given AIS presentation. More... | |
| virtual void | undo () |
| Undo last command. More... | |
| virtual void | setCancelEnabled (bool toEnable) |
| Set enabled state of cancel button in property panel. More... | |
| virtual bool | isCancelEnabled () const |
| Returns current state of cancel button. More... | |
| virtual void | showHelpPage (const QString &thePage) const |
| Show help of a current operation. More... | |
| HandlevvalidatorFilter () | |
| A filter to process an attribute validators. More... | |
Protected Attributes | |
| HandlemmyValidatorFilter | |
| A filter to process an attribute validators. More... | |
Implementation of IWorkshop interface which provides access to Workshop services at module level.
| XGUI_ModuleConnector::XGUI_ModuleConnector | ( | XGUI_Workshop * | theWorkshop | ) |
Constructor.
| theWorkshop | a workshop |
|
virtual |
Returns list of currently selected data objects.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns instance of loaded module.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns current viewer.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns property panel.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns error manager.
Implements ModuleBase_IWorkshop.
|
virtual |
A selection activate in 3D View handler.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns currently active operation.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns true if the operation with id theId can be started.
| theId | id of the operation which is going to start |
| isCommitted | boolean value if the operation was committed otherwise it was aborted |
Implements ModuleBase_IWorkshop.
|
virtual |
Performs the operation launch.
| theOperation | an operation to be launched |
Implements ModuleBase_IWorkshop.
|
virtual |
Returns started operation by the operation identifier.
The operation manager is called.
| theId | an operation id |
Implements ModuleBase_IWorkshop.
|
virtual |
Returns true if the operation with id theId can be stopped.
The operation manager is called.
| theOperation | a stopped operation |
Implements ModuleBase_IWorkshop.
|
virtual |
Commits if possible or aborts the given operation.
| theOperation | an aborted operation |
| isCommitted | boolean value if the operation was committed otherwise it was aborted |
Implements ModuleBase_IWorkshop.
|
virtual |
Returns AIS object by data object.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns data object by AIS.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns true if the object is displayed.
| theObject | a data object |
Implements ModuleBase_IWorkshop.
|
virtual |
Returns list of currently displayed objects.
Implements ModuleBase_IWorkshop.
|
virtual |
Select features clearing previous selection.
If the list is empty then selection will be cleared
Implements ModuleBase_IWorkshop.
|
virtual |
Shows the message in the status bar.
| theMessage | a message |
Implements ModuleBase_IWorkshop.
|
virtual |
Update of commands status.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns Information about feature defined in corresponded XML.
| theId | - id of the feature |
Implements ModuleBase_IWorkshop.
|
virtual |
Return application main window.
Implements ModuleBase_IWorkshop.
|
virtual |
|
virtual |
Temporary enable or disable viewer update.
Returns previous state of updating
| isEnabled | new state of the viewer update |
Implements ModuleBase_IWorkshop.
|
inline |
Returns workshop.
|
virtual |
The methods applies current defined selection modes to given AIS presentation.
The AIS presentation has to be already displayed. After activation viewer has to be updated
| theAIS | the object which has to be activated |
Implements ModuleBase_IWorkshop.
|
virtual |
Undo last command.
Implements ModuleBase_IWorkshop.
|
virtual |
Set enabled state of cancel button in property panel.
Implements ModuleBase_IWorkshop.
|
virtual |
Returns current state of cancel button.
Implements ModuleBase_IWorkshop.
|
virtual |
Show help of a current operation.
Implements ModuleBase_IWorkshop.
|
inherited |
A filter to process an attribute validators.
|
signalinherited |
Signal selection changed.
|
signalinherited |
Signal which is emitted after activation of property panel.
|
protectedinherited |
A filter to process an attribute validators.