本文整理了Java中org.openide.nodes.AbstractNode.destroy()
方法的一些代码示例,展示了AbstractNode.destroy()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractNode.destroy()
方法的具体详情如下:
包路径:org.openide.nodes.AbstractNode
类名称:AbstractNode
方法名:destroy
暂无
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Detaches all listeners from the bean and destroys it.
* @throws IOException if there was a problem
*/
@Override
public void destroy() throws IOException {
if (removePCLMethod != null) {
try {
Object o = Beans.getInstanceOf(bean, removePCLMethod.getDeclaringClass());
removePCLMethod.invoke(o, new Object[] { propertyChangeListener });
} catch (Exception e) {
NodeOp.exception(e);
}
}
super.destroy();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-javacard-spi
@Override
public void destroy() throws IOException {
//Ensure anything polling isn't kept alive by someone
//keeping a reference to a dead node
hardRef = null;
super.destroy();
}
代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-nodes
@Override
public void destroy()
throws IOException
{
timer.stop();
super.destroy();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-mercurial
public void destroy() throws IOException {
super.destroy();
if (repoload != null) {
repoload.cancel();
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Detaches all listeners from the bean and destroys it.
* @throws IOException if there was a problem
*/
public void destroy () throws IOException {
if (removePCLMethod != null) {
try {
Object o = Beans.getInstanceOf (bean, removePCLMethod.getDeclaringClass ());
removePCLMethod.invoke (o, new Object[] {propertyChangeListener});
} catch (Exception e) {
NodeOp.exception (e);
}
}
super.destroy ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Detaches all listeners from the bean and destroys it.
* @throws IOException if there was a problem
*/
public void destroy () throws IOException {
if (removePCLMethod != null) {
try {
Object o = Beans.getInstanceOf (bean, removePCLMethod.getDeclaringClass ());
removePCLMethod.invoke (o, new Object[] {propertyChangeListener});
} catch (Exception e) {
NodeOp.exception (e);
}
}
super.destroy ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide-loaders
public void destroy () throws IOException {
if (obj.isDeleteAllowed ()) {
obj.delete ();
}
super.destroy ();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-maven-repository
@Override
public void destroy() throws IOException {
RepositoryPreferences.getInstance().removeRepositoryInfo(info);
super.destroy();
}
代码示例来源:origin: org.codehaus.mevenide/nb-repo-browser
@Override
public void destroy() throws IOException {
RepositoryPreferences.getInstance().removeRepositoryInfo(info);
super.destroy();
}
代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-nodes
super.destroy();
内容来源于网络,如有侵权,请联系作者删除!