Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Command (QString name, bool appearsInMenus=false) | |
virtual | ~Command () |
bool | appearsInMenus () const |
virtual bool | canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) |
virtual CommandResult * | execute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor)=0 |
const QString | name () const |
virtual QList< CommandSuggestion * > | suggest (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor) |
Private Attributes | |
bool | appearsInMenus_ {} |
QString | name_ |
Interaction::Command::Command | ( | QString | name, |
bool | appearsInMenus = false |
||
) |
|
virtual |
|
inline |
|
virtual |
Reimplemented in Interaction::CToggleInfoEntry, Interaction::CToggleArrowLayer, Interaction::CSwitchView, Interaction::CSceneHandlerSave, Interaction::CSaveView, Interaction::COpenDir, Interaction::CommandWithFlags, Interaction::CFind, Interaction::CAddNodeToViewByName, Interaction::CSceneHandlerItemExit, Interaction::CRemoveNodeFromView, Interaction::CommandWithDefaultArguments, Interaction::CAddNodeToView, Interaction::CAddInfoNode, Interaction::AddReferencedToViewCommand< ReferenceTarget, ReferenceResult >, Interaction::AddReferencedToViewCommand< OOModel::Class, OOModel::Class >, and Interaction::AddReferencedToViewCommand< OOModel::Method, OOModel::Method >.
|
pure virtual |
Implemented in Interaction::CToggleInfoEntry, Interaction::CToggleArrowLayer, Interaction::CSwitchView, Interaction::CSceneHandlerSave, Interaction::CSaveView, Interaction::COpenDir, Interaction::CommandWithFlags, Interaction::CFind, Interaction::CAddNodeToViewByName, Interaction::CSceneHandlerItemExit, and Interaction::CommandWithDefaultArguments.
|
inline |
|
virtual |
Reimplemented in Interaction::CToggleInfoEntry, Interaction::CToggleArrowLayer, Interaction::CSwitchView, Interaction::CSceneHandlerSave, Interaction::CSaveView, Interaction::COpenDir, Interaction::CommandWithFlags, Interaction::CFind, Interaction::CAddNodeToViewByName, Interaction::CSceneHandlerItemExit, and Interaction::CommandWithDefaultArguments.
|
private |
|
private |