Class CommonContextDecorator

    • Constructor Detail

      • CommonContextDecorator

        public CommonContextDecorator​(@Nonnull
                                      CommonContext delegate)
    • Method Detail

      • createDeserializer

        public XMLDeserializer createDeserializer()
        Description copied from interface: CommonContext
        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.
        Specified by:
        createDeserializer in interface CommonContext
      • getModule

        public java.lang.Object getModule​(java.lang.String id)
        Description copied from interface: CommonContext
        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.
        Specified by:
        getModule in interface CommonContext
      • getEventBus

        public getEventBus()
        Description copied from interface: CommonContext
        This is a generic event bus that can be used by any part of Ignition within a single scope (jvm)
        Specified by:
        getEventBus in interface CommonContext