Package org.jitterbit.ui.selection

Examples of org.jitterbit.ui.selection.AbstractSelectionAction


            existingStructureChoice.setSelected(true);
        }
    }

    public void setDefaultAction(final Action action) {
        existingFileSelector.setDefaultAction(new AbstractSelectionAction() {

            @Override
            public void actionPerformed(ActionEvent e) {
                action.actionPerformed(e);
            }
View Full Code Here


        listFactory.setVisibleRowCount(4);
        listFactory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        ListStyles.normal().makeOver(listFactory);
        KongaList list = listFactory.newList();
        list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
        list.setDefaultAction(new AbstractSelectionAction() {

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

    private KongaList createRootList() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setPrototypeValue(getPrototypeValue());
        factory.setVisibleRowCount(10);
        KongaList list = factory.newList();
        list.setDefaultAction(new AbstractSelectionAction() {

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

    private KongaList createListWithFiles(ListModel model) {
        KongaListFactory factory = getListFactory();
        DefaultComponentController<JList> listController = createController();
        factory.setController(listController);
        KongaList list = factory.newList(model);
        list.setDefaultAction(new AbstractSelectionAction() {

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

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                updateOkButton(selector, dlg);
            }
        });
        selector.setDefaultAction(new AbstractSelectionAction() {
           
            @Override
            public void actionPerformed(ActionEvent e) {
                dlg.getOkActionListener().actionPerformed(e);
            }
View Full Code Here

        return ddp;
    }

    private ResultDisplayer createResultList() {
        ResultDisplayer list = new ResultTable();
        list.setDefaultAction(new AbstractSelectionAction() {

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

TOP

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

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.