Package org.jitterbit.ui.input.undo

Examples of org.jitterbit.ui.input.undo.UndoableButtonGroup


        registerWithParent(parent);
    }

    private void registerWithParent(InputPanel parent) {
        if (parent != null) {
            UndoableButtonGroup group = createButtonGroup();
            group.add(always);
            group.add(whenNeeded);
            parent.addChangeSource(group);
            parent.addInputField(group.createInputField(always, "Always", null));
            parent.addInputField(group.createInputField(whenNeeded, "When Needed", null));
        }
    }
View Full Code Here


            parent.addInputField(group.createInputField(whenNeeded, "When Needed", null));
        }
    }

    private UndoableButtonGroup createButtonGroup() {
        UndoableButtonGroup group = new UndoableButtonGroup();
        group.setUndoRedoPresentationName("Qualifier Mode");
       
        return group;
    }
View Full Code Here

        occursOnceSelector = createSelector(getString("Label.OccursOnce"), lst, buttonGroup);
        occursEverySelector = createSelector(getString("Label.OccursEvery"), lst, buttonGroup);
    }

    private UndoableButtonGroup createButtonGroup() {
        UndoableButtonGroup group = new UndoableButtonGroup();
        group.setUndoRedoPresentationName(getString("FrequencyType.Edit"));
        addChangeSource(group);
        return group;
    }
View Full Code Here

        }
        setSubPanelState();
    }

    private void createSelectors() {
        UndoableButtonGroup group = new RadioButtonGroup();
        addChangeSource(group);
        ActionListener lst = new ActionListener() {
       
            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

    public RadioButtonGroupPanel(InputPanel parent) {
        // We use a LinkedHashMap to preserve the order in which the radio buttons are added.
        this.buttons = new ButtonMap<T>();
        this.standardGroup = new ButtonGroup();
        if (parent != null) {
            this.undoableGroup = new UndoableButtonGroup();
            parent.addChangeSource(undoableGroup);
        } else {
            this.undoableGroup = null;
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.input.undo.UndoableButtonGroup

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.