Examples of showInDialog()


Examples of org.eclipse.ui.progress.IProgressService.showInDialog()

        };

        job.schedule();

        IProgressService p = PlatformUI.getWorkbench().getProgressService();
        p.showInDialog(shell, job);
    }

}
View Full Code Here

Examples of org.eclipse.ui.progress.IProgressService.showInDialog()

        };

        job.schedule();

        IProgressService p = PlatformUI.getWorkbench().getProgressService();
        p.showInDialog(shell, job);
    }
}
View Full Code Here

Examples of org.jitterbit.application.ui.DoNotShowAgainMessage.showInDialog()

            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, "");
            }
        }
View Full Code Here

Examples of org.jitterbit.application.ui.widget.TextFieldInput.showInDialog()

    private void askForNewName(final ProjectLocation location) {
        TextFieldInput input = new ProjectNameInput(Strings.get("Recent.Rename.Title"),
                        Strings.get("Recent.Rename.Caption"));
        input.setInitialValue(location.getProjectName());
        String newName = input.showInDialog();
        processName(location, newName);
    }

    private void processName(ProjectLocation location, String newName) {
        if (isNewName(location, newName)) {
View Full Code Here

Examples of org.jitterbit.application.ui.widget.TextFieldInput.showInDialog()

        private void askForPageNumber() {
            TextFieldInput input = new TextFieldInput("Go to page", "Enter page number (1-" + numberOfPages + ")");
            input.setValidator(TextFieldInputValidator.integerInRange(1, numberOfPages));
            input.setLocationRelativeTo(button);
            String value = input.showInDialog();
            if (value != null) {
                int pageNo = Integer.parseInt(value);
                setPageNumber(pageNo);
            }
        }
View Full Code Here

Examples of org.jitterbit.application.ui.widget.TextFieldInput.showInDialog()

                }
                return null;
            }
        });
        userInput.setAutoTrimEnabled(true);
        name = userInput.showInDialog();
        return name;
    }

    private void applyCardinality(RelationshipCardinality cardinality) {
        String minOccurs = "1";
View Full Code Here

Examples of org.jitterbit.application.ui.widget.TextFieldInput.showInDialog()

            waitLock = view.getWindow().startWait();
            try {
                TextFieldInput input = new ProjectNameInput(getString("Project.Rename.NewName.Title"),
                                getString("Project.Rename.NewName.Label"));
                input.setInitialValue(project.getName());
                String newName = input.showInDialog();
                callback.handle(newName);
            } catch (Exception ex) {
                waitLock.release();
                throw new RuntimeException(ex);
            }
View Full Code Here

Examples of org.jitterbit.application.ui.widget.TextFieldInput.showInDialog()

        try {
            TextFieldInput input = new TextFieldInput("How many times?", "How many times do you want to run the operation?");
            input.setInitialValue("1");
            input.setSelectAllWhenFocused(true);
            input.setValidator(TextFieldInputValidator.INTEGER);
            String value = input.showInDialog();
            return Math.max(1, Integer.valueOf(value));
        } catch (HeadlessException e) {
            return -1;
        } catch (NumberFormatException e) {
            return -1;
View Full Code Here

Examples of org.jitterbit.integration.client.datalocation.connection.MatchingFilesPresenter.showInDialog()

                MatchingFilesPresenter presenter = new MatchingFilesPresenter(files);
                OverlayContainer container = getResultContainer(testedEntity);
                if (container != null) {
                    presenter.showInOverlay(container);
                } else {
                    presenter.showInDialog(appWin.getFrame());
                }
            }
        });
    }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.project.ProjectNameInput.showInDialog()

    private void askForNewName(final ProjectLocation location) {
        TextFieldInput input = new ProjectNameInput(Strings.get("Recent.Rename.Title"),
                        Strings.get("Recent.Rename.Caption"));
        input.setInitialValue(location.getProjectName());
        String newName = input.showInDialog();
        processName(location, newName);
    }

    private void processName(ProjectLocation location, String newName) {
        if (isNewName(location, newName)) {
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.