]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectsMVCFactory.cxx
The buttons and the objects to create input and output complex box ports were added...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectsMVCFactory.cxx
index c9a1bc9a1bde6c2bb672b05f83775bcfab2204d4..d495b72ea90ae4649dabc3d18b5465c5500b9ad6 100644 (file)
@@ -98,6 +98,10 @@ namespace bbtk
                {
                        view = new vtkGPortView();
                }
+               else if(type == GCOMPLEXINPUTPORT || type == GCOMPLEXOUTPUTPORT)
+               {
+                       view = new vtkGComplexBoxPortView();
+               }
                return view;
        }
 
@@ -114,6 +118,10 @@ namespace bbtk
                {
                        controller = new GPortController();
                }
+               else if(type == GCOMPLEXINPUTPORT || type == GCOMPLEXOUTPUTPORT)
+               {
+                       controller = new GBoxController();
+               }
                return controller;
        }
 
@@ -130,6 +138,10 @@ namespace bbtk
                {
                        model = new GPortModel();
                }
+               else if(type == GCOMPLEXINPUTPORT || type == GCOMPLEXOUTPUTPORT)
+               {
+                       model = new GComplexBoxPortModel();
+               }
 
                model->setGObjectType(type);