Package org.jitterbit.ui.event

Examples of org.jitterbit.ui.event.ApplicationMessageEvent


            // Do nothing.
        }

        private void postStatusMessage(String msg) {
            String toPost = StringUtils.isBlank(msg) ? msg : msg + "...";
            ApplicationMessageEvent evt = new ApplicationMessageEvent(this, toPost);
            window.postApplicationMessageEvent(evt);
        }
View Full Code Here


        }

        @Override
        protected void onSuccess(Object o) {
            externalCallback.succeeded(o);
            window.postApplicationMessageEvent(new ApplicationMessageEvent(
                            this,
                            Strings.getJitterPackString("Export.Success"),
                            ApplicationMessageEvent.INFORMATION_MESSAGE));
        }
View Full Code Here

    public void dispose() {
        ErrorLog.removeListener(logListener);
    }

    private void publishError(ErrorLogEntry entry) {
        window.postApplicationMessageEvent(new ApplicationMessageEvent(
                        entry.source(),
                        CoreResources.STRINGS.getString("StatusPanelErrorPublisher.ExceptionMessage")//$NON-NLS-1$
                        ApplicationMessageEvent.ERROR_MESSAGE));
    }
View Full Code Here

        public void selectionChanged(JitterPack selected) {
            window.postApplicationMessageEvent(getEventToBroadcast(selected));
        }

        private ApplicationMessageEvent getEventToBroadcast(JitterPack jp) {
            return new ApplicationMessageEvent(this, getMessageToBroadcast(jp));
        }
View Full Code Here

            Editor toOpen = entityPageLocator.findOpenPage(transformation);
            appWin.getEditorService().openEditor(toOpen);
        }

        private void notifyUserThatBackupWasCreated(IntegrationEntity copy) {
            ApplicationMessageEvent evt = new ApplicationMessageEvent(TransformationEditor.class,
                            getBackupCreatedMessage(copy));
            appWin.postApplicationMessageEvent(evt);
        }
View Full Code Here

        }

        private void publishMessage(String msg) {
            ApplicationWindow window = windowSection.getWindow();
            if (window != null) {
                window.postApplicationMessageEvent(new ApplicationMessageEvent(this, msg));
            }
        }
View Full Code Here

    public String getId() {
        return getClass().getName();
    }

    private void postMessage(String msg, ApplicationWindow window) {
        ApplicationMessageEvent evt = new ApplicationMessageEvent(this, msg);
        window.postApplicationMessageEvent(evt);
    }
View Full Code Here

    public String getId() {
        return getClass().getName();
    }

    private void postMessage(String msg, ApplicationWindow window) {
        ApplicationMessageEvent evt = new ApplicationMessageEvent(this, msg);
        window.postApplicationMessageEvent(evt);
    }
View Full Code Here

    public void setMessageRemainingInMilliSeconds(long milliSecs) {
        messageRemainingInMilliSeconds = milliSecs;
    }

    public void postMessage(Object source, String message, int messageType) {
        incomingMessage(new ApplicationMessageEvent(source, message, messageType));
    }
View Full Code Here

    private void showNextMessage() {
        if (messageStack.isEmpty()) {
            setCurrentMessage(null);
        } else {
            ApplicationMessageEvent top = messageStack.peek();
            if (top != currentMessage) {
                setCurrentMessage(top);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.event.ApplicationMessageEvent

Copyright © 2018 www.massapicom. 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.