private void showSuccessMessage() {
BooleanPreference showPref = UploadUsersAndGroupsSuccessMessagePreference.INSTANCE;
String msg = Strings.get("User.Save.Success.Message");
postStatusMessage(msg);
String title = Strings.get("User.Save.Success.Title");
DoNotShowAgainMessage alert = new DoNotShowAgainMessage(msg, title, showPref);
boolean clearStatusBar = false;
if (getState().contains(WindowElementState.OPEN)) {
clearStatusBar = alert.showAsOverlay(getOverlayContainer());
} else {
clearStatusBar = alert.showInDialog(getDialogOwner());
}
if (clearStatusBar) {
ApplicationMessageEvent.postInformationMessage(UploadJob.class, "");
}
}