Examples of singleFilePanel()


Examples of org.jitterbit.ui.util.file.FileSelectorPanelFactory.singleFilePanel()

    private FileSelectorPanel createDestinationUi() {
        FileChooser fc = new DefaultFileChooser(ApplicationFileChooserFactory.getFactory());
        fc.setOverwriteConfirmer(FileChooser.ALWAYS_ALLOW_OVERWRITES);
        RecentFileStore recentFiles = getRecentFileStore();
        FileSelectorPanelFactory factory = FileSelectorFactory.getFactory();
        FileSelectorPanel selector = factory.singleFilePanel(fc, FileSelectorPanel.SAVE,
                        Strings.getJitterPackString("Export.FileSelector.Title"), recentFiles);
        selector.setFileFilter(JitterPackerUi.FILE_FILTER);
        LabelDecorator d = TextStyles.InputLabelText.asLabelDecorator(JitterpackResources.EXPORT_16);
        selector.decorateTitle(d);
        selector.displayLastFile();
View Full Code Here

Examples of org.jitterbit.ui.util.file.FileSelectorPanelFactory.singleFilePanel()

    private FileSelectorPanel createFilePanel() {
        FileChooser fc = new DefaultFileChooser(ApplicationFileChooserFactory.getFactory());
        RecentFileStore recentFiles = getRecentFileStore();
        FileSelectorPanelFactory factory = FileSelectorFactory.getFactory();
        FileSelectorPanel panel = factory.singleFilePanel(fc, FileSelectorPanel.OPEN,
                        PackageResources.RootSelector.BROWSE_TITLE, recentFiles);
        panel.setFileFilter(new XmlFileFilter());
        panel.setUseTitleLabel(false);
        panel.setActive(false);
        return panel;
View Full Code Here

Examples of org.jitterbit.ui.util.file.FileSelectorPanelFactory.singleFilePanel()

        setActive(false);
    }

    private FileSelectorPanel createFileSelector(ApplicationWindow window) {
        FileSelectorPanelFactory factory = FileSelectorFactory.getFactory();
        return factory.singleFilePanel(ApplicationFileChooser.getInstance(window), FileSelectorPanel.OPEN, null,
                        fileStore);
    }

    private JCheckBox createIncludeInProjectOption() {
        String label = getString("SourceDataFileProvider.IncludeInProject");
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.