Class ClientStepRegistry
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.sfc.client.api.ClientStepRegistry
- All Implemented Interfaces:
Changeable,StepRegistry
- Direct Known Subclasses:
ClientStepRegistryImpl
public abstract class ClientStepRegistry
extends AbstractChangeable
implements StepRegistry, Changeable
The ClientStepRegistry is where you need to add your ClientStepFactory to add a step. You can obtain the
ClientStepRegistry via getInstance(ClientContext).
You'll need to do this in both Client and Desginer hooks. In the Designer, you need to also add a StepConfigFactory as well.
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<ClientStepFactory>Returns a read-only collection of the registered factoriesstatic ClientStepRegistrygetInstance(ClientContext context) abstract com.google.common.base.Optional<ClientStepFactory>getStepFactory(String id) Looks up the delegate for the given step factory id.abstract voidregister(ClientStepFactory factory) Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.util.Changeable
addChangeListener, removeChangeListener
-
Constructor Details
-
ClientStepRegistry
public ClientStepRegistry()
-
-
Method Details
-
getInstance
-
register
-
getStepFactory
Description copied from interface:StepRegistryLooks up the delegate for the given step factory id.- Specified by:
getStepFactoryin interfaceStepRegistry
-
getFactories
Returns a read-only collection of the registered factories
-