Package org.jitterbit.integration.client.ui.interchange.entity.transformation.tree

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.TreeMapperMode


            treeMapper.addPropertyChangeListener(TreeMapper.MODE_PROPERTY, new ExternalChangeListener());
            updateMenu(treeMapper);
        }

        private void updateMenu(TreeMapper treeMapper) {
            TreeMapperMode currentMode = treeMapper.getMode();
            if (currentMode == TreeMapperMode.SIMPLE) {
                simpleModeItem.setSelected(true);
            } else {
                fullModeItem.setSelected(true);
            }
View Full Code Here


    private class ActionListenerImpl implements ActionListener {

        @Override
        public void actionPerformed(ActionEvent e) {
            TreeMapperMode mode = getMode(e.getSource());
            page.setDisplayMode(mode);
        }
View Full Code Here

    private class ExternalChangeListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            assert TreeMapper.MODE_PROPERTY.equals(evt.getPropertyName());
            TreeMapperMode mode = (TreeMapperMode) evt.getNewValue();
            if (mode == TreeMapperMode.SIMPLE) {
                simpleModeItem.setSelected(true);
            } else {
                fullModeItem.setSelected(true);
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.TreeMapperMode

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.