-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// SALOME GUI includes
#include <LightApp_Selection.h>
+#include <SUIT_DataOwner.h>
// SALOME KERNEL includes
#include <SALOMEDSClient_definitions.hxx>
virtual bool hasGeomReference( int ) const;
virtual bool isEditableHyp( int ) const;
virtual bool isVisible( int ) const;
+ virtual bool canBreakLink(int) const;
virtual bool isQuadratic( int ) const;
virtual QString quadratic2DMode( int ) const;
virtual int nbChildren( int ) const;
virtual bool isContainer( int ) const;
- // parameters got from actor return nothing if an actor is not visible
- virtual QList<QVariant> elemTypes( int ) const;
+ // parameters got from actor, return nothing if an actor is not visible
+ virtual QList<QVariant> elemTypes( int, bool ) const; // == objElemTypes w/o actor
virtual QList<QVariant> labeledTypes( int ) const;
virtual QString displayMode( int ) const;
virtual QString shrinkMode( int ) const;
SMESH_Actor* getActor( int ) const;
- static int type( const QString&, _PTR(Study) );
+ static int type( const QString& );
static QString typeName( const int );
-
+ static int guiState();
+
bool isImported( const int ) const;
private:
QStringList myTypes;
QStringList myControls;
QList<SMESH_Actor*> myActors;
+ SUIT_DataOwnerPtrList myOwners;
};
#endif // SMESHGUI_SELECTION_H