If you check the constructor of this class, you pass along the controller and the editionWindow. In fact, editionWindow is a private attribute in the parent class. You can make it protected, and access it from here instead of passing it as an argument. You could also cache the controller as an attribute in the constructor and accesit form here.