a->setEnabled(false);
}
}
+
+/*!
+ * \brief Virtual public slot
+ *
+ * This method updates visibility state
+ * Redefined to make visible geometry objects
+ */
+void GeometryGUI::initVisibilityState( SUIT_DataObject* theObject )
+{
+ // in fact, here we assume that all geometry objects presentable
+ if ( theObject && theObject->visibilityState() == SUIT_DataObject::Unpresentable )
+ theObject->setVisibilityState( SUIT_DataObject::Hidden );
+}
class GEOMGUI_OCCSelector;
class LightApp_VTKSelector;
class LightApp_Selection;
+class SUIT_DataObject;
class SUIT_ViewManager;
class SalomeApp_Study;
protected:
virtual LightApp_Selection* createSelection() const;
+ virtual void initVisibilityState( SUIT_DataObject* );
private:
GEOMGUI* getLibrary( const QString& libraryName );