Examples of ApplicationWindow


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

        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

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

    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

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

        }
        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

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

                owner = null;
            }
            return ret;
        }
        ErrorLog.log(this, null, new Exception("Editor without an owner."));
        ApplicationWindow window = getWindow();
        if (window != null) {
            return window.getEditorService().closeEditor(this);
        }
        return true;
    }
View Full Code Here

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

                new DeleteLayoutFileAction(controller));
        return menu;
    }
   
    private Action createPreferencesAction() {
        ApplicationWindow appWin = controller.getView().getWindow();
        ViewPreferencesAction action = new ViewPreferencesAction(appWin);
        action.putValue(Action.ACCELERATOR_KEY, null);
        action.setInitialPath(OperationGraphPreferencesPage.PATH());
        return action;
    }
View Full Code Here

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

* @since 1.3.0
*/
public class SimpleStructureFileTemplateWizardTest {

    public void run() {
        ApplicationWindow window = new DummyApplicationWindow();
        CallbackResult callback = new CallbackResult() {

            @Override
            public void cancelled(Object o) {
                System.out.println("Cancelled");
View Full Code Here

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

        tree.getAdaptee().makeNodeExpanded(tree.getAdaptee().getModel().getRoot());
        return new SingleTreeContentViewer(view, view.getWindow().getWindowSection(ApplicationWindow.WEST), id, tree);
    }

    public MultiTreeContentViewer newEmptyMultiTree(InterchangeView view) {
        ApplicationWindow window = view.getWindow();
        WindowSection windowSection = window.getWindowSection(ApplicationWindow.WEST);
        return new MultiTreeContentViewer(windowSection, view, config);
    }
View Full Code Here

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

                ApplicationMessageEvent.postInformationMessage(UploadJob.class, "");
            }
        }

        private Window getDialogOwner() {
            ApplicationWindow appWin = getWindow();
            if (appWin != null) {
                return appWin.getFrame();
            }
            return UiUtils.getActiveFrame();
        }
View Full Code Here

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

            EditorService editorService = getEditorService();
            editorService.openEditor(editor);
        }

        private EditorService getEditorService() {
            ApplicationWindow appWin = launcher.getWindow();
            EditorService editorService = appWin.getEditorService();
            return editorService;
        }
View Full Code Here

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

    private void installHotKeyActivator() {
        KeyStroke ks = ApplicationUi.requestGlobalKeyStroke(ProjectContentViewer.ACTIVATOR_KEY, getClass());
        if (ks != null) {
            HotKeyActivator activator = new HotKeyActivator();
            ApplicationWindow appWin = view.getWindow();
            appWin.addGlobalKeyDispatcher(ks, activator);
        }
    }
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.