本文整理匯總了Java中org.eclipse.swt.widgets.Composite.notifyListeners方法的典型用法代碼示例。如果您正苦於以下問題:Java Composite.notifyListeners方法的具體用法?Java Composite.notifyListeners怎麽用?Java Composite.notifyListeners使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.eclipse.swt.widgets.Composite
的用法示例。
在下文中一共展示了Composite.notifyListeners方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: AssertionComposite
import org.eclipse.swt.widgets.Composite; //導入方法依賴的package包/類
public AssertionComposite ( final OrCondition orCondition, final Composite parent, final String attribute, final Type type )
{
// final fields
super ( parent, SWT.NONE );
this.orCondition = orCondition;
// widgets
this.notCheck = createNotCheck ();
this.attributeText = createAttributeText ( attribute );
createFieldTypeLabel ( type );
this.assertionCombo = createAssertionCombo ();
this.valueText = createValueText ();
createRemoveButton ();
// layout
final RowLayout layout = new RowLayout ();
layout.center = true;
this.setLayout ( layout );
parent.notifyListeners ( SWT.Resize, new org.eclipse.swt.widgets.Event () );
}