Package com._1c.g5.v8.dt.ui.wizards
Class DtNewWizardExtensionsRegistry
java.lang.Object
com._1c.g5.v8.dt.ui.wizards.DtNewWizardExtensionsRegistry
The workbench's global registry of DT wizard page extensions.
Reads
com._1c.g5.v8.dt.ui.dtNewWizardExtensions
extension point.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Support class to hold page extension description. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all registered DT wizard extension pages as map: wizard id to list of page extensions.List<IDtNewWizardPage<?>>
getPageExtensions
(String wizardId) Returns page extensions for the given DT wizard by the wizard id.Load all registered DT wizard extension and returns loaded extensions as map: wizard id to list of page extensions.loadExtension
(org.eclipse.core.runtime.IConfigurationElement configurationElement) Load single DT wizard extension by the configuration element.
-
Constructor Details
-
DtNewWizardExtensionsRegistry
public DtNewWizardExtensionsRegistry()
-
-
Method Details
-
getPageExtensions
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
andafterPage
attributes.- Parameters:
wizardId
- the DT wizard id to get wizard extension pages for, cannot benull
- 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 returnnull
if element was not configured properly. Errors will be logged.- Parameters:
configurationElement
- the configuration element to load DT wizard extension for, cannot benull
- Returns:
- loaded DT wizard extension or
null
if element was not configured properly
-