Workspace 6.21.5
|
#include <Workspace/Presentation/workspacemodelitem.h>
Classes | |
class | InputArrayElementItem |
class | InputArrayItem |
class | InputScalarItem |
class | IOBaseItem |
class | OperationItem |
class | OutputItem |
class | WorkspaceItem |
Public Member Functions | |
~WorkspaceModelItem () override | |
QStandardItem * | clone () const override |
virtual void | customContextMenu ()=0 |
virtual DataExecution::InputScalar * | getInputScalar () |
virtual DataExecution::Operation * | getOperation (bool fallbackToParent=false)=0 |
DataExecution::Updatable & | getUpdatable () |
virtual DataExecution::Workspace * | getWorkspace () |
void | setFlagsForRow (int row) |
Protected Member Functions | |
WorkspaceModelItem (WorkspaceController &controller, DataExecution::Updatable &updatable) | |
Protected Attributes | |
WorkspaceController & | controller_ |
DataExecution::ObserverSet | observers_ |
DataExecution::Updatable & | updatable_ |
|
protected |
|
override |
|
override |
This has been reimplemented primarily to catch an unexpected situation. The model to which an WorkspaceModelItem belongs should only ever hold WorkspaceModelItem instances and they should never be duplicated. Further, no action should be performed on that model which would lead to clone() ever being called, hence why we have code here to catch it.
|
pure virtual |
|
inlinevirtual |
Reimplemented in WorkspaceModelItem::InputScalarItem.
|
pure virtual |
Implemented in WorkspaceModelItem::IOBaseItem, and WorkspaceModelItem::OperationItem.
Updatable & getUpdatable | ( | ) |
|
inlinevirtual |
Reimplemented in WorkspaceModelItem::WorkspaceItem.
void setFlagsForRow | ( | int | row | ) |
|
protected |
|
protected |
|
protected |