Class DtNewWizardExtensionsRegistry


  • public class DtNewWizardExtensionsRegistry
    extends Object
    The workbench's global registry of DT wizard page extensions. Reads com._1c.g5.v8.dt.ui.dtNewWizardExtensions extension point.
    See Also:
    IDtNewWizardPage
    • Constructor Detail

      • DtNewWizardExtensionsRegistry

        public DtNewWizardExtensionsRegistry()
    • Method Detail

      • getPageExtensions

        public List<IDtNewWizardPage<?>> getPageExtensions​(String wizardId)
        Returns page extensions for the given DT wizard by the wizard id. If wizard extension pages are not registered, empty list will be returned.

        Order of the pages will match with pages extension description beforePage and afterPage attributes.

        Parameters:
        wizardId - the DT wizard id to get wizard extension pages for, cannot be null
        Returns:
        page extensions for the given DT wizard, never null
      • loadExtension

        protected DtNewWizardExtensionsRegistry.DtNewWizardPageExtension loadExtension​(org.eclipse.core.runtime.IConfigurationElement configurationElement)
        Load single DT wizard extension by the configuration element. Can return null if element was not configured properly. Errors will be logged.
        Parameters:
        configurationElement - the configuration element to load DT wizard extension for, cannot be null
        Returns:
        loaded DT wizard extension or null if element was not configured properly