本文整理了Java中org.eclipse.jface.resource.ResourceManager.cancelDisposeExec
方法的一些代码示例,展示了ResourceManager.cancelDisposeExec
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceManager.cancelDisposeExec
方法的具体详情如下:
包路径:org.eclipse.jface.resource.ResourceManager
类名称:ResourceManager
方法名:cancelDisposeExec
[英]Cancels a runnable that was previously scheduled with disposeExec
. Has no effect if the given runnable was not previously registered with disposeExec.
[中]取消以前使用[$0$]计划的可运行。如果给定的runnable之前未在disposeExec注册,则无效。
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
/**
* Disposes this image registry, disposing any images
* that were allocated for it, and clearing its entries.
*
* @since 3.1
*/
public void dispose() {
manager.cancelDisposeExec(disposeRunnable);
if (table != null) {
for (Entry entry : table.values()) {
if (entry.image != null) {
manager.destroyImage(entry.descriptor);
}
}
table = null;
}
display = null;
}
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
/**
* Disposes this image registry, disposing any images
* that were allocated for it, and clearing its entries.
*
* @since 1.0
*/
public void dispose() {
manager.cancelDisposeExec(disposeRunnable);
if (table != null) {
for (Iterator i = table.values().iterator(); i.hasNext();) {
Entry entry = (Entry) i.next();
if (entry.image != null) {
manager.destroyImage(entry.descriptor);
}
}
table = null;
}
display = null;
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
/**
* Disposes this image registry, disposing any images
* that were allocated for it, and clearing its entries.
*
* @since 3.1
*/
public void dispose() {
manager.cancelDisposeExec(disposeRunnable);
if (table != null) {
for (Iterator<Entry> i = table.values().iterator(); i.hasNext();) {
Entry entry = i.next();
if (entry.image != null) {
manager.destroyImage(entry.descriptor);
}
}
table = null;
}
display = null;
}
}
内容来源于网络,如有侵权,请联系作者删除!