Examples of NotificationEvent


Examples of org.uberfire.workbench.events.NotificationEvent

            @Override
            public void callback( final Path path ) {
                view.setNotDirty();
                view.hideBusyIndicator();
                metadataWidget.resetDirty();
                notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemSavedSuccessfully() ) );
            }
        };
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

        if ( path == null || restore == null || restore.getPath() == null ) {
            return;
        }
        if ( path.equals( restore.getPath() ) ) {
            loadContent();
            notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemRestored() ) );
        }
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

                readOnly);
    }

    @Override
    public void showSaveSuccessful() {
        notification.fire(new NotificationEvent(CommonConstants.INSTANCE.ItemSavedSuccessfully()));
    }
View Full Code Here

Examples of org.zanata.webtrans.client.events.NotificationEvent

    public void updateValidationMessage(
            Map<ValidationAction, List<String>> errors,
            boolean fireNotification,
            ArrayList<HasUpdateValidationMessage> widgetList) {
        if (!errors.isEmpty() && fireNotification) {
            eventBus.fireEvent(new NotificationEvent(Severity.Info, messages
                    .notifyValidationError()));
        }

        if (widgetList != null) {
            for (HasUpdateValidationMessage widget : widgetList) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.