Package org.cytoscape.filter.model
Interface ValidatableTransformer<C,E>
- All Superinterfaces:
Transformer<C,
E>
- All Known Implementing Classes:
AbstractValidatableTransformer
A marker interface that can be added to any
Transformer
to indicate
that the transformer may be invalid in certain contexts.
For example a ColumnFilter is invalid when the current network
does not contain the column referenced by the filter.
Validation runs whenever the context changes (for example when the current network changes)
or when the TransformerListener
s for this transformer are notified.-
Method Summary
Modifier and TypeMethodDescriptiondefault List<ValidationWarning>
Called whenever the context changes (for example when the current network changes) or when theTransformerListener
s for this transformer are notified.default List<ValidationWarning>
Called when a filter is created through a command.Methods inherited from interface org.cytoscape.filter.model.Transformer
addListener, getContextType, getElementType, getId, getName, removeListener
-
Method Details
-
validate
Called whenever the context changes (for example when the current network changes) or when theTransformerListener
s for this transformer are notified. -
validateCreation
Called when a filter is created through a command.
-