- void createGInputPort(BlackBoxInputDescriptor *desc,GBlackBoxModel *blackBox);
- void createGOutputPort(BlackBoxOutputDescriptor *desc,GBlackBoxModel *blackBox);
+ void createGPort(int portType, int posinBox,GBlackBoxModel *blackBox);
+ void createGInputPort(int portType, int posinBox,GBlackBoxModel *blackBox, BlackBoxInputDescriptor *desc);
+ void createGOutputPort(int portType, int posinBox,GBlackBoxModel *blackBox, BlackBoxOutputDescriptor *desc);
+ void createGConnector(GPortModel* startPort);
+