public class ExpressionBlockPrototype extends AbstractBlockPrototype
blockTitle, COMMON_OUTPUT_DESCRIPTOR, factoryId
Constructor and Description |
---|
ExpressionBlockPrototype() |
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
createEditingUI(DesignerContext context,
PropertySet block)
Create a new editing UI for the given block.
|
javax.swing.Icon |
getIcon() |
java.util.List<OutputDescriptor> |
getOutputs(ObservablePropertySet block) |
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, 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.JPanel createEditingUI(DesignerContext context, PropertySet block)
PipelineBlockPrototype
PipelineBlockEditor
to get callbacks on uninstallpublic 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
public java.util.List<OutputDescriptor> getOutputs(ObservablePropertySet block)
getOutputs
in interface PipelineBlockPrototype
getOutputs
in class AbstractBlockPrototype
public java.util.Collection<Property<?>> getSearchableProperties(PropertySet block)
PipelineBlockPrototype
getSearchableProperties
in interface PipelineBlockPrototype
getSearchableProperties
in class AbstractBlockPrototype
block
- The block in question