本文整理了Java中org.eclipse.swt.widgets.Text.removeModifyListener()
方法的一些代码示例,展示了Text.removeModifyListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Text.removeModifyListener()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Text
类名称:Text
方法名:removeModifyListener
[英]Removes the listener from the collection of listeners who will be notified when the receiver's text is modified.
[中]将侦听器从侦听器集合中移除,修改接收方文本时将通知这些侦听器。
代码示例来源:origin: org.apache.directory.studio/apacheds.configuration
/**
* Removes listeners to UI fields.
*/
private void removeListeners()
{
nameText.removeModifyListener( textModifyListener );
classText.removeModifyListener( textModifyListener );
}
代码示例来源:origin: org.apache.directory.studio/apacheds.configuration
/**
* Removes listeners to UI fields.
*/
private void removeListeners()
{
classTypeText.removeModifyListener( textModifyListener );
}
代码示例来源:origin: org.apache.directory.studio/apacheds.configuration
/**
* Removes listeners to UI fields.
*/
private void removeListeners()
{
classTypeText.removeModifyListener( textModifyListener );
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.m2e.core.ui
/** Unhooks the listener watching the parent name field. */
public void removesParentProjectListener(ModifyListener modifyListener) {
parentProjectText.removeModifyListener(modifyListener);
}
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
/**
* Sets the text without triggering a dialog-changed event.
*/
public void setTextWithoutUpdate(String text) {
fText= text;
if (isOkToUse(fTextControl)) {
fTextControl.removeModifyListener(fModifyListener);
fTextControl.setText(text);
fTextControl.addModifyListener(fModifyListener);
}
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
public void dispose() {
if (!fParameterText.isDisposed())
fParameterText.removeModifyListener(this);
}
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee.webservice
private void removeModifyListener() {
for (int i = 0; i < featuresTexts_.length; i++)
if (featuresTexts_[i] != null && !featuresTexts_[i].isDisposed())
featuresTexts_[i].removeModifyListener(this);
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
/**
* Sets the text without triggering a dialog-changed event.
* @param text the new text
*/
public void setTextWithoutUpdate(String text) {
fText= text;
if (isOkToUse(fTextControl)) {
fTextControl.removeModifyListener(fModifyListener);
fTextControl.setText(text);
fTextControl.addModifyListener(fModifyListener);
}
}
代码示例来源:origin: org.eclipse.xtext/ui
/**
* Sets the text without triggering a dialog-changed event.
*/
public void setTextWithoutUpdate(String text) {
fText = text;
if (isOkToUse(fTextControl)) {
fTextControl.removeModifyListener(fModifyListener);
fTextControl.setText(text);
fTextControl.addModifyListener(fModifyListener);
}
}
代码示例来源: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);
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
/**
* Sets the text without triggering a dialog-changed event.
* @param text the new text
*/
public void setTextWithoutUpdate(String text) {
fText= text;
if (isOkToUse(fTextControl)) {
fTextControl.removeModifyListener(fModifyListener);
fTextControl.setText(text);
fTextControl.addModifyListener(fModifyListener);
}
}
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
/**
* Stop listening.
*/
private void deregisterListeners(boolean live) {
if(live) {
this.text.removeModifyListener(filterChangeListener);
} else {
this.text.removeSelectionListener(filterChangeListener);
}
}
代码示例来源:origin: oyse/yedit
/**
* Sets the text without triggering a dialog-changed event.
*/
public void setTextWithoutUpdate(String text) {
fText= text;
if (isOkToUse(fTextControl)) {
fTextControl.removeModifyListener(fModifyListener);
fTextControl.setText(text);
fTextControl.addModifyListener(fModifyListener);
}
}
代码示例来源: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.platform/org.eclipse.jface.text
@Override
public void replace(int pos, int length, String text) throws BadLocationException {
super.replace(pos, length, text);
fText.removeModifyListener(fModifyListener);
fText.setText(get());
fText.addModifyListener(fModifyListener);
}
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee.webservice
public void dispose() {
if (eObject_ != null)
eObject_.eAdapters().remove(this);
if (text_ != null && !text_.isDisposed())
text_.removeModifyListener(this);
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.j2ee.webservice
public void dispose() {
if (eObject_ != null)
eObject_.eAdapters().remove(this);
if (text_ != null && !text_.isDisposed())
text_.removeModifyListener(this);
}
代码示例来源:origin: org.eclipse.e4.ui.css/swt
public void dispose() {
super.dispose();
if (!dynamicEnabled) return;
Text text = getText();
if (!text.isDisposed()) {
text.removeModifyListener(modifyListener);
}
}
代码示例来源:origin: BiglySoftware/BiglyBT
@Override
public void disableFilterCheck() {
TableViewSWTFilter<?> filter = getSWTFilter();
if ( filter == null ){
return;
}
if (filter.widget != null && !filter.widget.isDisposed()) {
filter.widget.removeKeyListener(tvSWTCommon);
filter.widget.removeModifyListener(filter.widgetModifyListener);
}
filter = null;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.e4.ui.css.swt
@Override
public void dispose() {
super.dispose();
if (!dynamicEnabled) {
return;
}
Text text = getText();
if (!text.isDisposed()) {
text.removeModifyListener(modifyListener);
}
}
内容来源于网络,如有侵权,请联系作者删除!