Package org.jitterbit.integration.dataelement

Examples of org.jitterbit.integration.dataelement.DefaultDataElementTemplate


            switch (nodes.size()) {
            case 0:
                return null;
            case 1:
                String name = nameExtractor.apply(nodes.get(0));
                DataElementTemplate de = new DefaultDataElementTemplate(name);
                return new DeTemplateTransferable(de);
            default:
                Object[] names = Arrays2.transform(nodes.toArray(), nameExtractor);
                String s = StringUtils.join(names, System.getProperty("line.separator"));
                return new StringSelection(s);
View Full Code Here


        switch (indeces.length) {
        case 0:
            return null;
        case 1:
            String name = (String) list.getModel().getElementAt(indeces[0]);
            DataElementTemplate de = new DefaultDataElementTemplate(name);
            return new DeTemplateTransferable(de);
        default:
            String s = StringUtils.join(ListUtils.toArray(
                            list.getModel(), indeces), System.getProperty("line.separator"));
            return new StringSelection(s);
View Full Code Here

            super(String.class, "Copy");
        }

        @Override
        protected void run(String name, ActionEvent evt) {
            DataElementTemplate de = new DefaultDataElementTemplate(name);
            ClipboardUtils.copyToSystemClipboard(new DeTemplateTransferable(de));
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.dataelement.DefaultDataElementTemplate

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.