Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | ArrowDirection { ArrowToReference , ArrowFromReference } |
Public Member Functions | |
AddReferencedToViewCommand (QString name, const QStringList &defaultArguments, int majorOffset, QString arrowLayer, ArrowDirection direction=ArrowToReference, int purpose=-1) | |
virtual bool | canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) |
Public Member Functions inherited from Interaction::CommandWithDefaultArguments | |
CommandWithDefaultArguments (QString name, const QStringList &defaultArguments) | |
const QStringList & | defaultArguments () |
virtual CommandResult * | execute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) |
virtual QList< CommandSuggestion * > | suggest (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor) |
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 CommandResult * | executeWithArguments (Visualization::Item *source, Visualization::Item *target, const QStringList &arguments, const std::unique_ptr< Visualization::Cursor > &cursor) |
virtual QSet< ReferenceResult * > | references (ReferenceTarget *target)=0 |
Protected Member Functions inherited from Interaction::CommandWithDefaultArguments | |
virtual QString | description (Visualization::Item *source, Visualization::Item *target, const QStringList &arguments, const std::unique_ptr< Visualization::Cursor > &cursor)=0 |
QStringList | getParameters (const QStringList &commandTokens) |
Private Attributes | |
QString | arrowLayer_ {} |
ArrowDirection | direction_ {} |
int | majorOffset_ {} |
int | purpose_ {} |
enum Interaction::AddReferencedToViewCommand::ArrowDirection |
|
inline |
|
inlinevirtual |
Reimplemented from Interaction::CommandWithDefaultArguments.
|
protectedvirtual |
Implements Interaction::CommandWithDefaultArguments.
|
protectedpure virtual |
|
private |
|
private |
|
private |
|
private |