Class SplitterBlockPrototype
- java.lang.Object
-
- com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
-
- com.inductiveautomation.ignition.alarming.designer.prototypes.SplitterBlockPrototype
-
- All Implemented Interfaces:
PipelineBlockPrototype
public class SplitterBlockPrototype extends AbstractBlockPrototype
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
blockTitle, COMMON_OUTPUT_DESCRIPTOR, factoryId
-
-
Constructor Summary
Constructors Constructor Description SplitterBlockPrototype()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
createEditingUI(DesignerContext context, PropertySet block)
Create a new editing UI for the given block.ObservablePropertySet
createNewBlock()
Creates a new BasicPropertySet, setting theCommonBlockProperties.FACTORY_ID
on it.java.util.Collection<Property<?>>
getBlockMutatingProperties()
Which properties (if any) are able to alter the structure of the block (number/names of outputs)javax.swing.Icon
getIcon()
java.util.List<OutputDescriptor>
getOutputs(ObservablePropertySet block)
javax.swing.Icon
getSmallIcon()
-
Methods inherited from class com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
getFactoryId, getRolloverIcon, getSearchableProperties, getTitle, initPreviewPanel, isPreviewPanelSupported, isSystemOnly
-
-
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon()
- Specified by:
getIcon
in interfacePipelineBlockPrototype
- Overrides:
getIcon
in classAbstractBlockPrototype
- Returns:
- A 32x32 icon for the palette
-
getSmallIcon
public javax.swing.Icon getSmallIcon()
- Specified by:
getSmallIcon
in interfacePipelineBlockPrototype
- Overrides:
getSmallIcon
in classAbstractBlockPrototype
- Returns:
- Small 16x16 icon for the title of the block
-
createNewBlock
public ObservablePropertySet createNewBlock()
Description copied from class:AbstractBlockPrototype
Creates a new BasicPropertySet, setting theCommonBlockProperties.FACTORY_ID
on it.- Specified by:
createNewBlock
in interfacePipelineBlockPrototype
- Overrides:
createNewBlock
in classAbstractBlockPrototype
-
getOutputs
public java.util.List<OutputDescriptor> getOutputs(ObservablePropertySet block)
- Specified by:
getOutputs
in interfacePipelineBlockPrototype
- Overrides:
getOutputs
in classAbstractBlockPrototype
-
getBlockMutatingProperties
public java.util.Collection<Property<?>> getBlockMutatingProperties()
Description copied from interface:PipelineBlockPrototype
Which properties (if any) are able to alter the structure of the block (number/names of outputs)- Specified by:
getBlockMutatingProperties
in interfacePipelineBlockPrototype
- Overrides:
getBlockMutatingProperties
in classAbstractBlockPrototype
-
createEditingUI
public javax.swing.JComponent createEditingUI(DesignerContext context, PropertySet block)
Description copied from interface:PipelineBlockPrototype
Create a new editing UI for the given block. Note that your component may implementPipelineBlockEditor
to get callbacks on uninstall
-
-