Package org.jitterbit.ui.util.file

Examples of org.jitterbit.ui.util.file.FileSelectorPanel.decorateTitle()


        builder.setTitle(Strings.getJitterPackString("Import.Destination"));
        builder.setDefaultFolder(suggestedDestinationFolder);
        FileSelectorPanel panel = builder.buildPanel(window);
        panel.setBrowseButtonText(Strings.get("Import.Destination.Browse"));
        LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(ApplicationResources.ICONS.getIcon("FolderClosed.16"));
        panel.decorateTitle(d);
        return panel;
    }

    private JitterPackSearcher createSearcher() {
        JitterPackSearcher jpSearcher = new JitterPackSearcher(window, parametersDefiner);
View Full Code Here


        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();
        selector.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent evt) {
View Full Code Here

        RecentFileStore recentFiles = getRecentFileStore();
        FileSelectorPanel panel = factory.recentFilesPanel(fc, FileSelectorPanel.OPEN,
                        Strings.getJitterPackString("Import.Browser.Title"), recentFiles);
        panel.setFileFilter(JitterPackerUi.FILE_FILTER);
        LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(JitterpackResources.IMPORT_16);
        panel.decorateTitle(d);
        panel.addInputChangeListener(new SelectionNotifier());
        return panel;
    }

    private RecentFileStore getRecentFileStore() {
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.