本文整理了Java中org.openide.nodes.FilterNode.clipboardCopy()
方法的一些代码示例,展示了FilterNode.clipboardCopy()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FilterNode.clipboardCopy()
方法的具体详情如下:
包路径:org.openide.nodes.FilterNode
类名称:FilterNode
方法名:clipboardCopy
暂无
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-makeproject
@Override
public Transferable clipboardCopy() throws IOException {
return addViewItemTransferable(super.clipboardCopy(), DnDConstants.ACTION_COPY);
}
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-java-project-ui
@Override public Transferable clipboardCopy() throws IOException {
DataFolder top = topPackage();
if (top != null) {
return top.getNodeDelegate().clipboardCopy();
} else {
return super.clipboardCopy();
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide-loaders
/** Copy this node to the clipboard.
*
* @return {@link org.openide.util.datatransfer.ExTransferable.Single} with one copy flavor
* @throws IOException if it could not copy
* @see NodeTransfer
*/
public Transferable clipboardCopy () throws IOException {
ExTransferable t = ExTransferable.create (super.clipboardCopy ());
t.put (LoaderTransfer.transferable (
obj,
LoaderTransfer.CLIPBOARD_COPY)
);
return t;
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-palette
public Transferable clipboardCopy() throws IOException {
ExTransferable t = ExTransferable.create(super.clipboardCopy());
Lookup lookup = getLookup();
// Can we create our own version of Active Editor Drop here?
ActiveEditorDrop drop = lookup.lookup(ActiveEditorDrop.class);
ActiveEditorDropTransferable s = new ActiveEditorDropTransferable(drop);
t.put(s);
return new NoExternalDndTransferable(t);
}
内容来源于网络,如有侵权,请联系作者删除!