/** * Notify the event that the mode and state are changed. * * @param mode Mode of the editing action. * @param state Mode of the selection state. */ private void notifyStateChanged(int mode, int state) { if (mESTInterface != null) { mESTInterface.notifyStateChanged(mode, state); } }