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

x33g5p2x  于2022-02-03 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(136)

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

Wizard.createPageControls介绍

[英]The Wizard implementation of this IWizard method creates all the pages controls using IDialogPage.createControl. Subclasses should reimplement this method if they want to delay creating one or more of the pages lazily. The framework ensures that the contents of a page will be created before attempting to show it.
[中]此IWizard方法的Wizard实现使用IDialogPage.createControl创建所有页面控件。如果子类希望延迟创建一个或多个页面,则应重新实现此方法。该框架确保在尝试显示页面之前创建页面内容。

代码示例

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

@Override
public void createPageControls(Composite pageContainer) {
  super.createPageControls(pageContainer);
  IWizardContainer container = getContainer();
  if (container instanceof WizardDialog) {
    WizardDialog dialog = (WizardDialog) container;
    dialog.addPageChangingListener(this);
  }
}

代码示例来源:origin: org.eclipse/org.eclipse.datatools.connectivity.sqm.fe.ui

public void createPageControls(Composite pageContainer) {
    super.createPageControls(pageContainer);
    getShell().setData(HelpUtil.CONTEXT_PROVIDER_KEY, this);
    HelpUtil.setHelp(getShell(), HelpUtil.getContextId(
        IHelpContextsSQMFEUI.GENERATE_DDL_WIZARD,
        FEUiPlugin.getDefault().getBundle().getSymbolicName()));
  }
}

代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common

/**
 * {@inheritDoc}
 */
public void createPageControls( Composite pageContainer )
{
  super.createPageControls( pageContainer );
  // set help context ID
  PlatformUI.getWorkbench().getHelpSystem().setHelp( typePage.getControl(),
    BrowserCommonConstants.PLUGIN_ID + "." + "tools_attribute_wizard" ); //$NON-NLS-1$ //$NON-NLS-2$
  PlatformUI.getWorkbench().getHelpSystem().setHelp( optionsPage.getControl(),
    BrowserCommonConstants.PLUGIN_ID + "." + "tools_attribute_wizard" ); //$NON-NLS-1$ //$NON-NLS-2$
}

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

super.createPageControls(pageContainer);
if (repoPreloadJob != null) {
  if (repoPreloadJob.getProperty(LoadMetadataRepositoryJob.WIZARD_CLIENT_SHOULD_SCHEDULE) != null) {

代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common

super.createPageControls( pageContainer );

相关文章