From: ouv Date: Wed, 25 Nov 2009 09:13:51 +0000 (+0000) Subject: Added flag 'onlyParameters' to Update() method X-Git-Tag: PHASE_17_Part1_V1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4ac129a7eebbefc43f6e284f5455bd3a24147ec;p=modules%2Fkernel.git Added flag 'onlyParameters' to Update() method --- diff --git a/idl/SALOME_Notebook.idl b/idl/SALOME_Notebook.idl index 647b6dc72..4f5812e7d 100644 --- a/idl/SALOME_Notebook.idl +++ b/idl/SALOME_Notebook.idl @@ -159,7 +159,7 @@ module SALOME void SetToUpdate( in ParameterizedObject obj ) raises( NotebookError ); //! update all objects marked as "need to update" - void Update(); + void Update( in boolean onlyParameters ); diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index 8f8c08f55..9351cddc8 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -173,7 +173,7 @@ void SALOME_Notebook::SetToUpdate( SALOME::ParameterizedObject_ptr theObj ) */ } -void SALOME_Notebook::Update() +void SALOME_Notebook::Update( CORBA::Boolean theOnlyParameters ) { //Utils_Locker lock( &myMutex ); diff --git a/src/Notebook/SALOME_Notebook.hxx b/src/Notebook/SALOME_Notebook.hxx index 8feeba931..b0b3746d8 100644 --- a/src/Notebook/SALOME_Notebook.hxx +++ b/src/Notebook/SALOME_Notebook.hxx @@ -47,7 +47,7 @@ public: virtual void RemoveDependency( SALOME::ParameterizedObject_ptr theObj, SALOME::ParameterizedObject_ptr theRef ); virtual void ClearDependencies( SALOME::ParameterizedObject_ptr theObj, SALOME::DependenciesType theType ); virtual void SetToUpdate( SALOME::ParameterizedObject_ptr theObj ); - virtual void Update(); + virtual void Update( CORBA::Boolean theOnlyParameters ); virtual void AddExpression( const char* theExpr ); virtual void AddNamedExpression( const char* theName, const char* theExpr );