public abstract class AsyncUiEventListener extends java.lang.Object implements EventListener
EventListener
which simplifies running actions within the UI thread.Constructor and Description |
---|
AsyncUiEventListener(org.eclipse.swt.widgets.Display display) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.logging.Log |
getLog() |
void |
onEvent(EventIterator eventIterator) |
protected abstract void |
onEventInUiThread(java.util.List<Event> events)
Called asynchronously in the UI thread.
|
protected java.lang.Boolean |
willProcessInUiThread(java.util.List<Event> events)
Whether these events should be processed in the UI or skipped with no UI
job created.
|
public AsyncUiEventListener(org.eclipse.swt.widgets.Display display)
protected abstract void onEventInUiThread(java.util.List<Event> events) throws RepositoryException
RepositoryException
protected java.lang.Boolean willProcessInUiThread(java.util.List<Event> events) throws RepositoryException
RepositoryException
protected org.apache.commons.logging.Log getLog()
public final void onEvent(EventIterator eventIterator)
onEvent
in interface EventListener
Copyright © 2007–2020. All rights reserved.