#include <QStringList>
+// IDL includes
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(GEOM_Gen)
+
class HYDROGUI_InputPanel;
class HYDROGUI_ImportGeomObjectOp : public HYDROGUI_Operation
Q_OBJECT
public:
- enum OperationType { ImportCreated, ImportSelected };
+ enum OperationType { ImportCreatedAsObstacle,
+ ImportSelectedAsObstacle,
+ ImportSelectedAsPolyline };
public:
HYDROGUI_ImportGeomObjectOp( HYDROGUI_Module* theModule,
const bool theIsToShowPanel = true );
virtual ~HYDROGUI_ImportGeomObjectOp();
+ static QList<GEOM::shape_type> getObstacleTypes();
+ static QList<GEOM::shape_type> getPolylineTypes();
+
protected:
virtual void startOperation();
virtual void abortOperation();