Class CommonContextDecorator
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.model.CommonContextDecorator
 
- 
- All Implemented Interfaces:
- CommonContext
 - Direct Known Subclasses:
- PerspectiveExpression.PerspectiveExpressionCommonContext
 
 public abstract class CommonContextDecorator extends java.lang.Object implements CommonContext Simple abstract decorator forCommonContext
- 
- 
Constructor SummaryConstructors Constructor Description CommonContextDecorator(CommonContext delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLDeserializercreateDeserializer()Returns an instance of the XMLDeserializer that can be used to deserialize project resources.java.util.List<EdgeEdition>getEdgeEditions()Returns a list of currently available Edge editions (either licensed or in trial).com.google.common.eventbus.EventBusgetEventBus()This is a generic event bus that can be used by any part of Ignition within a single scope (jvm)FunctionFactorygetExpressionFunctionFactory()Returns the core function factory used by expressions.LicenseStategetLicenseState(java.lang.String moduleId)Returns the license state for the given moduleLogFilterSettingsgetLoggingManager()java.lang.ObjectgetModule(java.lang.String id)Returns the hook class for another module, used for modules that deal with each other's models.ScriptManagergetScriptManager()Returns the ScriptManager that can be used to execute Python scripts.TagManagergetTagManager()Returns the manager that provides access to Ignition's tag system.
 
- 
- 
- 
Constructor Detail- 
CommonContextDecoratorpublic CommonContextDecorator(@Nonnull CommonContext delegate)
 
- 
 - 
Method Detail- 
getTagManagerpublic TagManager getTagManager() Description copied from interface:CommonContextReturns the manager that provides access to Ignition's tag system.- Specified by:
- getTagManagerin interface- CommonContext
 
 - 
getScriptManagerpublic ScriptManager getScriptManager() Description copied from interface:CommonContextReturns the ScriptManager that can be used to execute Python scripts.- Specified by:
- getScriptManagerin interface- CommonContext
 
 - 
createDeserializerpublic XMLDeserializer createDeserializer() Description copied from interface:CommonContextReturns 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.- Specified by:
- createDeserializerin interface- CommonContext
 
 - 
getExpressionFunctionFactorypublic FunctionFactory getExpressionFunctionFactory() Description copied from interface:CommonContextReturns the core function factory used by expressions. Includes extension functions registered by modules.- Specified by:
- getExpressionFunctionFactoryin interface- CommonContext
 
 - 
getModulepublic java.lang.Object getModule(java.lang.String id) Description copied from interface:CommonContextReturns 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.- Specified by:
- getModulein interface- CommonContext
 
 - 
getLicenseStatepublic LicenseState getLicenseState(java.lang.String moduleId) Description copied from interface:CommonContextReturns the license state for the given module- Specified by:
- getLicenseStatein interface- CommonContext
 
 - 
getEdgeEditionspublic java.util.List<EdgeEdition> getEdgeEditions() Description copied from interface:CommonContextReturns a list of currently available Edge editions (either licensed or in trial). Does not check if any required modules are installed and running.- Specified by:
- getEdgeEditionsin interface- CommonContext
 
 - 
getEventBuspublic com.google.common.eventbus.EventBus getEventBus() Description copied from interface:CommonContextThis is a generic event bus that can be used by any part of Ignition within a single scope (jvm)- Specified by:
- getEventBusin interface- CommonContext
 
 - 
getLoggingManagerpublic LogFilterSettings getLoggingManager() - Specified by:
- getLoggingManagerin interface- CommonContext
 
 
- 
 
-