Interface CommonContext
- All Known Subinterfaces:
ClientContext
,DesignerContext
,GatewayContext
,VisionClientContext
- All Known Implementing Classes:
AbstractClientContext
,ClientContextImpl
,CommonContextDecorator
,DesignerContextImpl
,DesignerContextProxy
,GatewayContextDecorator
,PerspectiveExpression.PerspectiveExpressionCommonContext
public interface CommonContext
The base interface for all Ignition contexts (Gateway, Designer, and Client), consolidating common functionality
available from any context.
-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the XMLDeserializer that can be used to deserialize project resources.Returns a list of currently available Edge editions (either licensed or in trial).com.google.common.eventbus.EventBus
This is a generic event bus that can be used by any part of Ignition within a single scope (jvm)Returns the core function factory used by expressions.getLicenseState
(String moduleId) Returns the license state for the given moduleReturns the hook class for another module, used for modules that deal with each other's models.Returns the ScriptManager that can be used to execute Python scripts.Returns the manager that provides access to Ignition's tag system.
-
Method Details
-
getTagManager
TagManager getTagManager()Returns the manager that provides access to Ignition's tag system. -
getScriptManager
ScriptManager getScriptManager()Returns the ScriptManager that can be used to execute Python scripts. -
createDeserializer
XMLDeserializer createDeserializer()Returns an instance of the XMLDeserializer that can be used to deserialize project resources. Note that this is the only safe way to obtain an instance of XMLDeserializer, because the context will pass the new deserializer around to all loaded modules, giving them a chance to initialize any custom deserialization deletes on it first. -
getExpressionFunctionFactory
FunctionFactory getExpressionFunctionFactory()Returns the core function factory used by expressions. Includes extension functions registered by modules. -
getModule
Returns the hook class for another module, used for modules that deal with each other's models. Example: The reporting plugin's designer hook uses this to get FactoryPMI's palette. -
getLicenseState
Returns the license state for the given module -
getEdgeEditions
List<EdgeEdition> getEdgeEditions()Returns a list of currently available Edge editions (either licensed or in trial). Does not check if any required modules are installed and running. -
getEventBus
com.google.common.eventbus.EventBus getEventBus()This is a generic event bus that can be used by any part of Ignition within a single scope (jvm) -
getLoggingManager
LogFilterSettings getLoggingManager()
-