public class NotificationBlockPrototype extends AbstractBlockPrototype implements NotificationBlockProperties
blockTitle, COMMON_OUTPUT_DESCRIPTOR, factoryId
BLOCK_VERSION, FACTORY, NOTIFICATION_PROFILE, NOTIFICATION_PROFILES, ON_CALL_ROSTER, PROFILE_KEY_PREFIX, THROTTLING_DELAY, THROTTLING_ENABLED, THROTTLING_FREQUENCY, TIME_BETWEEN_NOTIFICATIONS
Constructor and Description |
---|
NotificationBlockPrototype() |
Modifier and Type | Method and 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() |
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.
|
createNewBlock, getBlockMutatingProperties, getFactoryId, getOutputs, getTitle, isSystemOnly
public javax.swing.Icon getIcon()
getIcon
in interface PipelineBlockPrototype
getIcon
in class AbstractBlockPrototype
public javax.swing.Icon getRolloverIcon()
getRolloverIcon
in interface PipelineBlockPrototype
getRolloverIcon
in class AbstractBlockPrototype
public javax.swing.Icon getSmallIcon()
getSmallIcon
in interface PipelineBlockPrototype
getSmallIcon
in class AbstractBlockPrototype
public javax.swing.JComponent createEditingUI(DesignerContext context, PropertySet block)
PipelineBlockPrototype
PipelineBlockEditor
to get callbacks on uninstallcreateEditingUI
in interface PipelineBlockPrototype
public boolean isPreviewPanelSupported()
PipelineBlockPrototype
isPreviewPanelSupported
in interface PipelineBlockPrototype
isPreviewPanelSupported
in class AbstractBlockPrototype
public java.util.Collection<Property<?>> getSearchableProperties(PropertySet block)
PipelineBlockPrototype
getSearchableProperties
in interface PipelineBlockPrototype
getSearchableProperties
in class AbstractBlockPrototype
block
- The block in questionpublic void initPreviewPanel(ObservablePropertySet block, javax.swing.JPanel panel)
PipelineBlockPrototype
initPreviewPanel
in interface PipelineBlockPrototype
initPreviewPanel
in class AbstractBlockPrototype