SHAPER
9.13.0
|
Implementation of Partset module. More...
Public Types | |
enum | ModuleBase_CustomizeFlag { CustomizeArguments = 0 , CustomizeResults , CustomizeHighlightedObjects } |
enumeration to know which objects should be customized More... | |
Public Slots | |
virtual void | onObjectDisplayed (ObjectPtr theObject, AISObjectPtr theAIS) |
Slolt called on object display. More... | |
virtual void | onBeforeObjectErase (ObjectPtr theObject, AISObjectPtr theAIS) |
Slot called on before object erase. More... | |
virtual void | onViewTransformed (int theTrsfType=2) |
Called on transformation in current viewer. More... | |
void | onRemoveConflictingConstraints () |
Called on remove conflicting constraints. More... | |
virtual void | onFeatureTriggered () |
Called on call of command corresponded to a feature. More... | |
Signals | |
void | resumed (ModuleBase_Operation *theOp) |
Segnal emitted when an operation is resumed. More... | |
Public Member Functions | |
PartSet_Module (ModuleBase_IWorkshop *theWshop) | |
Constructor. More... | |
virtual void | storeSelection () |
Stores the current selection. More... | |
virtual void | restoreSelection () |
Restores the current selection. More... | |
virtual ModuleBase_ModelWidget * | createWidgetByType (const std::string &theType, QWidget *theParent, Config_WidgetAPI *theWidgetApi) |
Creates custom widgets for property panel. More... | |
virtual ModuleBase_ModelWidget * | activeWidget () const |
Returns the active widget, by default it is the property panel active widget If the internal edit operation is started, this is the first widget of the operation. More... | |
virtual void | propertyPanelDefined (ModuleBase_Operation *theOperation) |
Call back forlast tuning of property panel before operation performance. More... | |
virtual bool | createWidgets (const FeaturePtr &theFeature, const QString &theXmlRepr, QList< ModuleBase_ModelWidget * > &theWidgets) const |
If there is found selected attribute, widgets are created and contains only a widget for the attribute It is important for Property Panel filling by sketch point attribute. More... | |
virtual void | editFeature (FeaturePtr theFeature) |
Launching of a edit operation on the feature. More... | |
virtual bool | canCommitOperation () const |
Returns true if the operation can be committed. More... | |
virtual void | launchOperation (const QString &theCmdId, const bool &isStartAfterCommitOnly) |
Creates an operation and send it to loop. More... | |
virtual void | operationStarted (ModuleBase_Operation *theOperation) |
Realizes some functionality by an operation start Displays all sketcher sub-Objects, hides sketcher result, appends selection filters Activate the operation presentation. More... | |
virtual void | operationResumed (ModuleBase_Operation *theOperation) |
Realizes some functionality by an operation resume Activate the operation presentation. More... | |
virtual void | operationCommitted (ModuleBase_Operation *theOperation) |
Realizes some functionality by an operation commit Restarts sketcher operation automatically of it is necessary. More... | |
virtual void | operationAborted (ModuleBase_Operation *theOperation) |
Realizes some functionality by an operation abort Hides all sketcher sub-Objects, displays sketcher result and removes selection filters. More... | |
virtual void | operationStopped (ModuleBase_Operation *theOperation) |
Realizes some functionality by an operation stop Hides all sketcher sub-Objects, displays sketcher result and removes selection filters. More... | |
virtual ModuleBase_Operation * | currentOperation () const |
Returns current operation. More... | |
virtual bool | canUndo () const |
Returns True if there are available Undos and the sketch manager allows undo. More... | |
virtual bool | canRedo () const |
Returns True if there are available Redos and the sketch manager allows redo. More... | |
virtual bool | canApplyAction (const ObjectPtr &theObject, const QString &theActionId) const |
Returnas true if the action can be applyed to the object. More... | |
virtual bool | canEraseObject (const ObjectPtr &theObject) const |
Returns True if the current operation can be committed. More... | |
virtual bool | canDisplayObject (const ObjectPtr &theObject) const |
Returns whether the object can be displayed at the bounds of the active operation. More... | |
virtual bool | canUsePreselection (const QString &thePreviousOperationKind, const QString &theStartedOperationKind) |
Returns parent result if accepted, true if the started operation is a nested operation of the previous operation. More... | |
virtual bool | canActivateSelection (const ObjectPtr &theObject) const |
Make some functionality after the objects are hidden in viewer. More... | |
virtual void | addObjectBrowserMenu (QMenu *theMenu) const |
Add menu atems for object browser into the given menu. More... | |
virtual bool | addViewerMenu (const QMap< QString, QAction * > &theStdActions, QWidget *theParent, QMap< int, QAction * > &theMenuActions) const |
Add menu items for viewer into the actions map. More... | |
virtual void | activeSelectionModes (QIntList &theModes) |
Returns a list of modes, where the AIS objects should be activated. More... | |
virtual void | moduleSelectionModes (int theModesType, QIntList &theModes) |
Appends specific selection modes for the module to the list of types. More... | |
virtual void | moduleSelectionFilters (const QIntList &theFilterTypes, SelectMgr_ListOfFilter &theSelectionFilters) |
Appends into container of filters module filters corresponded to the modes type. More... | |
bool | isMouseOverWindow () |
Returns whether the mouse enter the viewer's window. More... | |
PartSet_SketcherMgr * | sketchMgr () const |
Returns sketch manager object. More... | |
PartSet_SketcherReentrantMgr * | sketchReentranceMgr () const |
Returns sketch reentrant manager. More... | |
virtual void | getGeomSelection (const std::shared_ptr< ModuleBase_ViewerPrs > &theSelected, ObjectPtr &theObject, AttributePtr &theAttribute) |
Find object and attribute(if selected) for the given viewer selection. More... | |
PartSet_OverconstraintListener * | overconstraintListener () |
Returns listener of overconstraint signal. More... | |
bool | isSketchNeutralPointActivated () const |
Returns true if the current operation is not reentrant and the current state of the application is not in launch operation mode. More... | |
virtual void | closeDocument () |
Performs functionality on closing document. More... | |
virtual void | clearViewer () |
Clears specific presentations in the viewer. More... | |
virtual void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
Event Listener method. More... | |
void | setCustomized (const FeaturePtr &theFeature) |
Set the object with the object results are customized. More... | |
virtual bool | isCustomPrsActivated (const ModuleBase_CustomizeFlag &theFlag) const |
Return true if the custom presentation is activated. More... | |
virtual void | activateCustomPrs (const FeaturePtr &theFeature, const ModuleBase_CustomizeFlag &theFlag, const bool theUpdateViewer) |
Activate custom presentation for the object. More... | |
virtual void | deactivateCustomPrs (const ModuleBase_CustomizeFlag &theFlag, const bool theUpdateViewer) |
Deactivate custom presentation for the object. More... | |
virtual bool | customizeFeature (ObjectPtr theObject, const ModuleBase_CustomizeFlag &theFlag, const bool theUpdateViewer) |
Modifies the given presentation in the custom way. More... | |
virtual void | disableCustomMode (ModuleBase_CustomizeFlag theMode) |
Disable displaying of custom mode. More... | |
virtual void | enableCustomModes () |
Enables disabled custom mode. More... | |
virtual void | customizeObjectBrowser (QWidget *theObjectBrowser) |
This method is called on object browser creation for customisation of module specific features. More... | |
int | getVisualLayerId () const |
Returns the viewer Z layer. More... | |
virtual AISObjectPtr | createPresentation (const ObjectPtr &theResult) |
Create specific for the module presentation. More... | |
virtual void | customizePresentation (const ObjectPtr &theObject, const AISObjectPtr &thePrs) const |
Customize presentation according to objects attributes. More... | |
virtual ObjectPtr | findPresentedObject (const AISObjectPtr &theAIS) const |
Returns data object by AIS. More... | |
virtual bool | canBeShaded (HandlettheAIS) const |
Returns true if the presentation can be shown in shading mode. More... | |
virtual void | updateViewerMenu (const QMap< QString, QAction * > &theStdActions) |
Update state of pop-up menu items in viewer. More... | |
virtual bool | isActionEnableStateFixed (const int theActionId) const |
Returns true if the action should be always enabled. More... | |
virtual QString | getFeatureError (const FeaturePtr &theFeature) |
Returns the feature error if the current state of the feature in the module is not correct If the feature is correct, it returns an empty value. More... | |
virtual void | grantedOperationIds (ModuleBase_Operation *theOperation, QStringList &theIds) const |
Returns list of granted operation indices. More... | |
virtual void | widgetStateChanged (int thePreviousState) |
Validates the current operation and send the state change to sketch manager. More... | |
virtual bool | processEnter (const std::string &thePreviousAttributeID) |
Returns true if the event is processed. More... | |
virtual void | beforeOperationStopped (ModuleBase_Operation *theOperation) |
Performs some GUI actions before an operation transaction is stopped Default realization is empty. More... | |
virtual GeomShapePtr | findShape (const AttributePtr &theAttribute) |
Finds a shape by attribute if it is possible. More... | |
virtual AttributePtr | findAttribute (const ObjectPtr &theObject, const GeomShapePtr &theGeomShape) |
Finds an attribute by geom shape if it is possible. More... | |
virtual std::shared_ptr< Events_Message > | reentrantMessage () |
Returns reentrant message if it was accepted. More... | |
virtual void | setReentrantPreSelection (const std::shared_ptr< Events_Message > &theMessage) |
Put current selection into reentrant message. More... | |
virtual ModuleBase_ITreeNode * | rootNode () const |
Returns root tree node which represents a data model. More... | |
XGUI_Workshop * | getWorkshop () const |
Returns the workshop. More... | |
virtual void | createFeatures () |
Reads description of features from XML file. More... | |
virtual void | actionCreated (QAction *) |
Called on creation of menu item in desktop. More... | |
virtual void | launchModal (const QString &theCmdId) |
Executes feature as a modal dialog box. More... | |
ModuleBase_IWorkshop * | workshop () const |
Returns current workshop. More... | |
virtual QIntList | selectionFilters () |
Returns types of registered module selection filters. More... | |
virtual | HandlesselectionFilter (const int theType) |
Returns selection filter. More... | |
void | registerSelectionFilter (const ModuleBase_SelectionFilterType theFilterType, const Handle &&theFilter) |
Append selection filter into the module and type of the filter in internal container. More... | |
virtual ModuleBase_Operation * | createOperation (const std::string &theCmdId) |
Creates a new operation. More... | |
virtual void | updateObjectBrowserMenu (const QMap< QString, QAction * > &theStdActions) |
Update state of pop-up menu items in object browser. More... | |
void | getXMLRepresentation (const std::string &theFeatureId, std::string &theXmlCfg, std::string &theDescription) |
Returns XML information by the feature index. More... | |
virtual EVENTS_EXPORT bool | groupMessages () |
Listener that needs mostly grouped messages received returns true in this method. More... | |
Static Public Member Functions | |
static void | setTexture (const AISObjectPtr &thePrs, const ResultPtr &theResult) |
add texture More... | |
Protected Slots | |
virtual void | onSelectionChanged () |
Called when previous operation is finished. More... | |
void | onKeyRelease (ModuleBase_IViewWindow *theWnd, QKeyEvent *theEvent) |
SLOT, that is called by key release in the viewer. More... | |
void | onViewCreated (ModuleBase_IViewWindow *) |
A slot called on view window creation. More... | |
void | onChoiceChanged (ModuleBase_ModelWidget *theWidget, int theIndex) |
A slot to change property panel title by choice type change if the title information exists in the XML definition of this control attribute. More... | |
Protected Member Functions | |
virtual void | customSubShapesSelectionModes (QIntList &theModes) |
Appends specific selection modes for the module to the list of types. More... | |
void | storeConstraintsState (const std::string &theFeatureKindId) |
Sets the constraints states in internal map. More... | |
void | updateConstraintsState (const std::string &theFeatureKind) |
If the feature kind is a geometrical or dimensional constraint, set visible state for all types of constraints. More... | |
virtual void | registerValidators () |
Register validators for this module. More... | |
virtual void | connectToPropertyPanel (ModuleBase_ModelWidget *theWidget, const bool isToConnect) |
Connects or disconnects to the value changed signal of the property panel widgets. More... | |
void | updateSketcherOnStart (ModuleBase_Operation *theOperation) |
Updates reentrant manager state or sketcher operations for the started operation. More... | |
void | updatePresentationsOnStart (ModuleBase_Operation *theOperation) |
Updates presetnations of results and arguments by operation start. More... | |
virtual void | registerProperties () |
Register properties of this module. More... | |
virtual ModuleBase_Operation * | getNewOperation (const std::string &theFeatureId) |
Returns new instance of operation object (used in createOperation for customization) More... | |
void | loadProprietaryPlugins () |
Load plugins required license. More... | |
void | processProprietaryFeatures () |
Collect features, which have valid license. 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... | |
Protected Attributes | |
ModuleBase_IWorkshop * | myWorkshop |
Reference to workshop. More... | |
std::map< std::string, std::string > | myFeaturesInFiles |
Map of features in XML. More... | |
std::map< std::string, std::string > | myProprietaryFeatures |
Map of features in XML, which require license but not confirmed yet. More... | |
std::set< std::string > | myProprietaryPlugins |
Proprietary plugins. More... | |
std::set< std::string > | myFeaturesValidLicense |
Features, which have valid license. More... | |
std::map< ModuleBase_SelectionFilterType, Handle > | mySelectionFilters |
Implementation of Partset module.
|
inherited |
PartSet_Module::PartSet_Module | ( | ModuleBase_IWorkshop * | theWshop | ) |
Constructor.
theWshop | a pointer to a workshop |
|
virtual |
Stores the current selection.
Reimplemented from ModuleBase_IModule.
|
virtual |
Restores the current selection.
Reimplemented from ModuleBase_IModule.
|
virtual |
Creates custom widgets for property panel.
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns the active widget, by default it is the property panel active widget If the internal edit operation is started, this is the first widget of the operation.
Implements ModuleBase_IModule.
|
virtual |
Call back forlast tuning of property panel before operation performance.
Reimplemented from ModuleBase_IModule.
|
virtual |
If there is found selected attribute, widgets are created and contains only a widget for the attribute It is important for Property Panel filling by sketch point attribute.
theFeature | a feature of the started operation |
theXmlRepr | an XML representation of the operation |
theWidgets | a list of created widgets |
Reimplemented from ModuleBase_IModule.
|
virtual |
Launching of a edit operation on the feature.
theFeature | feature for editing |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns true if the operation can be committed.
Result in default implementation is true.
Reimplemented from ModuleBase_IModule.
|
virtual |
Creates an operation and send it to loop.
theCmdId | the operation name |
isStartAfterCommitOnly | operation is launched if there is no active operation or it is committed |
Reimplemented from ModuleBase_IModule.
|
virtual |
Realizes some functionality by an operation start Displays all sketcher sub-Objects, hides sketcher result, appends selection filters Activate the operation presentation.
theOperation | a started operation |
Restart sketcher operations automatically it is important to call method of sketch reentrant manager before filling of PP because it fills some created feature attributes, these new values should be used to fill the property panel
state of command actions should be updated after displayed objects modification because deactivation(for example) of objects may influence on selection in the viewer State of command actions may depend on selection in the viewer(e.g. Sketch)
Reimplemented from ModuleBase_IModule.
|
virtual |
Realizes some functionality by an operation resume Activate the operation presentation.
theOperation | a resumed operation |
Reimplemented from ModuleBase_IModule.
|
virtual |
Realizes some functionality by an operation commit Restarts sketcher operation automatically of it is necessary.
theOperation | a committed operation |
deactivate of overconstraint listener should be performed after Sketch commit (#2176)
Restart sketcher operations automatically
Reimplemented from ModuleBase_IModule.
|
virtual |
Realizes some functionality by an operation abort Hides all sketcher sub-Objects, displays sketcher result and removes selection filters.
theOperation | an aborted operation |
Restart sketcher operations automatically
deactivate of overconstraint listener should be performed after Sketch abort (#2176)
Reimplemented from ModuleBase_IModule.
|
virtual |
Realizes some functionality by an operation stop Hides all sketcher sub-Objects, displays sketcher result and removes selection filters.
theOperation | a stopped operation |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns current operation.
Implements ModuleBase_IModule.
|
virtual |
Returns True if there are available Undos and the sketch manager allows undo.
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns True if there are available Redos and the sketch manager allows redo.
Reimplemented from ModuleBase_IModule.
|
virtual |
Returnas true if the action can be applyed to the object.
theObject | a checked object |
theActionId | an identifier of action, to be found in the menu manager like "DELETE_CMD" |
Implements ModuleBase_IModule.
|
virtual |
Returns True if the current operation can be committed.
Asks the sketch manager.
theObject | a model object |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns whether the object can be displayed at the bounds of the active operation.
Display only current operation results for usual operation and ask the sketcher manager if it is a sketch operation
theObject | a model object |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns parent result if accepted, true if the started operation is a nested operation of the previous operation.
thePreviousOperationKind | a kind of previous operation |
theStartedOperationKind | a kind of a new operation |
Reimplemented from ModuleBase_IModule.
|
virtual |
Make some functionality after the objects are hidden in viewer.
theObjects | a list of hidden objects Returns true if selection for the object can be activate. For sketch operation allow the selection activation if the operation is edit, for other operation uses the default result |
theObject | a model object |
Reimplemented from ModuleBase_IModule.
|
virtual |
Add menu atems for object browser into the given menu.
theMenu | a popup menu to be shown in the object browser |
Reimplemented from ModuleBase_IModule.
|
virtual |
Add menu items for viewer into the actions map.
theStdActions | a map of standard actions |
theParent | a parent widget |
theMenuActions | map of action/menu for the desirable index in the viewer menu |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns a list of modes, where the AIS objects should be activated.
theModes | a list of modes |
Reimplemented from ModuleBase_IModule.
|
virtual |
Appends specific selection modes for the module to the list of types.
theModesType | combination of available selection filters |
theModes | a selection modes to be extended |
Implements ModuleBase_IModule.
|
virtual |
Appends into container of filters module filters corresponded to the modes type.
theFilterTypes | container of available selection filters |
theSelectionFilters | [out] container to be extend by elements |
Implements ModuleBase_IModule.
bool PartSet_Module::isMouseOverWindow | ( | ) |
Returns whether the mouse enter the viewer's window.
|
inline |
Returns sketch manager object.
|
inline |
Returns sketch reentrant manager.
|
virtual |
Find object and attribute(if selected) for the given viewer selection.
theSelected | a viewer selection |
theObject | a selected model object |
theAttribute | a selected model attribute |
|
inline |
Returns listener of overconstraint signal.
bool PartSet_Module::isSketchNeutralPointActivated | ( | ) | const |
Returns true if the current operation is not reentrant and the current state of the application is not in launch operation mode.
|
virtual |
Performs functionality on closing document.
Implements ModuleBase_IModule.
|
virtual |
Clears specific presentations in the viewer.
Implements ModuleBase_IModule.
|
virtual |
void PartSet_Module::setCustomized | ( | const FeaturePtr & | theFeature | ) |
Set the object with the object results are customized.
theFeature | a feature |
|
virtual |
Return true if the custom presentation is activated.
theFlag | a flag of level of customization, which means that only part of sub-elements |
Reimplemented from ModuleBase_IModule.
|
virtual |
Activate custom presentation for the object.
theFeature | a feature instance |
theFlag | a flag of level of customization, which means that only part of sub-elements |
theUpdateViewer | the parameter whether the viewer should be update immediately |
Reimplemented from ModuleBase_IModule.
|
virtual |
Deactivate custom presentation for the object.
theFlag | a flag of level of customization, which means that only part of sub-elements |
theUpdateViewer | the parameter whether the viewer should be update immediately |
Reimplemented from ModuleBase_IModule.
|
virtual |
Modifies the given presentation in the custom way.
Update the object presentable properties such as color, lines width and other If the object is result with the color attribute value set, it is used, otherwise the customize is applyed to the object's feature if it is a custom prs
theObject | an object instance |
theFlag | a flag of level of customization, which means that only part of sub-elements should be updated(e.g. only highlighted elements) |
theUpdateViewer | the parameter whether the viewer should be update immediatelly |
Reimplemented from ModuleBase_IModule.
|
virtual |
Disable displaying of custom mode.
theMode | a mode to disable |
Reimplemented from ModuleBase_IModule.
|
virtual |
Enables disabled custom mode.
Reimplemented from ModuleBase_IModule.
|
virtual |
This method is called on object browser creation for customisation of module specific features.
theObjectBrowser | a pinter on Object Browser widget |
Reimplemented from ModuleBase_IModule.
|
inline |
Returns the viewer Z layer.
|
virtual |
Create specific for the module presentation.
theResult | an object for presentation |
Reimplemented from ModuleBase_IModule.
|
virtual |
Customize presentation according to objects attributes.
theObject | an object for presentation |
thePrs | a presentation object |
set texture parameters, if any
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns data object by AIS.
If last line finished on vertex the lines creation sequence has to be break
Implements ModuleBase_IModule.
|
virtual |
Returns true if the presentation can be shown in shading mode.
theAIS | presentation to be checked |
Reimplemented from ModuleBase_IModule.
|
virtual |
Update state of pop-up menu items in viewer.
theStdActions | - a map of standard actions |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns true if the action should be always enabled.
theActionId | an action index: Accept or Accept All |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns the feature error if the current state of the feature in the module is not correct If the feature is correct, it returns an empty value.
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns list of granted operation indices.
Reimplemented from ModuleBase_IModule.
|
virtual |
Validates the current operation and send the state change to sketch manager.
thePreviousState | the previous widget value state |
Reimplemented from ModuleBase_IModule.
|
virtual |
Returns true if the event is processed.
It gives the reentrance manager to process the enter.
thePreviousAttributeID | an index of the previous active attribute |
Reimplemented from ModuleBase_IModule.
|
virtual |
Performs some GUI actions before an operation transaction is stopped Default realization is empty.
Reimplemented from ModuleBase_IModule.
|
virtual |
Finds a shape by attribute if it is possible.
theAttribute | an attribute |
Implements ModuleBase_IModule.
|
virtual |
Finds an attribute by geom shape if it is possible.
theObject | an object of the attribute |
theGeomShape | a geom shape |
Implements ModuleBase_IModule.
|
virtual |
Returns reentrant message if it was accepted.
Implements ModuleBase_IModule.
|
virtual |
Put current selection into reentrant message.
theMessage | a message of reentrant operation |
Implements ModuleBase_IModule.
|
virtual |
Returns root tree node which represents a data model.
Implements ModuleBase_IModule.
XGUI_Workshop * PartSet_Module::getWorkshop | ( | ) | const |
Returns the workshop.
|
virtual |
Reads description of features from XML file.
Reimplemented from ModuleBase_IModule.
|
static |
add texture
set color to white and change material aspect, in order to keep a natural apect of the image.
|
virtualslot |
Slolt called on object display.
theObject | a data object |
theAIS | a presentation object |
|
virtualslot |
Slot called on before object erase.
theObject | a data object |
theAIS | a presentation object |
|
virtualslot |
Called on transformation in current viewer.
theTrsfType | type of tranformation |
|
slot |
Called on remove conflicting constraints.
|
protectedvirtualslot |
Called when previous operation is finished.
|
protectedslot |
SLOT, that is called by key release in the viewer.
theWnd | a view window |
theEvent | the key event |
|
protectedslot |
A slot called on view window creation.
|
protectedslot |
A slot to change property panel title by choice type change if the title information exists in the XML definition of this control attribute.
theWidget | a sender |
theIndex | the current choice index |
|
protectedvirtual |
Appends specific selection modes for the module to the list of types.
theModes | a selection modes to be extended |
|
protected |
Sets the constraints states in internal map.
If the feature kind is a dimensional constraint other dimensions are shown.
theFeatureKindId | a feature kind |
|
protected |
If the feature kind is a geometrical or dimensional constraint, set visible state for all types of constraints.
theFeatureKindId | a feature kind |
|
protectedvirtual |
Register validators for this module.
Reimplemented from ModuleBase_IModule.
|
protectedvirtual |
Connects or disconnects to the value changed signal of the property panel widgets.
theWidget | a property contol widget |
isToConnect | a boolean value whether connect or disconnect |
Reimplemented from ModuleBase_IModule.
|
protected |
Updates reentrant manager state or sketcher operations for the started operation.
theOperation | the started operation |
|
protected |
Updates presetnations of results and arguments by operation start.
theOperation | the started operation |
|
virtualinherited |
Called on creation of menu item in desktop.
|
virtualinherited |
Executes feature as a modal dialog box.
theCmdId | the operation name |
|
inlineinherited |
Returns current workshop.
|
virtualinherited |
Returns types of registered module selection filters.
theSelectionFilters | [out] container of type value |
|
virtualinherited |
Returns selection filter.
theType | selection filter type |
theFilter | instance of filter |
|
inherited |
Append selection filter into the module and type of the filter in internal container.
theFilterType | selection filter type |
theFilter | added filter |
|
virtualinherited |
Creates a new operation.
theCmdId | the operation name |
|
inlinevirtualinherited |
Update state of pop-up menu items in object browser.
theStdActions | - a map of standard actions |
|
inherited |
Returns XML information by the feature index.
theFeatureId | a feature id |
theXmlCfg | XML configuration |
theDescription | feature description |
|
signalinherited |
Segnal emitted when an operation is resumed.
theOp | a resumed operation |
|
virtualslotinherited |
Called on call of command corresponded to a feature.
|
inlineprotectedvirtualinherited |
Register properties of this module.
|
protectedvirtualinherited |
Returns new instance of operation object (used in createOperation for customization)
|
protectedinherited |
Load plugins required license.
|
protectedinherited |
Collect features, which have valid license.
|
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.
|
protectedinherited |
Reference to workshop.
|
protectedinherited |
Map of features in XML.
|
protectedinherited |
Map of features in XML, which require license but not confirmed yet.
|
protectedinherited |
Proprietary plugins.
|
protectedinherited |
Features, which have valid license.