Package org.jitterbit.application.ui.window

Examples of org.jitterbit.application.ui.window.ApplicationWindow


        );
    }

    private void setAdditionalPopupMenuActions(TransformationPage page) {
        Transformation tx = page.getObject();
        ApplicationWindow appWin = impl.getView().getWindow();
        List<Action> actions = Lists.newArrayList();
        actions.add(null);
        actions.add(new ViewInputJtrAction(appWin, tx));
        actions.add(new ViewOutputJtrAction(appWin, tx));
        impl.setAdditionalToolbarPopupMenuActions(actions);
View Full Code Here


                }
            });
        }

        private FileChooser getFileChooser() {
            ApplicationWindow window = view.getWindow();
            FileChooser fc = ApplicationFileChooser.getInstance(window);
            return fc;
        }
View Full Code Here

        public File getFile() {
            return UiThreadSupplier.call(new Supplier<File>() {

                @Override
                public File get() {
                    ApplicationWindow window = view.getWindow();
                    FileChooser fc = ApplicationFileChooser.getInstance(window);
                    File file = fc.getFileToOpen(null, FILE_FILTER, recentFiles, "Import mappings from file:");
                    return file;
                }
            });
View Full Code Here

            if (ds instanceof DatabaseStructure) {
                input = DatabaseFilterDefiner.getInput((DatabaseStructure) ds);
            } else if (ds instanceof LdapStructure) {
                input = new LoadLdapSourceDataInput();
            } else {
                ApplicationWindow window = page.getWindow();
                input = getInputFile(window);
            }
        }
        return input;
    }
View Full Code Here

        impl.addAdditionalToolbarButtons(buttons);
    }

    private List<? extends ApplicationAction> createActivityActions(IntegrationEntityPage page) {
        List<ActivityAction> actions = Lists.newArrayList();
        ApplicationWindow window = impl.getView().getWindow();
        EditorDisplayer pd = new ProjectPageDisplayer(impl.getView());
        if (logApi != null) {
            ShowLogAction log = new ShowLogAction(window, logApi);
            log.setPageDisplayer(pd);
            actions.add(log);
View Full Code Here

* @since 1.3.0
*/
public final class ProjectSourceDataInputFileProviderTest {

    public void run() throws Exception {
        ApplicationWindow appWin = new DummyApplicationWindow();
        // FIXME: Pass in a ServerManager and LoadSourceFileStore
        ProjectSourceDataFileInputProvider provider = new ProjectSourceDataFileInputProvider(
                        appWin, null, PluginSettingsStore.EMPTY, false);
        LoadSourceDataFileInput input = provider.getInput();
        if (input != null) {
View Full Code Here

    /**
     * Returns the application's main frame.
     */
    public static JFrame getAppWinFrame() {
        ApplicationWindow appWin = getAppWin();
        return appWin != null ? appWin.getFrame() : null;
    }
View Full Code Here

        private void onOneFileSelected(File file) {
            publishMessage(fileDescriber.describe(file));
        }

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

    public void execute(ActionEvent e) {
        new BusyWorker(getWindow(), new Runnable() {

            @Override
            public void run() {
                ApplicationWindow appWin = getWindow();
                OpenEditorsDialog.displayPages(appWin.getFrame(), appWin.getEditorService());
            }
        }).run();
    }
View Full Code Here

        }
        existingStructure = (newStructure != null ? newStructure.clone() : null);
    }

    private void refreshTransformations() {
        ApplicationWindow appWin = page.getWindow();
        ManagedProject mp = ProjectUtils.getManagedProject(documentToSave);
        Runnable job = new Refresher(appWin, mp, affectedTransformations);
        Application.getWorker().submitForParallel(job);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.window.ApplicationWindow

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.