Class DelegatingEditActionHandlerFocusAdapter

java.lang.Object
java.awt.event.FocusAdapter
com.inductiveautomation.ignition.designer.model.DelegatingEditActionHandlerFocusAdapter
All Implemented Interfaces:
FocusListener, EventListener

public class DelegatingEditActionHandlerFocusAdapter extends FocusAdapter
A FocusAdapter which sets the injected DelegatingEditActionHandler's delegate to the injected EditActionHandler delegate when the target gains focus. When the target loses focus, the DelegatingEditActionHandler's delegate is set to null only if its delegate is still set to the injected delegate and if the component that the target lost focus to descends from the injected parent Component (since focus could be on the Designer's edit menu bar, in this case the edit action delegation chain will not break).
See Also: