Examples of NotificationEvent


Examples of com.sun.enterprise.util.NotificationEvent

  Log.print(this, localStrings.getLocalString(
                "enterprise.tools.deployment.main.clientcodeat",
                "client code at {0}", new Object[] {clientCode}));
  if (clientCode != null && clientCodeFile != null) {
      writeClientJarToFile(clientCode, clientCodeFile);
      deploymentSessionToUse.notification(new NotificationEvent(this, DeploymentSession.CLIENT_CODE_RETURNED, this));
      deploymentSessionToUse.setStatusMessage(localStrings.getLocalString(
                    "enterprise.tools.deployment.main.clientcodefordeployedapplicationsavedtofile",
                    "Client code for the deployed application {0} saved to {1}", new Object[] {applicationName, clientCodeFile}));
  }
    }
View Full Code Here

Examples of org.jbpm.formapi.client.bus.ui.NotificationEvent

                            populateMockFormService(menuItem);
                            bus.fireEvent(new MenuItemFromServerEvent(menuItem, groupName));
                        }
                    }
                } else {
                    bus.fireEvent(new NotificationEvent(Level.ERROR, i18n.CouldntFindMenuItems404()));
                }
            }
        });
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

        image.setAltText( ScoreCardXLSEditorConstants.INSTANCE.ScoreCard() );
        return image;
    }

    private void notifySuccess() {
        notificationEvent.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemCreatedSuccessfully() ) );
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

            public void execute() {
                scoreCardXLSService.call( new RemoteCallback<List<ValidationMessage>>() {
                    @Override
                    public void callback( final List<ValidationMessage> results ) {
                        if ( results == null || results.isEmpty() ) {
                            notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemValidatedSuccessfully(),
                                                                      NotificationEvent.NotificationType.SUCCESS ) );
                        } else {
                            ValidationPopup.showMessages( results );
                        }
                    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

            public void execute() {
                service.call( new RemoteCallback<List<ValidationMessage>>() {
                    @Override
                    public void callback( final List<ValidationMessage> results ) {
                        if ( results == null || results.isEmpty() ) {
                            notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemValidatedSuccessfully(),
                                                                      NotificationEvent.NotificationType.SUCCESS ) );
                        } else {
                            ValidationPopup.showMessages( results );
                        }
                    }
View Full Code Here

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

    private RemoteCallback<Void> getDeleteSuccessCallback( final Path path ) {
        return new RemoteCallback<Void>() {

            @Override
            public void callback( final Void response ) {
                notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemDeletedSuccessfully() ) );
                placeManager.forceClosePlace( new PathPlaceRequest( path ) );
            }
        };
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

    private RemoteCallback<Path> getCopySuccessCallback() {
        return new RemoteCallback<Path>() {
            @Override
            public void callback( final Path path ) {
                busyIndicatorView.hideBusyIndicator();
                notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemCopiedSuccessfully() ) );
            }
        };
    }
View Full Code Here

Examples of org.uberfire.workbench.events.NotificationEvent

        return new RemoteCallback<Path>() {

            @Override
            public void callback( final Path path ) {
                busyIndicatorView.hideBusyIndicator();
                notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemRenamedSuccessfully() ) );
                placeManager.forceClosePlace( place );
            }
        };
    }
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.