]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx
Changes in information presented in status bar, inside the box, and the editing dialo...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.cxx
index fa208106e601938876cc21b4f7fb467c6fb7dec3..326cbe2975f159b6d5c3f2d58ca0136da5065000 100644 (file)
@@ -108,26 +108,17 @@ namespace bbtk
        
        std::string GPortModel::getStatusText()
        {
-               std::string temp = "Name:";
+               std::string temp = "";
                
                temp+=_bbtkName;
-               temp+=" Type:";
-               temp+=_bbtkType;
-               temp+=" Box:";
-               temp+=_parentBox->getBBTKType();
-               if(_portType==GOUTPUTPORT)
-               {
-                       temp+=" [Output Port]";
-               }
-               else if(_portType==GINPUTPORT)
+               if(isValueSet())
                {
-                       if(isValueSet())
-                       {
-                               temp+=" Value:";
-                               temp+=_value;
-                       }
-                       temp+=" [Input Port]";
+                       temp+="(";
+                       temp+=_value;
+                       temp+=")";
                }
+               temp+=" ";
+               temp+=_bbtkType;
 
                return temp;
        }