Class ReportingDesignerHook
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.model.AbstractDesignerModuleHook
- 
- com.inductiveautomation.reporting.designer.ReportingDesignerHook
 
 
- 
- All Implemented Interfaces:
- DesignerModuleHook
 
 public class ReportingDesignerHook extends AbstractDesignerModuleHook 
- 
- 
Constructor SummaryConstructors Constructor Description ReportingDesignerHook()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureSerializer(XMLSerializer serializer)Provides the module a chance to add serialization delegates to the serializer custom for classes that might be encountered when serializing objects provided by this moduleDesignerDataSourceRegistrygetDataSourceRegistry()java.util.List<com.jidesoft.docking.DockableFrame>getFrames()A list of DockableFrames that this module provides, that should be available to all workspaces.MenuBarMergegetModuleMenu()Returns a menu merge for any global menu additions.java.util.List<com.jidesoft.action.CommandBar>getModuleToolbars()Returns the toolbars for the module.java.lang.StringgetResourceCategoryKey(ProjectResourceId resource)Used by modules that add project resources to an Ignition project.javax.swing.IcongetResourceIcon(ProjectResourceId resource)Allows a module to give an appropriate icon for a resource.DesignerShapeRegistrygetShapeRegistry()voidinitializeScriptManager(ScriptManager manager)Initialize a newly-instantiated script manager.voidnotifyProjectSaveStart(SaveContext save)Notifies the module that the user has requested that the project is saved.protected voidsetupRM14()voidshutdown()Called when the module is shut down.voidstartup(DesignerContext context, LicenseState activationState)The main entrypoint for the module hook.- 
Methods inherited from class com.inductiveautomation.ignition.designer.model.AbstractDesignerModuleHookconfigureDeserializer, configureFunctionFactory, createPermissionKeys, getResourceDisplayName, notifyActivationStateChanged, notifyProjectSaveDone
 
- 
 
- 
- 
- 
Method Detail- 
startuppublic void startup(DesignerContext context, LicenseState activationState) throws java.lang.Exception Description copied from interface:DesignerModuleHookThe main entrypoint for the module hook. This will only be called once for a given project. If another project is ever opened,DesignerModuleHook.shutdown()will be called and a new hook will be instantiated- Specified by:
- startupin interface- DesignerModuleHook
- Overrides:
- startupin class- AbstractDesignerModuleHook
- Throws:
- java.lang.Exception- if the module was not able to be initialized for the given project.
 
 - 
shutdownpublic void shutdown() Description copied from interface:DesignerModuleHookCalled when the module is shut down. This will happen if the user opens a different project within the same designer session - the existing modules will be shut down, and new module hooks will be instantiated and started up.- Specified by:
- shutdownin interface- DesignerModuleHook
- Overrides:
- shutdownin class- AbstractDesignerModuleHook
 
 - 
initializeScriptManagerpublic void initializeScriptManager(ScriptManager manager) Description copied from interface:DesignerModuleHookInitialize a newly-instantiated script manager. This will be called exactly once for any given ScriptManager instance. Usually this will involve callingScriptManager.addScriptModule(String, Object), which reflectively loads the public (instance and static) java functions from the given object into the scripting environment, at the provided path.- Specified by:
- initializeScriptManagerin interface- DesignerModuleHook
- Overrides:
- initializeScriptManagerin class- AbstractDesignerModuleHook
 
 - 
setupRM14protected void setupRM14() 
 - 
getDataSourceRegistrypublic DesignerDataSourceRegistry getDataSourceRegistry() 
 - 
getShapeRegistrypublic DesignerShapeRegistry getShapeRegistry() 
 - 
getResourceCategoryKeypublic java.lang.String getResourceCategoryKey(ProjectResourceId resource) Description copied from interface:DesignerModuleHookUsed by modules that add project resources to an Ignition project. This will be called when the exporter is displaying all of the resources inside a project for export. Only project resources that match this module's ID will passed to this function. Used by the import/export system. - Specified by:
- getResourceCategoryKeyin interface- DesignerModuleHook
- Overrides:
- getResourceCategoryKeyin class- AbstractDesignerModuleHook
- Parameters:
- resource- A project resource that was added by this module.
- Returns:
- A bundle resource key for the category of this resource.
 
 - 
getResourceIconpublic javax.swing.Icon getResourceIcon(ProjectResourceId resource) Description copied from interface:DesignerModuleHookAllows a module to give an appropriate icon for a resource. Used by the import/export system. - Specified by:
- getResourceIconin interface- DesignerModuleHook
- Overrides:
- getResourceIconin class- AbstractDesignerModuleHook
 
 - 
configureSerializerpublic void configureSerializer(XMLSerializer serializer) Description copied from interface:DesignerModuleHookProvides the module a chance to add serialization delegates to the serializer custom for classes that might be encountered when serializing objects provided by this module- Specified by:
- configureSerializerin interface- DesignerModuleHook
- Overrides:
- configureSerializerin class- AbstractDesignerModuleHook
 
 - 
notifyProjectSaveStartpublic void notifyProjectSaveStart(SaveContext save) Description copied from interface:DesignerModuleHookNotifies the module that the user has requested that the project is saved. The module must check-in any checked-out resources that it is holding.- Specified by:
- notifyProjectSaveStartin interface- DesignerModuleHook
- Overrides:
- notifyProjectSaveStartin class- AbstractDesignerModuleHook
 
 - 
getFrames@Nonnull public java.util.List<com.jidesoft.docking.DockableFrame> getFrames() Description copied from interface:DesignerModuleHookA list of DockableFrames that this module provides, that should be available to all workspaces.- Specified by:
- getFramesin interface- DesignerModuleHook
- Overrides:
- getFramesin class- AbstractDesignerModuleHook
 
 - 
getModuleMenupublic MenuBarMerge getModuleMenu() Description copied from interface:DesignerModuleHookReturns a menu merge for any global menu additions. May be null.- Specified by:
- getModuleMenuin interface- DesignerModuleHook
- Overrides:
- getModuleMenuin class- AbstractDesignerModuleHook
- See Also:
- JMenuMerge
 
 - 
getModuleToolbars@Nonnull public java.util.List<com.jidesoft.action.CommandBar> getModuleToolbars() Description copied from interface:DesignerModuleHookReturns the toolbars for the module. May be empty but not null.- Specified by:
- getModuleToolbarsin interface- DesignerModuleHook
- Overrides:
- getModuleToolbarsin class- AbstractDesignerModuleHook
 
 
- 
 
-