Class DesignerHook
java.lang.Object
com.inductiveautomation.ignition.designer.model.AbstractDesignerModuleHook
com.inductiveautomation.perspective.designer.DesignerHook
- All Implemented Interfaces:
 DesignerModuleHook,PerspectiveDesignerInterface
public class DesignerHook
extends AbstractDesignerModuleHook
implements PerspectiveDesignerInterface
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic DesignerHookget(DesignerContext context) static StringReturns a menu merge for any global menu additions.Used by modules that add project resources to an Ignition project.Allows a module to give an appropriate display name for the resource.voidNotifies the module that the save operation has finished.voidNotifies the module that the user has requested that the project is saved.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.AbstractDesignerModuleHook
configureDeserializer, configureFunctionFactory, configureSerializer, createPermissionKeys, getFrames, getModuleToolbars, getResourceIcon, initializeScriptManager, notifyActivationStateChanged 
- 
Field Details
- 
ICONS
 - 
LIGHTWEIGHT_MODE
- See Also:
 
 - 
IN_MEMORY_CACHE
- See Also:
 
 - 
USER_DATA_DIR
System flag used to specify the directory where user data is stored for an instance of the JxBrowser Engine. Default is to the designer cache directory/.jxbrowser/<ignition_username>- See Also:
 
 - 
CLEAR_CACHE_ON_PANEL_LOAD
- See Also:
 
 - 
LOG_BROWSER_TO_DISK
- See Also:
 
 
 - 
 - 
Constructor Details
- 
DesignerHook
public DesignerHook() 
 - 
 - 
Method Details
- 
get
 - 
getComponentDesignDelegateRegistry
- Specified by:
 getComponentDesignDelegateRegistryin interfacePerspectiveDesignerInterface
 - 
getBindingRegistry
- Specified by:
 getBindingRegistryin interfacePerspectiveDesignerInterface
 - 
getSuggestionSourceRegistry
- Specified by:
 getSuggestionSourceRegistryin interfacePerspectiveDesignerInterface
 - 
getActionRegistry
- Specified by:
 getActionRegistryin interfacePerspectiveDesignerInterface
 - 
getDesignerComponentRegistry
- Specified by:
 getDesignerComponentRegistryin interfacePerspectiveDesignerInterface
 - 
startup
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 interfaceDesignerModuleHook- Overrides:
 startupin classAbstractDesignerModuleHook
 - 
getWorkspace
 - 
getSessionEventDialog
 - 
getResourceCategoryKey
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 interfaceDesignerModuleHook- Overrides:
 getResourceCategoryKeyin classAbstractDesignerModuleHook- Parameters:
 id- A project resource that was added by this module.- Returns:
 - A bundle resource key for the category of this resource.
 
 - 
getResourceDisplayName
Description copied from interface:DesignerModuleHookAllows a module to give an appropriate display name for the resource. For most resources this won't be necessary (the resource's name itself should be used), but for some resources whose name is null, this may be appropriate.
Used by the import/export system.
- Specified by:
 getResourceDisplayNamein interfaceDesignerModuleHook- Overrides:
 getResourceDisplayNamein classAbstractDesignerModuleHook- Returns:
 - the name for a resource, or null to use the resource's folder path/name.
 
 - 
getIconLibraries
 - 
getModuleMenu
Description copied from interface:DesignerModuleHookReturns a menu merge for any global menu additions. May be null.- Specified by:
 getModuleMenuin interfaceDesignerModuleHook- Overrides:
 getModuleMenuin classAbstractDesignerModuleHook- See Also:
 
 - 
shutdown
public 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 interfaceDesignerModuleHook- Overrides:
 shutdownin classAbstractDesignerModuleHook
 - 
notifyProjectSaveStart
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 interfaceDesignerModuleHook- Overrides:
 notifyProjectSaveStartin classAbstractDesignerModuleHook
 - 
notifyProjectSaveDone
public void notifyProjectSaveDone()Description copied from interface:DesignerModuleHookNotifies the module that the save operation has finished. This is the cue to check-out any previously checked-out resources that it was forced to check-in before the save.- Specified by:
 notifyProjectSaveDonein interfaceDesignerModuleHook- Overrides:
 notifyProjectSaveDonein classAbstractDesignerModuleHook
 - 
getCombinedStyles
 - 
getSymbolProps
 - 
getBrowserFailedMessage
 
 -