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

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

本文整理了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

/**
 * Removes a selection listener from the list.
 *
 * @param listener
 *            the selection listener to be removed.
 */
public void removeSelectionListener(SelectionListener listener) {
  fList.removeSelectionListener(listener);
}

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

@Override
public void disposeInformationControl() {
   synchronized (fThreadAccess) {
     if (fThread != null) {
       fThread.interrupt();
       fThread= null;
     }
   }
  if (fProposalTable != null && !fProposalTable.isDisposed()) {
    fProposalTable.removeSelectionListener(fSelectionListener);
    fProposalTable= null;
  }
  super.disposeInformationControl();
}

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

@Override
public void disposeInformationControl() {
   synchronized (fThreadAccess) {
     if (fThread != null) {
       fThread.interrupt();
       fThread= null;
     }
   }
  if (fProposalTable != null && !fProposalTable.isDisposed()) {
    fProposalTable.removeSelectionListener(fSelectionListener);
    fProposalTable= null;
  }
  super.disposeInformationControl();
}

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

@Override
public void disposeInformationControl() {
  if (fTimer !=null) {
    fTimer.terminate();
    fTimer= null;
  }
  fProposal= null;
  fInformation= null;
  if (fProposalTable != null && !fProposalTable.isDisposed()) {
    fProposalTable.removeSelectionListener(fSelectionListener);
    fProposalTable= null;
  }
  super.disposeInformationControl();
}

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

@Override
public void disposeInformationControl() {
  if (fTimer !=null) {
    fTimer.terminate();
    fTimer= null;
  }
  fProposal= null;
  fInformation= null;
  if (fProposalTable != null && !fProposalTable.isDisposed()) {
    fProposalTable.removeSelectionListener(fSelectionListener);
    fProposalTable= null;
  }
  super.disposeInformationControl();
}

相关文章

Table类方法