Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
CreateNamedObjectWithAttributes (const QString &commandName, const QList< QStringList > &attributes) | |
Public Member Functions inherited from Interaction::CommandWithFlags | |
CommandWithFlags (const QString &name, const QList< QStringList > &attributes, bool usePossibleNames, bool limitToMatchingNames=true) | |
virtual bool | canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override |
virtual CommandResult * | execute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override |
virtual QList< CommandSuggestion * > | suggest (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor) override |
Public Member Functions inherited from Interaction::Command | |
Command (QString name, bool appearsInMenus=false) | |
virtual | ~Command () |
bool | appearsInMenus () const |
const QString | name () const |
Protected Member Functions | |
virtual QList< CommandSuggestion * > | suggestNamed (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor, const QString &name, const QStringList &attributes, bool commandFound) override |
Protected Member Functions inherited from Interaction::CommandWithFlags | |
virtual CommandResult * | executeNamed (Visualization::Item *source, Visualization::Item *target, const std::unique_ptr< Visualization::Cursor > &cursor, const QString &name, const QStringList &attributes)=0 |
virtual QStringList | possibleNames (Visualization::Item *source, Visualization::Item *target, const std::unique_ptr< Visualization::Cursor > &cursor) |
Interaction::CreateNamedObjectWithAttributes::CreateNamedObjectWithAttributes | ( | const QString & | commandName, |
const QList< QStringList > & | attributes | ||
) |
|
overrideprotectedvirtual |
Reimplemented from Interaction::CommandWithFlags.