Class ScriptableBlockPrototype
- java.lang.Object
-
- com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
-
- com.inductiveautomation.ignition.alarming.designer.prototypes.ScriptableBlockPrototype
-
- All Implemented Interfaces:
PipelineBlockPrototype
public class ScriptableBlockPrototype extends AbstractBlockPrototype
Created by colby.clegg on 10/23/2014.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
blockTitle, COMMON_OUTPUT_DESCRIPTOR, factoryId
-
-
Constructor Summary
Constructors Constructor Description ScriptableBlockPrototype()
-
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.javax.swing.Icon
getIcon()
javax.swing.Icon
getRolloverIcon()
java.util.Collection<Property<?>>
getSearchableProperties(PropertySet block)
Which properties (if any) are eligible for the search and replace system.javax.swing.Icon
getSmallIcon()
-
Methods inherited from class com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
createNewBlock, getBlockMutatingProperties, getFactoryId, getOutputs, 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
-
getRolloverIcon
public javax.swing.Icon getRolloverIcon()
- Specified by:
getRolloverIcon
in interfacePipelineBlockPrototype
- Overrides:
getRolloverIcon
in classAbstractBlockPrototype
- Returns:
- Rollover version of the palette icon.
-
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
-
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
-
getSearchableProperties
public java.util.Collection<Property<?>> getSearchableProperties(PropertySet block)
Description copied from interface:PipelineBlockPrototype
Which properties (if any) are eligible for the search and replace system.- Specified by:
getSearchableProperties
in interfacePipelineBlockPrototype
- Overrides:
getSearchableProperties
in classAbstractBlockPrototype
- Parameters:
block
- The block in question
-
-