Class LegacyNotificationPrototype
- java.lang.Object
-
- com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
-
- com.inductiveautomation.ignition.alarming.designer.prototypes.LegacyNotificationPrototype
-
- All Implemented Interfaces:
PipelineBlockPrototype
public class LegacyNotificationPrototype 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 LegacyNotificationPrototype()
-
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.java.util.List<OutputDescriptor>
getOutputs(ObservablePropertySet block)
void
initPreviewPanel(ObservablePropertySet block, javax.swing.JPanel panel)
Used to initialize a small preview of the block's properties, which is displayed beneath the block.boolean
isPreviewPanelSupported()
Return true here if you want to add extra information to the block display on a preview panel beneath the input/output pins.boolean
isSystemOnly()
Returns whether only the system can programmatically create these types of blocks.-
Methods inherited from class com.inductiveautomation.ignition.alarming.designer.api.AbstractBlockPrototype
createNewBlock, getBlockMutatingProperties, getFactoryId, getIcon, getRolloverIcon, getSearchableProperties, getSmallIcon, getTitle
-
-
-
-
Method Detail
-
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
-
isSystemOnly
public boolean isSystemOnly()
Description copied from interface:PipelineBlockPrototype
Returns whether only the system can programmatically create these types of blocks. If false, the user will be able to create them from the palette.- Specified by:
isSystemOnly
in interfacePipelineBlockPrototype
- Overrides:
isSystemOnly
in classAbstractBlockPrototype
-
getOutputs
public java.util.List<OutputDescriptor> getOutputs(ObservablePropertySet block)
- Specified by:
getOutputs
in interfacePipelineBlockPrototype
- Overrides:
getOutputs
in classAbstractBlockPrototype
-
isPreviewPanelSupported
public boolean isPreviewPanelSupported()
Description copied from interface:PipelineBlockPrototype
Return true here if you want to add extra information to the block display on a preview panel beneath the input/output pins.- Specified by:
isPreviewPanelSupported
in interfacePipelineBlockPrototype
- Overrides:
isPreviewPanelSupported
in classAbstractBlockPrototype
-
initPreviewPanel
public void initPreviewPanel(ObservablePropertySet block, javax.swing.JPanel panel)
Description copied from interface:PipelineBlockPrototype
Used to initialize a small preview of the block's properties, which is displayed beneath the block.- Specified by:
initPreviewPanel
in interfacePipelineBlockPrototype
- Overrides:
initPreviewPanel
in classAbstractBlockPrototype
-
-