org.eclipse.swt.widgets.Table.removeSelectionListener()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(200)

本文整理了Java中org.eclipse.swt.widgets.Table.removeSelectionListener()方法的一些代码示例,展示了Table.removeSelectionListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.removeSelectionListener()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:removeSelectionListener

Table.removeSelectionListener介绍

[英]Removes the listener from the collection of listeners who will be notified when the user changes the receiver's selection.
[中]从侦听器集合中删除侦听器,当用户更改接收方的选择时,将通知这些侦听器。

代码示例

代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench

  1. /**
  2. * Removes a selection listener from the list.
  3. *
  4. * @param listener
  5. * the selection listener to be removed.
  6. */
  7. public void removeSelectionListener(SelectionListener listener) {
  8. fList.removeSelectionListener(listener);
  9. }

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text

  1. @Override
  2. public void disposeInformationControl() {
  3. synchronized (fThreadAccess) {
  4. if (fThread != null) {
  5. fThread.interrupt();
  6. fThread= null;
  7. }
  8. }
  9. if (fProposalTable != null && !fProposalTable.isDisposed()) {
  10. fProposalTable.removeSelectionListener(fSelectionListener);
  11. fProposalTable= null;
  12. }
  13. super.disposeInformationControl();
  14. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  1. @Override
  2. public void disposeInformationControl() {
  3. synchronized (fThreadAccess) {
  4. if (fThread != null) {
  5. fThread.interrupt();
  6. fThread= null;
  7. }
  8. }
  9. if (fProposalTable != null && !fProposalTable.isDisposed()) {
  10. fProposalTable.removeSelectionListener(fSelectionListener);
  11. fProposalTable= null;
  12. }
  13. super.disposeInformationControl();
  14. }

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text

  1. @Override
  2. public void disposeInformationControl() {
  3. if (fTimer !=null) {
  4. fTimer.terminate();
  5. fTimer= null;
  6. }
  7. fProposal= null;
  8. fInformation= null;
  9. if (fProposalTable != null && !fProposalTable.isDisposed()) {
  10. fProposalTable.removeSelectionListener(fSelectionListener);
  11. fProposalTable= null;
  12. }
  13. super.disposeInformationControl();
  14. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  1. @Override
  2. public void disposeInformationControl() {
  3. if (fTimer !=null) {
  4. fTimer.terminate();
  5. fTimer= null;
  6. }
  7. fProposal= null;
  8. fInformation= null;
  9. if (fProposalTable != null && !fProposalTable.isDisposed()) {
  10. fProposalTable.removeSelectionListener(fSelectionListener);
  11. fProposalTable= null;
  12. }
  13. super.disposeInformationControl();
  14. }

相关文章

Table类方法