Package org.locationtech.udig.internal.ui

Examples of org.locationtech.udig.internal.ui.UDIGTransfer


                    break;
                Object element = iter.next();
               
                for( Transfer transfer : toSet ) {
                    if( transfer instanceof UDIGTransfer){
                        UDIGTransfer t=(UDIGTransfer) transfer;
                        if( !t.validate(element) )
                            toSet.remove(t);
                        continue;
                    }
                    if (transfer instanceof TextTransfer) {
                        TextTransfer t = (TextTransfer) transfer;
                        try{
                            t.javaToNative(element, t.getSupportedTypes()[0]);
                        }catch (Exception e) {
                            toSet.remove(t);
                        }
                    }
                    if (transfer instanceof FileTransfer) {
                        FileTransfer t = (FileTransfer) transfer;
                        try{
                            t.javaToNative(element, t.getSupportedTypes()[0]);
                        }catch (Exception e) {
                            toSet.remove(t);
                        }
                    }
                    if (transfer instanceof RTFTransfer) {
                        RTFTransfer t = (RTFTransfer) transfer;
                        try{
                            t.javaToNative(element, t.getSupportedTypes()[0]);
                        }catch (Exception e) {
                            toSet.remove(t);
                        }
                    }
                    if (transfer instanceof HTMLTransfer) {
                        HTMLTransfer t = (HTMLTransfer) transfer;
                        try{
                            t.javaToNative(element, t.getSupportedTypes()[0]);
                        }catch (Exception e) {
                            toSet.remove(t);
                        }
                    }
                }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.internal.ui.UDIGTransfer

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.