Package org.jitterbit.util.preference

Examples of org.jitterbit.util.preference.PreferencesKey


    private static final String INDEX = "Index";

    private final PreferencesKey preferenceKey;

    public SortStatusPreferencesMemento(Class<?> keyClass) {
        this(new PreferencesKey(keyClass, "SortStatus"));
    }
View Full Code Here


        return jpBrowser;
    }

    private FileSelectorPanel createDestinationPanel(File suggestedDestinationFolder) {
        FolderSelectorPanelBuilder builder = new FolderSelectorPanelBuilder();
        builder.setPreferenceKey(new PreferencesKey(ImportJitterPackUi.class, "Destination"));
        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"));
View Full Code Here

        panel.setUseTitleLabel(false);
        return panel;
    }

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

    private final RecentFileStore recentFiles;

    public MappingImporterExporterImpl(InterchangeView view) {
        this.view = view;
        PreferencesKey prefKey = new PreferencesKey(getClass(), PREFERENCE_KEY);
        this.recentFiles = new PreferencesFileStore(prefKey, 1);
    }
View Full Code Here

        });
    }

    private void positionTopBottomDivider() {
        if (isTestingEnabled()) {
            PreferencesKey prefKey = new PreferencesKey(ScriptBuilderUi.class, "TestSplit", null);
            topBottomSplit.setPreferenceStore(prefKey, 0.65);
        }
    }
View Full Code Here

        // Wrap in an invokeLater to give the layout a chance to finalize.
        EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                PreferencesKey prefKey = new PreferencesKey(ScriptBuilderUi.class, "SectionSplit", null);
                sectionSplit.setPreferenceStore(prefKey, 0.65);
            }
        });
    }
View Full Code Here

    }

    @Override
    protected void postDisplay() {
        if (sourceTreeSplit != null) {
            sourceTreeSplit.setPreferenceStore(new PreferencesKey(ScriptBuilderUi.class, "SourceTreeSplit", null));
        }
    }
View Full Code Here

                        ApplicationResources.ICONS.getIcon("FolderClosed.16"));
        rootSelector.decorateTitle(titleDecorator);
    }

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

        });
        return p;
    }

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

        });
        return selector;
    }

    private static RecentFileStore getRecentFileStore() {
        PreferencesKey prefKey = new PreferencesKey(ExportJitterPackUi.class, "SelectedFile");
        return new PreferencesFileStore(prefKey, 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.