X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FPARAVIS_Gen.idl;h=9708f2479c5bef8cd1bdbfdb7bfbf12f0d12e8a7;hb=1b53d3e71cbdc086a559ed4690aee6a2aa897f95;hp=ed39460be64d4e4f87724385ae4df0e8996f9e7d;hpb=398f80c2edcc1c35603e4deaf7bdbf124c95f99f;p=modules%2Fparavis.git diff --git a/idl/PARAVIS_Gen.idl b/idl/PARAVIS_Gen.idl index ed39460b..9708f247 100644 --- a/idl/PARAVIS_Gen.idl +++ b/idl/PARAVIS_Gen.idl @@ -1,27 +1,23 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2010-2013 CEA/DEN, EDF R&D // -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // File : PARAVIS_Gen.idl // Author : Vitaly Smetannikov -// /*! \file PARAVIS_Gen.idl This file conatins a set of interfaces of the %PARAVIS module. * This module provides access to PARAVIEW functionality integrated to %SALOME application. @@ -58,7 +54,7 @@ module PARAVIS { * \brief The main interface class for PARAVIS server. * Instantiation of this class has to be done before access to any other PARAVIS interfaces */ - interface PARAVIS_Gen : Engines::Component, SALOMEDS::Driver + interface PARAVIS_Gen : Engines::EngineComponent, SALOMEDS::Driver { /*! * \brief Returns IOR of the current object. @@ -72,6 +68,8 @@ module PARAVIS { void ImportFile(in string theFileName); + void ExecuteScript(in string script); + /*! * Returns trace string if trace is activated for current session. * Otherwise it returns empty string. @@ -84,6 +82,7 @@ module PARAVIS { */ void SaveTrace(in string theFileName); +#ifdef PARAVIS_WITH_FULL_CORBA /*! * \brief Returns list of names of extracted Paraview and VTK classes */ @@ -93,6 +92,7 @@ module PARAVIS { * \brief Returns container class for the requested Paraview class */ PARAVIS_Base CreateClass(in string theClassName); +#endif /*! * Returns parameters of current (usually built-in) connection which is active in GUI (Paraview client). @@ -113,6 +113,15 @@ module PARAVIS { */ void ActivateModule(); + + /*! Sets a definite study to be current. + */ + void SetCurrentStudy(in SALOMEDS::Study theStudy); + + /*! Gets the current study. + */ + SALOMEDS::Study GetCurrentStudy(); + }; };