Java 类com.intellij.openapi.editor.event.EditorMouseMotionListener 实例源码

项目:tools-idea    文件:EditorWindow.java   
@Override
public void addEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  assert isValid();
  EditorMouseMotionListener wrapper = new EditorMouseMotionListener() {
    @Override
    public void mouseMoved(EditorMouseEvent e) {
      listener.mouseMoved(new EditorMouseEvent(EditorWindow.this, e.getMouseEvent(), e.getArea()));
    }

    @Override
    public void mouseDragged(EditorMouseEvent e) {
      listener.mouseDragged(new EditorMouseEvent(EditorWindow.this, e.getMouseEvent(), e.getArea()));
    }
  };
  myEditorMouseMotionListeners.registerWrapper(listener, wrapper);
  myDelegate.addEditorMouseMotionListener(wrapper);
}
项目:intellij-ce-playground    文件:EditorWindowImpl.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  EditorMouseMotionListener wrapper = myEditorMouseMotionListeners.removeWrapper(listener);
  if (wrapper != null) {
    myDelegate.removeEditorMouseMotionListener(wrapper);
  }
}
项目:tools-idea    文件:EditorWindow.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  EditorMouseMotionListener wrapper = myEditorMouseMotionListeners.removeWrapper(listener);
  if (wrapper != null) {
    myDelegate.removeEditorMouseMotionListener(wrapper);
  }
}
项目:consulo    文件:EditorWindowImpl.java   
@Override
public void removeEditorMouseMotionListener(@Nonnull final EditorMouseMotionListener listener) {
  EditorMouseMotionListener wrapper = myEditorMouseMotionListeners.removeWrapper(listener);
  if (wrapper != null) {
    myDelegate.removeEditorMouseMotionListener(wrapper);
  }
}
项目:intellij-ce-playground    文件:TextComponentEditor.java   
@Override
public void addEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:intellij-ce-playground    文件:TextComponentEditor.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:intellij-ce-playground    文件:LazyEditor.java   
@Override
public void addEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  getEditor().addEditorMouseMotionListener(listener);
}
项目:intellij-ce-playground    文件:LazyEditor.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  getEditor().removeEditorMouseMotionListener(listener);
}
项目:tools-idea    文件:TextComponentEditor.java   
@Override
public void addEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:tools-idea    文件:TextComponentEditor.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:tools-idea    文件:LazyEditor.java   
@Override
public void addEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  getEditor().addEditorMouseMotionListener(listener);
}
项目:tools-idea    文件:LazyEditor.java   
@Override
public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
  getEditor().removeEditorMouseMotionListener(listener);
}
项目:consulo    文件:TextComponentEditorImpl.java   
@Override
public void addEditorMouseMotionListener(@Nonnull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:consulo    文件:TextComponentEditorImpl.java   
@Override
public void removeEditorMouseMotionListener(@Nonnull final EditorMouseMotionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:consulo    文件:LazyEditor.java   
@Override
public void addEditorMouseMotionListener(@Nonnull final EditorMouseMotionListener listener) {
  getEditor().addEditorMouseMotionListener(listener);
}
项目:consulo    文件:LazyEditor.java   
@Override
public void removeEditorMouseMotionListener(@Nonnull final EditorMouseMotionListener listener) {
  getEditor().removeEditorMouseMotionListener(listener);
}
项目:intellij-ce-playground    文件:Editor.java   
/**
 * Adds a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void addEditorMouseMotionListener(@NotNull EditorMouseMotionListener listener);
项目:intellij-ce-playground    文件:Editor.java   
/**
 * Removes a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void removeEditorMouseMotionListener(@NotNull EditorMouseMotionListener listener);
项目:tools-idea    文件:Editor.java   
/**
 * Adds a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void addEditorMouseMotionListener(@NotNull EditorMouseMotionListener listener);
项目:tools-idea    文件:Editor.java   
/**
 * Removes a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void removeEditorMouseMotionListener(@NotNull EditorMouseMotionListener listener);
项目:consulo    文件:Editor.java   
/**
 * Adds a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void addEditorMouseMotionListener(@Nonnull EditorMouseMotionListener listener);
项目:consulo    文件:Editor.java   
/**
 * Removes a listener for receiving notifications about mouse movement in the editor.
 *
 * @param listener the listener instance.
 */
void removeEditorMouseMotionListener(@Nonnull EditorMouseMotionListener listener);