Package org.jitterbit.integration.client.ui.interchange.location

Examples of org.jitterbit.integration.client.ui.interchange.location.DataLocationPanelLayout


        d.addItemListener(new ManualSelectionListener());
        return d;
    }

    private void layoutComponents() {
        DataLocationPanelLayout top = new DataLocationPanelLayout();
        driverSelector.addToLayout(top);
        serverDefiner.addToLayout(top);
        databaseDefiner.addToLayout(top);
        loginDefiner.addToLayout(top);
        portDefiner.addToLayout(top);
View Full Code Here


        layout.south(layoutOptionalFields());
        wrap(layout);
    }

    private JComponent layoutOptionalFields() {
        DataLocationPanelLayout layout = new DataLocationPanelLayout();
        transactionIsolationLevelDefiner.addToLayout(layout);
        timeoutDefiner.addToLayout(layout);
        if (getSourceTarget() == SourceTarget.Source) {
            fetchSizeField.addToLayout(layout);
        }
        connectParamsDefiner.addToLayout(layout);
        manualConnectionStringDefiner.addToLayout(layout);
        JComponent wrapper = new JPanel();
        layout.addToParent(wrapper, null);
        InterchangeViewUtils.configurePropertyFields(wrapper);
        boolean expanded = !transactionIsolationLevelDefiner.isDefaultLevel() || !fetchSizeField.isDefaultValue() ||
                !connectParamsDefiner.isEmpty() || manualConnectionStringDefiner.isSelected();
        DropDownPanel dropDown = DataLocationPanelUtils.createOptionsDropDown(wrapper, expanded);
        return dropDown.getDisplayer();
View Full Code Here

    private void createFileLocationPanel(FileShareLocation loc, SourceTarget st, int width) {
        fileLocationPanel = new FileLocationPanel(loc, st, true, this, width);
    }
   
    private void doLayout() {
        DataLocationPanelLayout layout = new DataLocationPanelLayout();
        layout.add(pathField);
        UiProvider ui = fileLocationPanel.layoutComponents(layout);
        wrap(ui);
    }
View Full Code Here

        super.setReadOnly();
        loginDefiner.makeReadOnly();
    }

    private void doLayout() {
        DataLocationPanelLayout layout = new DataLocationPanelLayout();
        for (LdapLocationPanelPart part : parts) {
            part.addToLayout(layout);
        }
        wrap(layout);
    }
View Full Code Here

        loginDefiner.makeReadOnly();
        httpPropertiesEditor.setEnabled(false);
    }

    private void doLayout() {
        DataLocationPanelLayout layout = new DataLocationPanelLayout();
        urlDefiner.addToLayout(layout);
        loginDefiner.addToLayout(layout);
        verbSelector.addToLayout(layout);
        JComponent options = createOptionsLayout();
        layout.add(null, options, false);
        wrap(layout);
    }
View Full Code Here

        layout.add(null, options, false);
        wrap(layout);
    }

    private JComponent createOptionsLayout() {
        DataLocationPanelLayout optionsLayout = new DataLocationPanelLayout();
        contentTypeDefiner.addToLayout(optionsLayout);
        responseTargetSelector.addToLayout(optionsLayout);
        ignoreLinesDefiner.addToLayout(optionsLayout);
        httpPropertiesButton = new KongaButton(launchPropertiesEditorAction);
        launchPropertiesEditorAction.setTrigger(httpPropertiesButton);
        optionsLayout.add(null, InvisiblePanel.newPanel(httpPropertiesButton), false);
        DropDownPanel dropDown = DataLocationPanelUtils.createOptionsDropDown(
                        InvisiblePanel.newPanel(optionsLayout), false);
        return dropDown.getDisplayer();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.location.DataLocationPanelLayout

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.