public class LegacyNotificationPrototype extends AbstractBlockPrototype
blockTitle, COMMON_OUTPUT_DESCRIPTOR, factoryId
Constructor and Description |
---|
LegacyNotificationPrototype() |
Modifier and Type | Method and 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.
|
createNewBlock, getBlockMutatingProperties, getFactoryId, getIcon, getRolloverIcon, getSearchableProperties, getSmallIcon, getTitle
public javax.swing.JComponent createEditingUI(DesignerContext context, PropertySet block)
PipelineBlockPrototype
PipelineBlockEditor
to get callbacks on uninstallpublic boolean isSystemOnly()
PipelineBlockPrototype
isSystemOnly
in interface PipelineBlockPrototype
isSystemOnly
in class AbstractBlockPrototype
public java.util.List<OutputDescriptor> getOutputs(ObservablePropertySet block)
getOutputs
in interface PipelineBlockPrototype
getOutputs
in class AbstractBlockPrototype
public boolean isPreviewPanelSupported()
PipelineBlockPrototype
isPreviewPanelSupported
in interface PipelineBlockPrototype
isPreviewPanelSupported
in class AbstractBlockPrototype
public void initPreviewPanel(ObservablePropertySet block, javax.swing.JPanel panel)
PipelineBlockPrototype
initPreviewPanel
in interface PipelineBlockPrototype
initPreviewPanel
in class AbstractBlockPrototype