Package org.jitterbit.integration.data.location

Examples of org.jitterbit.integration.data.location.FileFilterOptions


    private final String filter;
   
    private final FileFilterOptions options;

    public FileFilter(String filter) {
        this(filter, new FileFilterOptions());
    }
View Full Code Here


        assertFalse(f1.equals("x"));
    }
   
    @Test
    public void ensureIllegalFiltersCannotBeCreated() {
        assertNotCreated(null, new FileFilterOptions());
        assertNotCreated("abc.txt", null);
    }
View Full Code Here

    }

    @Test
    public void ensureGettersWork() {
        String filter = "abc.txt";
        FileFilterOptions options = new FileFilterOptions(true, false);
        FileFilter f = new FileFilter(filter, options);
        assertEquals(filter, f.getFilter());
        assertEquals(options, f.getOptions());
    }
View Full Code Here

        setSendUndoEvents(true);
        doLayout();
    }

    public FileFilterOptions getOptions() {
        return new FileFilterOptions(ignoreCaseChoice.isEnabled() && ignoreCaseChoice.isSelected(),
                        regExChoice.isSelected());
    }
View Full Code Here

            }
        });
    }

    public void start() {
        final FileFilterOptionsPanel panel = new FileFilterOptionsPanel(new FileFilterOptions());
        QuickFrame frame = new QuickFrame(panel.getUi(), getClass().getSimpleName());
        frame.addKeyBinding("print", KeyUtils.F5, new AbstractAction() {

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

    public void removeInputChangeListener(InputChangeListener lst) {
        changeListeners.remove(lst);
    }
   
    private void updateOptions(FileFilterOptions newOptions, boolean sendUndoRedo) {
        FileFilterOptions old = this.options;
        this.options = newOptions;
        if (!old.equals(newOptions)) {
            fireInputChanged(old, newOptions);
            if (sendUndoRedo) {
                fireUndoableEdit(old, newOptions);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.location.FileFilterOptions

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.