]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx
Ports updated when connected and the properties panel will be changed ...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.cxx
index 5a31568bb1aef6ec1664f3a2a9b92025fb6536e7..161efa7cc303f5f6df0f4e7e632c77c6640fc508 100644 (file)
@@ -46,6 +46,7 @@ namespace bbtk
                _parentBox = NULL;
                _portType=-1;
                _posInBox=0;
+               _isConnected=false;
        }
 
        //=========================================================================
@@ -133,6 +134,18 @@ namespace bbtk
 
        //=========================================================================
 
+       bool GPortModel::isConnected()
+       {
+               return _isConnected;
+       }
+
+       //=========================================================================
+       
+       void GPortModel::setConnected(bool value)
+       {
+               _isConnected=value;
+       }
+
 }  // EO namespace bbtk
 
 // EOF