1 19 package org.openide.util.datatransfer; 20 21 import org.openide.util.HelpCtx; 22 import org.openide.util.NbBundle; 23 24 import java.awt.datatransfer.*; 25 26 import java.io.IOException ; 27 28 29 34 public abstract class PasteType extends Object implements HelpCtx.Provider { 35 40 public String getName() { 41 return NbBundle.getBundle(PasteType.class).getString("Paste"); 42 } 43 44 47 public HelpCtx getHelpCtx() { 48 return HelpCtx.DEFAULT_HELP; 49 } 50 51 57 public abstract Transferable paste() throws IOException ; 58 59 69 } 70 | Popular Tags |