Package org.jitterbit.ui.selection

Examples of org.jitterbit.ui.selection.SelectionSourceWidgetSupport


    public KongaRowTable(KongaTable table) {
        checkArgument(table.getModel() instanceof KongaRowTableModel, "The model must be a KongaRowTableModel");
        adaptee = table;
        selectionHandler = new SelectionHandler();
        adaptee.getSelectionModel().addListSelectionListener(selectionHandler);
        selectionSupport = new SelectionSourceWidgetSupport(this, adaptee);
    }
View Full Code Here


    private OrderedSelection currentSelection;
   
    public MessagePropertyTreeSelector(IntegrationProject project) {
        currentSelection = OrderedSelection.EMPTY;
        tree = createTree(project);
        selectionSupport = new SelectionSourceWidgetSupport(this, tree);
        setInitialSelectionState();
    }
View Full Code Here

    }
   
    public MessagePropertyTreeSelector(JmsMessage msg) {
        currentSelection = OrderedSelection.EMPTY;
        tree = createTree(msg);
        selectionSupport = new SelectionSourceWidgetSupport(this, tree);
        setInitialSelectionState();
    }
View Full Code Here

        private final SelectionSourceWidgetSupport support;

        private boolean blocked;

        public SelectionSourceImpl() {
            support = new SelectionSourceWidgetSupport(this, table.getAdaptee());
            table.getModel().addTableModelListener(this);
        }
View Full Code Here

    public ProviderSelector(InputPanel parent) {
        displayedItems = Maps.newHashMap();
        currentSelection = ProviderSelection.createSelection(null);
        comboBox = createInputField(parent);
        comboBox.setSelectedIndex(-1);
        selectionSupport = new SelectionSourceWidgetSupport(this, comboBox.getInputComponent());
        isSendingSelectionEvents = true;
    }
View Full Code Here

     *            the <code>JTree</code> to adapt into a <code>SelectionSource</code>.
     */
    public TreeSelectionSource(JTree tree) {
        this.tree = tree;
        nodeObjectConverter = NodeObjectConverter.TRIVIAL;
        support = new SelectionSourceWidgetSupport(this, tree);
        currentSelection = getSelectionFromTree();
        tree.addTreeSelectionListener(new TreeListener());
    }
View Full Code Here

        comboBox = cb;
        this.converter = converter;
        comboListener = new ComboListener();
        comboBox.addActionListener(comboListener);
        comboBox.addPropertyChangeListener("model", comboListener);
        support = new SelectionSourceWidgetSupport(this, comboBox);
        converter = SelectionConverter.TRIVIAL;
        readCurrentSelectionFromComboBox();
    }
View Full Code Here

            list = new JList();
        }
        this.list = list;
        selectionConverter = SelectionConverter.TRIVIAL;
        useScrolling = true;
        support = new SelectionSourceWidgetSupport(this, list);
        selectionHandler = new SelectionHandler();
        list.getSelectionModel().addListSelectionListener(selectionHandler);
        ListUtils.installCyclicKeyNavigation(list);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.selection.SelectionSourceWidgetSupport

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.