// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#ifndef GEOMGUI_SELECTION_HeaderFile
#define GEOMGUI_SELECTION_HeaderFile
-#include <SalomeApp_Selection.h>
+#include "GEOM_GEOMGUI.hxx"
+
+#include <LightApp_Selection.h>
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
-class GEOMGUI_Selection : public SalomeApp_Selection
+class LightApp_SelectionMgr;
+
+class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection
{
public:
- GEOMGUI_Selection();
+ GEOMGUI_Selection( const QString&, LightApp_SelectionMgr* );
virtual ~GEOMGUI_Selection();
- virtual QtxValue param( const int, const QString& ) const;
- virtual QtxValue globalParam( const QString& ) const;
+ virtual QVariant parameter( const int, const QString& ) const;
+ virtual QVariant parameter( const QString& ) const;
private:
bool isVisible( const int ) const;
- bool isOCC() const;
- bool isActiveViewer() const;
QString typeName( const int ) const;
QString displayMode( const int ) const;
+ QString selectionMode() const;
bool isComponent( const int ) const;
GEOM::GEOM_Object_ptr getObject( const int ) const;
- bool activeViewType( const QString& ) const;
};
#endif