本文整理了Java中org.eclipse.jface.wizard.Wizard.dispose()
方法的一些代码示例,展示了Wizard.dispose()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wizard.dispose()
方法的具体详情如下:
包路径:org.eclipse.jface.wizard.Wizard
类名称: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.length; 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.length; 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.length; 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();
}
内容来源于网络,如有侵权,请联系作者删除!