-// Copyright (C) 2006-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
namespace HMI
{
class Subject;
+ class SubjectNode;
class SubjectElementaryNode;
class SubjectComposedNode;
class SubjectDataPort;
SubjectComposedNode *cnode,
bool createNewComponentInstance);
void AddTypeFromCatalog(const ItemMimeData* myData);
- void CreateNode(std::string typeNode);
+ SubjectNode* CreateNode(std::string typeNode);
void CreateBloc();
void CreateForLoop();
void CreateForEachLoop(std::string type );
void CopySubject();
void PasteSubject();
void PutSubjectInBloc();
+ std::string PutGraphInBloc();
+ void PutGraphInNode(std::string typeNode);
void shrinkExpand();
void rebuildLinks();
void arrangeNodes(bool isRecursive);
QString asciiFilter(const QString & name);
protected:
- void _createNode(YACS::ENGINE::Catalog* catalog,
+ SubjectNode* _createNode(YACS::ENGINE::Catalog* catalog,
SubjectComposedNode *cnode,
std::string service,
std::string compoName,