25 #include "../../StatechartViewerPlugin/model/stateinstance/DynamicRemoteState.h"
26 #include "../../StatechartViewerPlugin/model/stateinstance/EndState.h"
27 #include "../../StatechartViewerPlugin/model/stateinstance/LocalState.h"
28 #include "../../StatechartViewerPlugin/model/stateinstance/RemoteState.h"
47 node->name() +
"\" node not found!");
55 return QString::fromUtf8(attribute->value());
58 StateInstanceFactoryBase::SubClassRegistry
59 EndStateInstanceFactory::registry(EndStateInstanceFactory::getName(),
60 &EndStateInstanceFactory::createInstance);
61 StateInstanceFactoryBase::SubClassRegistry
62 LocalStateInstanceFactory::registry(LocalStateInstanceFactory::getName(),
63 &LocalStateInstanceFactory::createInstance);
64 StateInstanceFactoryBase::SubClassRegistry
65 RemoteStateInstanceFactory::registry(RemoteStateInstanceFactory::getName(),
66 &RemoteStateInstanceFactory::createInstance);
67 StateInstanceFactoryBase::SubClassRegistry
68 DynamicRemoteStateInstanceFactory::registry(DynamicRemoteStateInstanceFactory::getName(),
69 &DynamicRemoteStateInstanceFactory::createInstance);
73 xmlNode(xmlNode), parentState(parentState)
90 endStateInstance->setPosition(
94 return endStateInstance;
119 localStateInstance->setPosition(
123 return localStateInstance;
150 remoteStateInstance->setPosition(
154 return remoteStateInstance;
179 dynamicRemoteStateInstance->setPosition(
181 dynamicRemoteStateInstance->setBoundingBox(
184 return dynamicRemoteStateInstance;