26 #ifndef SMESHGUI_SELECTIONOP_H
27 #define SMESHGUI_SELECTIONOP_H
36 #include <SVTK_Selection.h>
37 #include <SALOME_InteractiveObject.hxx>
40 #include <SALOMEconfig.h>
41 #include CORBA_SERVER_HEADER(SMESH_Mesh)
44 #include <TColStd_MapOfInteger.hxx>
47 class SVTK_ViewWindow;
67 static void extractIds(
const QStringList&,
IdList&,
const QChar );
84 virtual void commitOperation();
85 virtual void abortOperation();
86 virtual void selectionDone();
99 void removeCustomFilters();
102 Selection_Mode selectionMode()
const;
105 void setSelectionMode(
const Selection_Mode );
108 void highlight(
const Handle( SALOME_InteractiveObject )&,
109 const bool,
const bool =
true );
112 void addOrRemoveIndex(
const Handle( SALOME_InteractiveObject )&,
113 const TColStd_MapOfInteger&,
const bool isModeShift);
115 SVTK_ViewWindow* viewWindow()
const;
116 SVTK_Selector* selector()
const;
119 virtual void selected( QStringList&,
120 SMESHGUI_Dialog::TypesList&, QStringList& )
const;
123 virtual int typeById(
const QString&,
const EntityType )
const;
126 virtual QChar idChar()
const;
129 void selectedIds(
const int, IdList& )
const;
132 void extractIds(
const QStringList&, IdList& )
const;
135 SMESH::SMESH_Mesh_var mesh()
const;
142 virtual void onActivateObject(
int );
145 virtual void onDeactivateObject(
int );
151 virtual void onSelectionChanged(
int );
160 virtual void onTextChanged(
int,
const QStringList& );
163 typedef QMap<int, SUIT_SelectionFilter*>
Filters;
170 #endif // SMESHGUI_SELECTIONOP_H