Activity for Nonlocal and Gradient Elasticity