Salome HOME
Traces
[modules/superv.git] / src / GraphEditor / DataFlowEditor_DataFlow.cxx
index 73654b3268e01be71723a2ced1bf871a633cbfe4..40d20bdda12fac5de919fd24e302e5a5ced5ab3d 100644 (file)
@@ -46,8 +46,9 @@ GraphEditor::DataFlow::DataFlow() :
 GraphEditor::DataFlow::DataFlow( CORBA::ORB_ptr ORB,
                                  SALOME_NamingService* ptrNamingService ,
                                  const char *DataFlowName ,
-                                 const char * DebugFileName ) :
-  OutNode( ORB, ptrNamingService , DataFlowName , DebugFileName ) {
+                                 const char * DebugFileName ,
+                                 const SUPERV::KindOfNode aKindOfNode ) :
+  OutNode( ORB, ptrNamingService , DataFlowName , DebugFileName , aKindOfNode ) {
 //  cout << "GraphEditor::DataFlow::DataFlow(" ;
   cdebug_in << "GraphEditor::DataFlow::DataFlow(" ;
   if ( DataFlowName ) {
@@ -102,23 +103,4 @@ GraphEditor::DataFlow::~DataFlow() {
 //  delete _GT ;
 }
 
-#if 0
-GraphExecutor::DataFlow * GraphEditor::DataFlow::Run() {
-  cdebug_in << "GraphEditor::DataFlow::Run" << endl;
-  SUPERV::SGraph * theDataFlow ;
-  GraphExecutor::DataFlow * aDataFlowExecutor ;
-  theDataFlow = GetDataFlow() ;
-  aDataFlowExecutor = new GraphExecutor::DataFlow( NamingService() ,
-                                                   theDataFlow->Info.theName ) ;
-  if ( aDataFlowExecutor->LoadDataFlow( *theDataFlow ) ) {
-    aDataFlowExecutor->Run() ;
-  }
-  else {
-    MESSAGE( "GraphEditor::DataFlow::Run error while loading DataFlowExecutor")
-    delete aDataFlowExecutor ;
-  }
-  cdebug_out << "GraphEditor::DataFlow::Run" << endl;
-  return aDataFlowExecutor ;
-}
-#endif