Command.getLabel

Command.getLabel returns the string label for the command.

myCounterCommand.getLabel = function (scope) {
  return "Update counter attribute on the document";
}

Command.getLabel( scope : Scope) : String

Arguments

scope
Scope. The scope state

Return Value

String
Label