Package com._1c.g5.v8.dt.ui.wizards
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. Readscom._1c.g5.v8.dt.ui.dtNewWizardExtensionsextension point.- See Also:
- IDtNewWizardPage
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classDtNewWizardExtensionsRegistry.DtNewWizardPageExtensionSupport class to hold page extension description.
 - 
Constructor SummaryConstructors Constructor Description DtNewWizardExtensionsRegistry()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,List<DtNewWizardExtensionsRegistry.DtNewWizardPageExtension>>getExtensions()Returns 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.protected Map<String,List<DtNewWizardExtensionsRegistry.DtNewWizardPageExtension>>laodExtensions()Load all registered DT wizard extension and returns loaded extensions as map: wizard id to list of page extensions.protected DtNewWizardExtensionsRegistry.DtNewWizardPageExtensionloadExtension(org.eclipse.core.runtime.IConfigurationElement configurationElement)Load single DT wizard extension by the configuration element.
 
- 
- 
- 
Method Detail- 
getPageExtensionspublic 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 beforePageandafterPageattributes.- 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
 
 - 
getExtensionsprotected Map<String,List<DtNewWizardExtensionsRegistry.DtNewWizardPageExtension>> 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
 
 - 
laodExtensionsprotected Map<String,List<DtNewWizardExtensionsRegistry.DtNewWizardPageExtension>> 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
 
 - 
loadExtensionprotected DtNewWizardExtensionsRegistry.DtNewWizardPageExtension loadExtension(org.eclipse.core.runtime.IConfigurationElement configurationElement) Load single DT wizard extension by the configuration element. Can returnnullif 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 nullif element was not configured properly
 
 
- 
 
-