22 assert(
false &&
"Did not expect a menu item to be invoked!");
35 return (selector == fCssType) || (!fCssClass.empty() && (selector == std::string(
".") + fCssClass)) || (!fId.empty() && (selector == std::string(
"#") + fId));
44 return std::make_unique<RDrawableDisplayItem>(*
this);
virtual void Execute(const std::string &)
virtual std::unique_ptr< RDisplayItem > Display() const
Creates display item for drawable By default item contains drawble data itself.
bool MatchSelector(const std::string &selector) const
Preliminary method which checks if drawable matches with given selector Following selector are allowe...