public interface ValidatableTransformer<C,E> extends Transformer<C,E>
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.Modifier and Type | Method and Description |
---|---|
List<ValidationWarning> |
validate(C context)
Called whenever the context changes (for example when the current network changes)
or when the
TransformerListener s for this transformer are notified. |
addListener, getContextType, getElementType, getId, getName, removeListener
List<ValidationWarning> validate(C context)
TransformerListener
s for this transformer are notified.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.