List v= new ArrayList(fSnippetStateListeners); for (int i= 0; i < v.size(); i++) { ISnippetStateChangedListener l= (ISnippetStateChangedListener) v.get(i); l.snippetStateChanged(this); }
Runnable r= new Runnable() { public void run() { List v= new ArrayList(fSnippetStateListeners); for (int i= 0; i < v.size(); i++) { ISnippetStateChangedListener l= (ISnippetStateChangedListener) v.get(i); l.snippetStateChanged(JavaSnippetEditor.this); } } }; getShell().getDisplay().asyncExec(r);
	public void fireEvalStateChanged() {		List v= new ArrayList(fSnippetStateListeners);		for (int i= 0; i < v.size(); i++) {			ISnippetStateChangedListener l= (ISnippetStateChangedListener) v.get(i);			l.snippetStateChanged(this);		}	}