-// Copyright (C) 2005-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2005-2020 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
OP_ERROR //!< ERROR: other problems
};
+ typedef sequence<long> PresentationsList;
+
interface
MED_Gen : Engines::EngineComponent
{
- status addDatasourceToStudy(in SALOMEDS::Study study,
- in MEDCALC::DatasourceHandler datasourceHandler)
+ status addDatasourceToStudy(in MEDCALC::DatasourceHandler datasourceHandler)
+ raises (SALOME::SALOME_Exception);
+
+ status registerPresentationField(in long fieldId,
+ in string name,
+ in string type,
+ in string ico,
+ in long presentationId)
+ raises (SALOME::SALOME_Exception);
+
+ status registerPresentationMesh(in long meshId,
+ in string name,
+ in string type,
+ in string ico,
+ in long presentationId)
+ raises (SALOME::SALOME_Exception);
+
+ status unregisterPresentation(in long presentationId)
raises (SALOME::SALOME_Exception);
- status registerPresentation(in SALOMEDS::Study study,
- in long fieldId,
- in string name,
- in string label,
- in long presentationId)
+// PresentationsList getSiblingPresentations(in long presentationId)
+// raises (SALOME::SALOME_Exception);
+
+ // Get all presentations in study:
+ PresentationsList getStudyPresentations()
raises (SALOME::SALOME_Exception);
- status unregisterPresentation(in SALOMEDS::Study study,
- in long presentationId)
+ string getStudyPresentationEntry(in long presentationId)
raises (SALOME::SALOME_Exception);
+
+ void cleanUp();
};
};