if (name.equalsIgnoreCase("complex")) {
if(opNode instanceof RenderedOp) {
RenderedOp op = (RenderedOp)opNode;
ParameterBlock pb = op.getParameterBlock();
DFTDataNature dataNature =
(DFTDataNature)pb.getObjectParameter(1);
return dataNature.equals(IDFTDescriptor.COMPLEX_TO_REAL) ?
Boolean.FALSE : Boolean.TRUE;
} else if(opNode instanceof RenderableOp) {
RenderableOp op = (RenderableOp)opNode;
ParameterBlock pb = op.getParameterBlock();
DFTDataNature dataNature =
(DFTDataNature)pb.getObjectParameter(1);
return dataNature.equals(IDFTDescriptor.COMPLEX_TO_REAL) ?
Boolean.FALSE : Boolean.TRUE;
}
}
return java.awt.Image.UndefinedProperty;