Entry(smtk::operation::Operation::Index index, const std::string &label, const std::string &toolTip, const std::set< smtk::string::Token > &groups={}, const std::string &buttonLabel=std::string())
A constructor that accepts overrides for all parameters.
Definition: OperationDecorator.h:102
OperationDecorator::Entry wrap()
An Entry-constructor that takes an operation as a parameter.
Definition: OperationDecorator.h:165
std::set< smtk::string::Token > m_groups
Groupings in which this operation should appear.
Definition: OperationDecorator.h:78
Entry(smtk::operation::Operation::Index index)
A constructor that takes an operation index.
Definition: OperationDecorator.h:91
std::string m_label
An alternate name for the operation (overriding its native label).
Definition: OperationDecorator.h:72
std::string m_buttonLabel
Same as m_label but with linebreaks to squarify it for presentation.
Definition: OperationDecorator.h:74
An entry indicating how to present an operation to users.
Definition: OperationDecorator.h:66
std::string m_toolTip
An alternate tool-tip string.
Definition: OperationDecorator.h:76