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

项目:intellij-ce-playground    文件:SelectionModelImpl.java   
private void broadcastSelectionEvent(SelectionEvent event) {
  for (SelectionListener listener : mySelectionListeners) {
    try {
      listener.selectionChanged(event);
    }
    catch (Exception e) {
      LOG.error(e);
    }
  }
}
项目:intellij-ce-playground    文件:SelectionModelImpl.java   
public void addSelectionListener(final SelectionListener listener, Disposable parent) {
  mySelectionListeners.add(listener);
  Disposer.register(parent, new Disposable() {
    @Override
    public void dispose() {
      mySelectionListeners.remove(listener);
    }
  });
}
项目:tools-idea    文件:SelectionModelImpl.java   
private void broadcastSelectionEvent(SelectionEvent event) {
  for (SelectionListener listener : mySelectionListeners) {
    try {
      listener.selectionChanged(event);
    }
    catch (Exception e) {
      LOG.error(e);
    }
  }
}
项目:consulo    文件:SelectionModelImpl.java   
private void broadcastSelectionEvent(SelectionEvent event) {
  for (SelectionListener listener : mySelectionListeners) {
    try {
      listener.selectionChanged(event);
    }
    catch (Exception e) {
      LOG.error(e);
    }
  }
}
项目:consulo    文件:SelectionModelImpl.java   
public void addSelectionListener(final SelectionListener listener, Disposable parent) {
  mySelectionListeners.add(listener);
  Disposer.register(parent, new Disposable() {
    @Override
    public void dispose() {
      mySelectionListeners.remove(listener);
    }
  });
}
项目:intellij-ce-playground    文件:TextComponentSelectionModel.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:intellij-ce-playground    文件:TextComponentSelectionModel.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:intellij-ce-playground    文件:SelectionModelImpl.java   
@Override
public void addSelectionListener(SelectionListener listener) {
  mySelectionListeners.add(listener);
}
项目:intellij-ce-playground    文件:SelectionModelImpl.java   
@Override
public void removeSelectionListener(SelectionListener listener) {
  boolean success = mySelectionListeners.remove(listener);
  LOG.assertTrue(success);
}
项目:intellij-ce-playground    文件:SelectionModelWindow.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  myHostModel.addSelectionListener(listener);
}
项目:intellij-ce-playground    文件:SelectionModelWindow.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  myHostModel.removeSelectionListener(listener);
}
项目:tools-idea    文件:TextComponentSelectionModel.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:tools-idea    文件:TextComponentSelectionModel.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:tools-idea    文件:SelectionModelImpl.java   
@Override
public void addSelectionListener(SelectionListener listener) {
  mySelectionListeners.add(listener);
}
项目:tools-idea    文件:SelectionModelImpl.java   
@Override
public void removeSelectionListener(SelectionListener listener) {
  boolean success = mySelectionListeners.remove(listener);
  LOG.assertTrue(success);
}
项目:tools-idea    文件:SelectionModelWindow.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  myHostModel.addSelectionListener(listener);
}
项目:tools-idea    文件:SelectionModelWindow.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  myHostModel.removeSelectionListener(listener);
}
项目:consulo    文件:TextComponentSelectionModel.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:consulo    文件:TextComponentSelectionModel.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  throw new UnsupportedOperationException("Not implemented");
}
项目:consulo    文件:SelectionModelImpl.java   
@Override
public void addSelectionListener(SelectionListener listener) {
  mySelectionListeners.add(listener);
}
项目:consulo    文件:SelectionModelImpl.java   
@Override
public void removeSelectionListener(SelectionListener listener) {
  boolean success = mySelectionListeners.remove(listener);
  LOG.assertTrue(success);
}
项目:consulo    文件:SelectionModelWindow.java   
@Override
public void addSelectionListener(final SelectionListener listener) {
  myHostModel.addSelectionListener(listener);
}
项目:consulo    文件:SelectionModelWindow.java   
@Override
public void removeSelectionListener(final SelectionListener listener) {
  myHostModel.removeSelectionListener(listener);
}
项目:intellij-ce-playground    文件:SelectionModel.java   
/**
 * Adds a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void addSelectionListener(SelectionListener listener);
项目:intellij-ce-playground    文件:SelectionModel.java   
/**
 * Removes a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void removeSelectionListener(SelectionListener listener);
项目:tools-idea    文件:SelectionModel.java   
/**
 * Adds a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void addSelectionListener(SelectionListener listener);
项目:tools-idea    文件:SelectionModel.java   
/**
 * Removes a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void removeSelectionListener(SelectionListener listener);
项目:consulo    文件:SelectionModel.java   
/**
 * Adds a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void addSelectionListener(SelectionListener listener);
项目:consulo    文件:SelectionModel.java   
/**
 * Removes a listener for receiving information about selection changes.
 *
 * @param listener the listener instance.
 */
void removeSelectionListener(SelectionListener listener);