##// END OF EJS Templates
Unplot menu (6): handles 'Unplot' menu when visiting a graph...
Unplot menu (6): handles 'Unplot' menu when visiting a graph If the graph contains the variable, creates the action that removes the variable from the graph

File last commit:

r301:87af69bdce8a
r302:782c5b48bc35
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
Alexandre Leroux
Creates a interface that defines a variable container...
r194 #ifndef SCIQLOP_IVARIABLECONTAINER_H
#define SCIQLOP_IVARIABLECONTAINER_H
class Variable;
/**
* @brief The IVariableContainer interface represents an UI object that can accommodate a variable
*/
class IVariableContainer {
public:
virtual ~IVariableContainer() = default;
/// Checks if the container can handle the variable passed in parameter
virtual bool canDrop(const Variable &variable) const = 0;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r301
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
Alexandre Leroux
Creates a interface that defines a variable container...
r194 };
#endif // SCIQLOP_IVARIABLECONTAINER_H