Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
Alloy::CAlloy Class Reference

The CAlloy class offers the command line interaction to execute the Alloy generation. More...

Inheritance diagram for Alloy::CAlloy:
Interaction::CreateNamedObjectWithAttributes Interaction::CommandWithFlags Interaction::Command

Public Member Functions

 CAlloy ()
 
- Public Member Functions inherited from Interaction::CreateNamedObjectWithAttributes
 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 CommandResultexecute (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 Interaction::CommandResultexecuteNamed (Visualization::Item *source, Visualization::Item *target, const std::unique_ptr< Visualization::Cursor > &cursor, const QString &name, const QStringList &attributes) override
 
- Protected Member Functions inherited from Interaction::CreateNamedObjectWithAttributes
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 CommandResultexecuteNamed (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)
 

Private Attributes

const int MAX_IMAGES = 100
 

Detailed Description

The CAlloy class offers the command line interaction to execute the Alloy generation.

Constructor & Destructor Documentation

◆ CAlloy()

Alloy::CAlloy::CAlloy ( )

Member Function Documentation

◆ executeNamed()

Interaction::CommandResult * Alloy::CAlloy::executeNamed ( Visualization::Item source,
Visualization::Item target,
const std::unique_ptr< Visualization::Cursor > &  cursor,
const QString &  name,
const QStringList &  attributes 
)
overrideprotectedvirtual

Member Data Documentation

◆ MAX_IMAGES

const int Alloy::CAlloy::MAX_IMAGES = 100
private