- bool closable() const { return myClosable; }
- void setClosable( const bool isClosable ) { myClosable = isClosable; }
+ //! Returns true if the current view window can be closed
+ bool closable() const { return myClosable; }
+
+ //! Sets the current view window closable or not
+ void setClosable( const bool isClosable ) { myClosable = isClosable; }
+
+ //! Enable/Disable drawing of ribbon line
+ void enableDrawMode(bool toEnable) { myEnableDrawMode = toEnable; }
+
+ //! Returns true if ribbon line drawing enabled
+ bool isDrawModeEnabled() const { return myEnableDrawMode; }
+
+ //! Updates drawing mode in the view window
+ void updateEnabledDrawMode();