Package org.jitterbit.ui.layout

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


    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 4);
        layout.north(layoutToolbar()).center(tree);
        layout.decorate(canvas);
    }
   
    private JComponent layoutToolbar() {
        BoxBuilder row = BoxBuilder.horizontal().bottomAligned();
        row.add("The following XSD files will be uploaded to the server:");
View Full Code Here


    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        BoxBuilder controlPanel = BoxBuilder.horizontal();
        controlPanel.addAllWithSpace(10, downloadAction, cancelDownloadAction, filterControl).glue();
        layout.center(treeTable).south(controlPanel);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        treeTable.requestFocusInWindow();
View Full Code Here

    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(10, 10).setOpaque(false);
        TreePanel treePanel = new TreePanel("Users & Groups", tree);
        treePanel.setRootVisible(true);
        layout.center(treePanel);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        tree.requestFocusInWindow();
View Full Code Here

                layout.north(col);
            } else {
                layout.north(row);
            }
            layout.center(new JLabel(" "));
            layout.decorate(canvas);
        }
       
        private void layoutSearchUi() {
            row.setInsets(0, 0, 0, 10);
            row.setFill(OneRowPanel.HORIZONTAL);
View Full Code Here

    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.setOpaque(false).setAutomaticallyWrapScrollables(false);
        tree.setBorder(Empty.border(0, 20, 5, 0));
        layout.northToSouth(label, tree, separator);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        if (isExpanded() && !isEmpty()) {
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 20);
        layout.north(Strings.format("EditWsdl.Selector.Current", wsCall.getWsdlFile().getLocator()));
        layout.center(inputPanel);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        inputPanel.requestFocus();
View Full Code Here

        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5).setBorder(Empty.border(10));
            JLabel north = new JLabel("The following Salesforce wizard objects will no longer be used:");
            north.setIcon(EntityIcons.getSalesforceWizardIcon());
            layout.north(north).center(list).south("Do you want to delete them as well?");
            layout.decorate(canvas);
        }

        @Override
        public void requestFocus() {
            list.requestFocus();
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.north(createControlPanel()).center(table);
        layout.decorate(canvas);
    }

    private JComponent createControlPanel() {
        Grid buttons = Grid.oneRow(10);
        Action addAction = new AddNewAttributeAction();
View Full Code Here

    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.north("Drag and drop a parent column to a child column to link them.");
        layout.center(lists);
        layout.south(layoutControls());
        layout.decorate(canvas);
    }

    private JComponent layoutControls() {
        Grid buttons = Grid.oneRow(10);
        buttons.addAll(new AddConnectionAction("&Link", lists), new DeleteConnectionAction("&Remove Link", lists));
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.setOpaque(opaque);
        layout.north(caption).center(table);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        table.getAdaptee().asUiProvider().requestFocus();
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.