]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GConnectorModel.cxx
It saves the diagram and it was added the icon to open a file ..... Now it is necessa...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GConnectorModel.cxx
index bd4ecf38c9fb01d79c5b604f0b996b3198aa32ca..28df0dd0f7b2fed660c102bfc5e3f58a4fe93a90 100644 (file)
@@ -157,6 +157,25 @@ namespace bbtk
                return false;
        }
 
+       //=========================================================================
+
+       void GConnectorModel::save(std::string &content)
+       {
+               content+="CONNECTION\n";
+
+               // Connection info
+               content+=_startPort->getParentBox()->getBBTKName();
+               content+=".";
+               content+=_startPort->getBBTKName();
+               content+=":";
+               content+=_endPort->getParentBox()->getBBTKName();
+               content+=".";
+               content+=_endPort->getBBTKName();
+               content+="\n";
+       }
+
+       //=========================================================================
+
 }  // EO namespace bbtk
 
 // EOF