-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay);
/// Returns a GUI name of this step
- MODELAPI_EXPORT virtual std::string name() = 0;
+ MODELAPI_EXPORT virtual std::wstring name() = 0;
protected:
/// This method is called just after creation of the object: it must initialize
/// \param theId an id of the object
virtual std::shared_ptr<ModelAPI_ResultField::ModelAPI_FieldStep> step(int theId) const = 0;
+ /// Sets the displayed/hidden state of the object. If it is changed, sends the "redisplay"
+ /// signal.
+ MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay);
+
/// To refresh the steps of a field
MODELAPI_EXPORT virtual void updateSteps() = 0;
};