1 19 20 package org.netbeans.modules.websvc.registry.nodes; 21 22 import org.netbeans.modules.websvc.registry.model.WebServiceData; 36 import java.io.*; 42 import javax.swing.ImageIcon ; 48 68 import java.awt.datatransfer.Transferable ; 70 import java.awt.datatransfer.DataFlavor ; 71 import java.awt.datatransfer.UnsupportedFlavorException ; 72 73 78 public class WebServicePaletteItem implements Transferable { private String proxyName; 80 private String wsdlFileName; 81 private String wsdlFileNameExt = "wsdl"; 82 83 private WebServiceData data; 84 85 public final static String WEB_SERVICE_PREFIX = "Web Service - "; 86 public final static String WEB_SERVICE_REFERENCE_NODE="Web Service Support"; 87 88 public WebServicePaletteItem(WebServiceData data) { 89 this.data = data; 91 String wsName = data.getName(); 92 wsdlFileName = wsName.substring(wsName.lastIndexOf('.') + 1, wsName.length()); 93 proxyName = data.getProxy(); 94 } 95 96 768 public Object getTransferData(java.awt.datatransfer.DataFlavor dataFlavor) throws java.awt.datatransfer.UnsupportedFlavorException , java.io.IOException { 770 return null; 771 } 772 773 public java.awt.datatransfer.DataFlavor [] getTransferDataFlavors() { 774 return null; 775 } 776 777 public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor) { 778 return false; 779 } 780 781 } 782 | Popular Tags |