]>
git.argeo.org Git - gpl/argeo-slc.git/blob - UiUserAdminListener.java
e51d690488bbe5a05c53d380aa2ef3d5f955c096
1 package org
.argeo
.cms
.ui
.workbench
.internal
.useradmin
;
3 import org
.eclipse
.swt
.widgets
.Display
;
4 import org
.osgi
.service
.useradmin
.UserAdminEvent
;
5 import org
.osgi
.service
.useradmin
.UserAdminListener
;
7 /** Convenience class to insure the call to refresh is done in the UI thread */
8 public abstract class UiUserAdminListener
implements UserAdminListener
{
10 private final Display display
;
12 public UiUserAdminListener(Display display
) {
13 this.display
= display
;
17 public void roleChanged(final UserAdminEvent event
) {
18 display
.asyncExec(new Runnable() {
21 roleChangedToUiThread(event
);
26 public abstract void roleChangedToUiThread(UserAdminEvent event
);