热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

org.eclipse.jface.wizard.Wizard.dispose()方法的使用及代码示例

本文整理了Java中org.eclipse.jface.wizard.Wizard.dispose()方法的一些代码示例,展示了Wizard.dispose

本文整理了Java中org.eclipse.jface.wizard.Wizard.dispose()方法的一些代码示例,展示了Wizard.dispose()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wizard.dispose()方法的具体详情如下:
包路径:org.eclipse.jface.wizard.Wizard
类名称:Wizard
方法名:dispose

Wizard.dispose介绍

[英]The Wizard implementation of this IWizard method disposes all the pages controls using DialogPage.dispose. Subclasses should extend this method if the wizard instance maintains addition SWT resource that need to be disposed.
[中]此IWizard方法的Wizard实现使用DialogPage.dispose处理所有页面控件。如果向导实例维护需要释放的额外SWT资源,子类应该扩展此方法。

代码示例

代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui

@Override
public void dispose() {
super.dispose();
fMainPage = null;
fSelection = null;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui

@Override
public void dispose() {
super.dispose();
fMainPage = null;
}

代码示例来源:origin: org.eclipse/org.eclipse.emf.importer

@Override
public void dispose()
{
selection = null;
workbench = null;
genModelCOntainerPath= null;
reloadFile = null;
selectiOnPage= null;

super.dispose();
}

代码示例来源:origin: org.eclipse.equinox.p2/ui

public void dispose() {
ui.signalRepositoryOperationComplete(null, false);
super.dispose();
}

代码示例来源:origin: org.eclipse/org.eclipse.emf.exporter

@Override
public void dispose()
{
selection = null;
workbench = null;

if (selectionPage != null)
{
selectionPage.clearCache();
selectiOnPage= null;
}
super.dispose();
}

代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
* {@inheritDoc}
*/
public void dispose() {
SafeRunner.run(new ISafeRunnable() {
public void handleException(final Throwable exception) {
RefactoringUIPlugin.log(exception);
}
public final void run() throws Exception {
if (fAboutToPerformFired) {
final RefactoringStatusEntry entry= historyPerformed(new NullProgressMonitor()).getEntryWithHighestSeverity();
if (entry != null)
RefactoringUIPlugin.log(entry.toStatus());
}
}
});
super.dispose();
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public void dispose() {
if (fSelectionWizardPage != null) {
ClasspathContainerDescriptor[] descriptors= fSelectionWizardPage.getContainers();
for (int i= 0; i descriptors[i].dispose();
}
}
super.dispose();
}

代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui

public void dispose() {
if (fSelectionWizardPage != null) {
ClasspathContainerDescriptor[] descriptors= fSelectionWizardPage.getContainers();
for (int i= 0; i descriptors[i].dispose();
}
}
super.dispose();
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.m2e.core.ui

@Override
public void dispose() {
M2EUIPluginActivator.getDefault().ungetMavenDiscovery(discovery);
super.dispose();
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public void dispose() {
if (fSelectionWizardPage != null) {
ClasspathContainerDescriptor[] descriptors= fSelectionWizardPage.getContainers();
for (int i= 0; i descriptors[i].dispose();
}
}
super.dispose();
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.common.frameworks.ui

public void dispose() {
super.dispose();
if (null != rootPageGroup) {
List pages = rootPageGroup.getPages(dataModel);
for (Iterator it = pages.iterator(); it.hasNext();)
{
Object page = it.next();
if (page instanceof IWizardPage)
{
((IWizardPage)page).dispose();
}
}
}
if (null != dataModel) {
dataModel.dispose();
}
}

代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui

@Override
public void dispose() {
super.dispose();
PDEPlugin.getDefault().getLabelProvider().disconnect(this);
}
}

代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui

@Override
public void dispose() {
PDEPlugin.getDefault().getLabelProvider().disconnect(this);
super.dispose();
}

代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui

@Override
public void dispose() {
PDEPlugin.getDefault().getLabelProvider().disconnect(this);
super.dispose();
}

代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui

public void dispose() {
PDEPlugin.getDefault().getLabelProvider().disconnect(this);
super.dispose();
}

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.converter

@Override
public void dispose()
{
selection = null;
workbench = null;
doPerformFinishDiagnostic = null;
diagnosticHandler = null;
if (modelConverter != null)
{
modelConverter.dispose();
modelCOnverter= null;
}
if (pageHelper != null)
{
if (getContainer() instanceof WizardDialog)
{
((WizardDialog)getContainer()).removePageChangedListener(pageHelper);
}
pageHelper.dispose();
pageHelper = null;
}
super.dispose();
}

推荐阅读
author-avatar
静净精时
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有