Package org.jitterbit.ui.selection

Examples of org.jitterbit.ui.selection.IndexedSelection.items()


        IndexedSelection sel = list.getSelection();
        if (sel.isEmpty()) {
            return new LdapStructureAttribute[0];
        }
        List<LdapStructureAttribute> attrs = new ArrayList<LdapStructureAttribute>();
        for (Object o : sel.items()) {
            if (o instanceof LdapStructureAttribute) {
                attrs.add((LdapStructureAttribute) o);
            }
        }
        return attrs.toArray(new LdapStructureAttribute[attrs.size()]);
View Full Code Here


        IndexedSelection selection = list.getSelection();
        if (selection.isEmpty()) {
            return new PipelinePluginManifest[0];
        }
        List<PipelinePluginManifest> plugins = new ArrayList<PipelinePluginManifest>();
        for (Object o : selection.items()) {
            if (o instanceof PipelinePluginListItem) {
                plugins.add(((PipelinePluginListItem) o).getPlugin());
            }
        }
        return plugins.toArray(new PipelinePluginManifest[plugins.size()]);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.