]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectsMVCFactory.cxx
Basic functionnality adition showing the black box input ports
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectsMVCFactory.cxx
index 9a32bfe61573f323e1afc7c6ab17ce5b36dcccba..2cb11bed59e3454ba5494509dc056c7817c64695 100644 (file)
@@ -94,6 +94,10 @@ namespace bbtk
                {
                        view = new vtkGBlackBoxView();
                }
+               else if(type == GPORT)
+               {
+                       view = new vtkGPortView();
+               }
                return view;
        }
 
@@ -106,6 +110,10 @@ namespace bbtk
                {
                        controller = new GBlackBoxController();
                }
+               else if(type == GPORT)
+               {
+                       controller = new GPortController();
+               }
                return controller;
        }
 
@@ -118,6 +126,10 @@ namespace bbtk
                {
                        model = new GBlackBoxModel();
                }
+               else if(type == GPORT)
+               {
+                       model = new GPortModel();
+               }
                return model;
        }