void () { if (!myListening) { myListening = true; EditorFactory.getInstance().getEventMulticaster().addEditorMouseMotionListener(this, myProject); EditorFactory.getInstance().getEventMulticaster().addEditorMouseListener(this, myProject); } }