Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
CodeReview::CCodeReview Class Reference
Inheritance diagram for CodeReview::CCodeReview:
Interaction::Command

Public Member Functions

 CCodeReview ()
 
virtual bool canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override
 
virtual Interaction::CommandResultexecute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override
 
virtual QList< Interaction::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
 
virtual bool canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor)
 
virtual CommandResultexecute (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

QHash< QString, QString > unambigousPrefixPerRevision_
 

Static Private Attributes

static const QString REVIEW_VIEW_PREFIX = "ReviewView"
 
static const QString SAVE_COMMAND = "save"
 

Constructor & Destructor Documentation

◆ CCodeReview()

CodeReview::CCodeReview::CCodeReview ( )

Member Function Documentation

◆ canInterpret()

bool CodeReview::CCodeReview::canInterpret ( Visualization::Item source,
Visualization::Item target,
const QStringList &  commandTokens,
const std::unique_ptr< Visualization::Cursor > &  cursor 
)
overridevirtual

◆ execute()

Interaction::CommandResult * CodeReview::CCodeReview::execute ( Visualization::Item source,
Visualization::Item target,
const QStringList &  commandTokens,
const std::unique_ptr< Visualization::Cursor > &  cursor 
)
overridevirtual

◆ suggest()

QList< Interaction::CommandSuggestion * > CodeReview::CCodeReview::suggest ( Visualization::Item source,
Visualization::Item target,
const QString &  textSoFar,
const std::unique_ptr< Visualization::Cursor > &  cursor 
)
overridevirtual

Member Data Documentation

◆ REVIEW_VIEW_PREFIX

const QString CodeReview::CCodeReview::REVIEW_VIEW_PREFIX = "ReviewView"
staticprivate

◆ SAVE_COMMAND

const QString CodeReview::CCodeReview::SAVE_COMMAND = "save"
staticprivate

◆ unambigousPrefixPerRevision_

QHash<QString, QString> CodeReview::CCodeReview::unambigousPrefixPerRevision_
private