本文整理了Java中org.eclipse.swt.widgets.Text.removeSelectionListener()
方法的一些代码示例,展示了Text.removeSelectionListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Text.removeSelectionListener()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Text
类名称:Text
方法名:removeSelectionListener
[英]Removes the listener from the collection of listeners who will be notified when the control is selected by the user.
[中]从侦听器集合中删除侦听器,当用户选择控件时,将通知这些侦听器。
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
/**
* A cleanup method which stops this MatcherEditor from listening to
* changes on the {@link Text} component, thus freeing the
* MatcherEditor to be garbage collected. Garbage collection could be
* blocked if you have registered the SelectionListener provided by
* {@link #getFilterSelectionListener()} and not removed that listener
* (of disposed of the widget it was registered to).
*/
public void dispose() {
text.removeSelectionListener(filterChangeListener);
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15
/**
* A cleanup method which stops this MatcherEditor from listening to
* changes on the {@link Text} component, thus freeing the
* MatcherEditor to be garbage collected. Garbage collection could be
* blocked if you have registered the SelectionListener provided by
* {@link #getFilterSelectionListener()} and not removed that listener
* (of disposed of the widget it was registered to).
*/
public void dispose() {
text.removeSelectionListener(filterChangeListener);
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16
/**
* A cleanup method which stops this MatcherEditor from listening to
* changes on the {@link Text} component, thus freeing the
* MatcherEditor to be garbage collected. Garbage collection could be
* blocked if you have registered the SelectionListener provided by
* {@link #getFilterSelectionListener()} and not removed that listener
* (of disposed of the widget it was registered to).
*/
public void dispose() {
text.removeSelectionListener(filterChangeListener);
}
代码示例来源:origin: org.eclipse.mylyn.commons/workbench
public void removeSelectionListener(SelectionListener listener) {
textControl.removeSelectionListener(listener);
selectionListeners.remove(listener);
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15
/**
* Stop listening.
*/
private void deregisterListeners(boolean live) {
if(live) {
this.text.removeModifyListener(filterChangeListener);
} else {
this.text.removeSelectionListener(filterChangeListener);
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
@Override
public void removeSelectionListener(SelectionListener selectionListener) {
fText.removeSelectionListener(selectionListener);
Object listener= fModifyListeners.get(selectionListener);
if (listener instanceof Listener)
fText.removeListener(SWT.Modify, (Listener)listener);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
@Override
public void removeSelectionListener(SelectionListener selectionListener) {
fText.removeSelectionListener(selectionListener);
Listener listener= fModifyListeners.get(selectionListener);
if (listener != null)
fText.removeListener(SWT.Modify, listener);
}
}
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
/**
* Stop listening.
*/
private void deregisterListeners(boolean live) {
if(live) {
this.text.removeModifyListener(filterChangeListener);
} else {
this.text.removeSelectionListener(filterChangeListener);
}
}
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16
/**
* Stop listening.
*/
private void deregisterListeners(boolean live) {
if(live) {
this.text.removeModifyListener(filterChangeListener);
} else {
this.text.removeSelectionListener(filterChangeListener);
}
}
内容来源于网络,如有侵权,请联系作者删除!