Creates an object of class MethodExtension
, which when added to a
Method
creates an ExtendedMethod
.
new_method_extension(name, label, method_extension)
a short name identifier. Must be alphanumeric.
a longer, human readable label that can have other characters such as spaces, hyphens, etc.
a function with arguments "model", "draw", "out", and
"base_method". This will become the function extended_method
in the ExtendedMethod
object that is created.
This class inherits from the Component
class.