Examples of DeTemplateTransferable


Examples of org.jitterbit.integration.dataelement.ui.DeTemplateTransferable

            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

Examples of org.jitterbit.integration.dataelement.ui.DeTemplateTransferable

        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

Examples of org.jitterbit.integration.dataelement.ui.DeTemplateTransferable

        }

        @Override
        protected void run(String name, ActionEvent evt) {
            DataElementTemplate de = new DefaultDataElementTemplate(name);
            ClipboardUtils.copyToSystemClipboard(new DeTemplateTransferable(de));
        }
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.