|
The AbstractStateMimeData class is used to transport state data from the treeview to the stateview and is implemented in the editor plugin. More...
#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/model/StateMimeData.h>
Public Member Functions | |
AbstractStateMimeData (statechartmodel::StatePtr state) | |
QStringList | formats () const override |
const QString & | getProxyName () const |
statechartmodel::StatePtr | getState () const |
bool | hasFormat (const QString &mimetype) const override |
virtual bool | isInSameGroup (statechartmodel::StatePtr state) const =0 |
virtual bool | isPublic () const =0 |
void | setProxyName (const QString &value) |
void | setState (const statechartmodel::StatePtr &value) |
Protected Member Functions | |
QVariant | retrieveData (const QString &mimetype, QVariant::Type preferredType) const override |
Protected Attributes | |
QString | proxyName |
statechartmodel::StatePtr | state |
The AbstractStateMimeData class is used to transport state data from the treeview to the stateview and is implemented in the editor plugin.
isInSameGroup is abstract because it can only be implemented in the editor plugin, because the states do not know anything about statechart groups.
Definition at line 36 of file StateMimeData.h.
Definition at line 29 of file StateMimeData.cpp.
|
override |
const QString & getProxyName | ( | ) | const |
Definition at line 68 of file StateMimeData.cpp.
statechartmodel::StatePtr getState | ( | ) | const |
Definition at line 78 of file StateMimeData.cpp.
|
override |
|
pure virtual |
|
pure virtual |
|
overrideprotected |
void setProxyName | ( | const QString & | value | ) |
void setState | ( | const statechartmodel::StatePtr & | value | ) |
|
protected |
Definition at line 57 of file StateMimeData.h.
|
protected |
Definition at line 56 of file StateMimeData.h.