Class DtNewWizardExtensionsRegistry

java.lang.Object
com._1c.g5.v8.dt.ui.wizards.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:
  • Constructor Details

    • DtNewWizardExtensionsRegistry

      public DtNewWizardExtensionsRegistry()
  • Method Details

    • 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
    • getExtensions

      Returns all registered DT wizard extension pages as map: wizard id to list of page extensions. Method is synchronized.
      Returns:
      all registered DT wizard extension pages, never null
    • laodExtensions

      Load all registered DT wizard extension and returns loaded extensions as map: wizard id to list of page extensions.
      Returns:
      all loaded extensions DT wizard extension pages, 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