Method apply()
fun Action:apply(context: ActionContext)
Performs the action.
Marta runs apply()
only after the successful isApplicable()
check.
However, you should not rely on it that much, as the file system state might change during action execution.
You should never call the apply()
function directly. Use WindowContext.runAction()
instead.