Interface ClientStepFactory
- All Superinterfaces:
- StepDelegate
- All Known Implementing Classes:
- ActionStepUI.ActionStepFactory,- AssertionStepUI.AssertionStepFactory,- BeginStepUI.BeginStepFactory,- EnclosingStepUI.EnclosingStepFactory,- EndStepUI.EndStepFactory
A ClientStepFactory is responsible for creating StepView objects given their associated StepConfig objects. To add a
 new kind of Step, you'll need to implement this interface, and then register it with the ClentStepRegistry in a
 ClientModuleHook
- 
Method SummaryModifier and TypeMethodDescriptioncreateStepUI(ChartUIElement element) Create the UI component that is used to represent this step.A string representing the step's category.getId()A unique string that identifies this kind of stepThe primary icon (32x32) for the paletteA short name for the step to be displayed beneath its palette itemA short description of what the step doesdefault IconA 'highlighted' version of the primary iconvoidinitializeStep(ChartUIElement element) Called when a new step is created from the palette.Methods inherited from interface com.inductiveautomation.sfc.api.StepDelegatefromXml, getCompilationAlteringProperties, toXml, validate
- 
Method Details- 
getIdString getId()A unique string that identifies this kind of step- Specified by:
- getIdin interface- StepDelegate
- Returns:
- A unique string that identifies this kind of step, for example: "com.company.foostep".
 
- 
getCategoryString getCategory()A string representing the step's category. Will be represented as a tab on the step palette
- 
getPaletteIconIcon getPaletteIcon()The primary icon (32x32) for the palette
- 
getRolloverPaletteIconA 'highlighted' version of the primary icon
- 
getPaletteTextString getPaletteText()A short name for the step to be displayed beneath its palette item
- 
getPaletteTooltipString getPaletteTooltip()A short description of what the step does
- 
initializeStepCalled when a new step is created from the palette. Things like the Id, Type, and factory if will already be set on the new element.
- 
createStepUICreate the UI component that is used to represent this step.- Parameters:
- element- The chart element that represents this step
 
 
-