public class ReportingDesignerHook extends AbstractDesignerModuleHook
| Constructor and Description |
|---|
ReportingDesignerHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureDeserializer(XMLDeserializer deserializer) |
void |
configureSerializer(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 module
|
DesignerDataSourceRegistry |
getDataSourceRegistry() |
java.util.List<com.jidesoft.docking.DockableFrame> |
getFrames()
A list of DockableFrames that this module provides, that should be available to all workspaces.
|
MenuBarMerge |
getModuleMenu()
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.String |
getResourceCategoryKey(Project project,
ProjectResource resource)
Used by modules that add project resources to an Ignition project.
|
java.lang.String |
getResourceDisplayName(Project project,
ProjectResource resource)
Gets the full display name of the report resource, including the folder structure.
|
javax.swing.Icon |
getResourceIcon(Project project,
ProjectResource resource)
Allows a module to give an appropriate icon for a resource.
|
DesignerShapeRegistry |
getShapeRegistry() |
void |
initializeScriptManager(ScriptManager manager)
Initialize a newly-instantiated script manager.
|
void |
notifyProjectSaveDone()
Notifies the module that the save operation has finished.
|
void |
notifyProjectSaveStart(SaveContext save)
Notifies the module that the user has requested that the project is saved.
|
protected void |
setupRM14() |
void |
startup(DesignerContext context,
LicenseState activationState)
The main entrypoint for the module hook.
|
configureFunctionFactory, createPermissionKeys, notifyActivationStateChanged, shutdownpublic void startup(DesignerContext context, LicenseState activationState) throws java.lang.Exception
DesignerModuleHookDesignerModuleHook.shutdown() will be called and a new hook will be instantiatedstartup in interface DesignerModuleHookstartup in class AbstractDesignerModuleHookjava.lang.Exception - if the module was not able to be initialized for the given project.public void initializeScriptManager(ScriptManager manager)
DesignerModuleHookScriptManager.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.initializeScriptManager in interface DesignerModuleHookinitializeScriptManager in class AbstractDesignerModuleHookprotected void setupRM14()
public DesignerDataSourceRegistry getDataSourceRegistry()
public DesignerShapeRegistry getShapeRegistry()
public java.lang.String getResourceCategoryKey(Project project, ProjectResource resource)
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.
getResourceCategoryKey in interface DesignerModuleHookgetResourceCategoryKey in class AbstractDesignerModuleHookresource - A project resource that was added by this module.public java.lang.String getResourceDisplayName(@Nonnull
Project project,
@Nonnull
ProjectResource resource)
getResourceDisplayName in interface DesignerModuleHookgetResourceDisplayName in class AbstractDesignerModuleHookpublic javax.swing.Icon getResourceIcon(Project project, ProjectResource resource)
DesignerModuleHookAllows a module to give an appropriate icon for a resource.
Used by the import/export system.
getResourceIcon in interface DesignerModuleHookgetResourceIcon in class AbstractDesignerModuleHookpublic void configureSerializer(XMLSerializer serializer)
DesignerModuleHookconfigureSerializer in interface DesignerModuleHookconfigureSerializer in class AbstractDesignerModuleHookpublic void configureDeserializer(XMLDeserializer deserializer)
configureDeserializer in interface DesignerModuleHookconfigureDeserializer in class AbstractDesignerModuleHookpublic void notifyProjectSaveStart(SaveContext save)
DesignerModuleHooknotifyProjectSaveStart in interface DesignerModuleHooknotifyProjectSaveStart in class AbstractDesignerModuleHookpublic java.util.List<com.jidesoft.docking.DockableFrame> getFrames()
DesignerModuleHookgetFrames in interface DesignerModuleHookgetFrames in class AbstractDesignerModuleHookpublic MenuBarMerge getModuleMenu()
DesignerModuleHookgetModuleMenu in interface DesignerModuleHookgetModuleMenu in class AbstractDesignerModuleHookJMenuMergepublic java.util.List<com.jidesoft.action.CommandBar> getModuleToolbars()
DesignerModuleHookgetModuleToolbars in interface DesignerModuleHookgetModuleToolbars in class AbstractDesignerModuleHookpublic void notifyProjectSaveDone()
DesignerModuleHooknotifyProjectSaveDone in interface DesignerModuleHooknotifyProjectSaveDone in class AbstractDesignerModuleHook