Package org.jitterbit.util.preference

Examples of org.jitterbit.util.preference.PreferencesKey


final class TestCenterFileStore implements RecentFileStore {

    private final RecentFileStore delegate;

    public TestCenterFileStore() {
        PreferencesKey prefKey = new PreferencesKey(TestCenterFileStore.class, "LastSourceFile");
        delegate = new PreferencesFileStore(prefKey, 1);
    }
View Full Code Here


        return factory.recentFilesPanel(ApplicationFileChooser.getInstance(appWin), FileSelectorPanel.OPEN,
                        PackageResources.FileTemplateWizard.FILE_SELECTOR, getRecentFileStore());
    }

    private RecentFileStore getRecentFileStore() {
        PreferencesKey prefKey = new PreferencesKey(SimpleStructureFileTemplateWizard.class, "File");
        return new PreferencesFileStore(prefKey, 10);
    }
View Full Code Here

        statusPanel = new StatusPanel();
    }

    private FileSelectorPanel createRootSelector() {
        FolderSelectorPanelBuilder builder = new FolderSelectorPanelBuilder();
        builder.setPreferenceKey(new PreferencesKey(ProjectSearchUi.class, "Root"))
               .setDefaultFolder(defaultSearchFolder)
               .setTitle(getString("Search.RootSelector"));
        return builder.buildPanel(null);
    }
View Full Code Here

        panel.setActive(false);
        return panel;
    }

    private RecentFileStore getRecentFileStore() {
        PreferencesKey prefKey = new PreferencesKey(XmlSampleRootSelector.class, LATEST_SAMPLE_FILE);
        RecentFileStore recentFiles = new PreferencesFileStore(prefKey, 10);
        return recentFiles;
    }
View Full Code Here

        panel.addInputChangeListener(new SelectionNotifier());
        return panel;
    }

    private RecentFileStore getRecentFileStore() {
        PreferencesKey prefKey = new PreferencesKey(ExportJitterPackUi.class, "SelectedFile");
        return new PreferencesFileStore(prefKey, 10);
    }
View Full Code Here

        panel.setActive(true);
        return panel;
    }

    private RecentFileStore getRecentFileStore(FileType fileType) {
        PreferencesKey prefKey = new PreferencesKey(getClass(), LATEST_SAMPLE_FILE + "." + fileType.name());
        RecentFileStore recentFiles = new PreferencesFileStore(prefKey, 10);
        return recentFiles;
    }
View Full Code Here

    private FileChooser fileChooser;

    public OperationSourceDataRunner(InterchangeView view, OperationWrapperNode opNode) {
        this.view = view;
        this.opNode = opNode;
        fileStore = new PreferencesFileStore(new PreferencesKey(RunOperationWithSourceDataAction.class, "File"), 1);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.util.preference.PreferencesKey

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.