Examples of WEST()


Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

    private static BorderLayoutBuilder createLayout(String warnings) {
        KongaTextArea text = KongaTextArea.viewer(warnings, 10, 70);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(10, 0);
        JLabel icon = new JLabel(UIManager.getIcon("OptionPane.warningIcon"));
        icon.setVerticalAlignment(SwingConstants.TOP);
        layout.west(icon).center(text);
        return layout;
    }

    private WarningsDisplayer() {/**/}
   
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

            accessedEntityLabel.setText(newName);
        }

        private void layoutPanel() {
            BorderLayoutBuilder layout = BorderLayoutBuilder.from(panel);
            layout.west(accessedEntityLabel).center(Box.createGlue()).east(getToolBar());
        }
    }

}
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
            layout.north("Set the preferred Look & Feel");
            JComponent selector = InvisiblePanel.newPanel(getSelector());
            selector.setBorder(Empty.border(0, 25, 0, 0));
            layout.west(selector);
            layout.south(getRequiresRestartNote());
            layout.setBorder(StyleSheet.getDefaultTitleBorder("Look & Feel"));
            layout.decorate(canvas);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

    }
   
    private KongaDialog createDialog(Component owner) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10).withEmptyBorder(10, 10, 10, 10);
        layout.center(Alert.getDisplayMessage(message));
        layout.west(layoutTypeIcon());
        layout.south(layoutButtons());
        Window window = (owner != null ? SwingUtilities.getWindowAncestor(owner) : UiUtils.getActiveWindow());
        KongaDialog dialog = new KongaDialog(window, title);
        layout.asContentPaneFor(dialog);
        return dialog;
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

        String title = getTitlePanelTitle();
        JLabel caption = (title == null) ? null : new JLabel(title);
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        JComponent additionalTitleComponent = getAdditionalTitleComponent();
        if (additionalTitleComponent == null) {
            layout.west(caption);
        } else {
            BoxBuilder titleRow = BoxBuilder.horizontal();
            titleRow.addAll(caption, additionalTitleComponent);
            layout.west(titleRow);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

        if (additionalTitleComponent == null) {
            layout.west(caption);
        } else {
            BoxBuilder titleRow = BoxBuilder.horizontal();
            titleRow.addAll(caption, additionalTitleComponent);
            layout.west(titleRow);
        }
        layout.center(Box.createGlue()).east(createToolBar());
        layout.setBorder(getTitlePanelBorder());
        UiUtils.setPanelBackgrounds(layout.container(), getTitlePanelColor());
        return layout.container();
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

        col.add(suiteUi);
        col.add(levelUi);
        col.add(nameUi);
        col.add(apply);
        BorderLayoutBuilder cp = new BorderLayoutBuilder();
        cp.west(col);
        QuickFrame.show(cp, getClass().getSimpleName());
    }
}
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

        return InvisiblePanel.newPanel(grid);
    }
   
    private UiProvider layoutEastPart(UserConsoleView view, Action[] modelActions, Action[] viewActions) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(10, 0);
        layout.west(layoutModelAndViewActions(modelActions, viewActions)).center(view.getDetailsViewer());
        return layout;
    }
}
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

    private static void layoutDialog(KongaDialog dialog, JButton resume, JButton stop) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(10, 10);
        layout.center("The test stopped at a breakpoint, but the server did not provide the location of the " +
            "breakpoint. This is a bug.");
        layout.west(CommonIcons.ERROR_24);
        layout.south(layoutButtons(resume, stop, dialog.createCloseButton()));
        layout.setBorder(Empty.border(10));
        layout.asContentPaneFor(dialog);
        dialog.pack();
        dialog.setResizable(false);
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.west()

                String caption = getString("RequiredPluginsView.Problem.Caption");
                Type type = isFatal() ? Type.ERROR : Type.WARNING;
                BorderLayoutBuilder layout = new BorderLayoutBuilder(10, 0);
                JLabel icon = new JLabel(type.getIcon());
                icon.setVerticalAlignment(SwingConstants.TOP);
                layout.west(icon);
                layout.center(new AvailabilityResultTable(caption, getTableModel()));
                UiProviderDialogDisplayer.display(ApplicationUi.getAppWinFrame(), layout, title, KongaDialog.OK_ONLY,
                                CheckAvailabilityJob.class);
            }
        }
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.