@Override
public int supportsParameters(ParameterBlock params) {
Object model = params.getSubBlockValue(AbstractModelWindowFactory.MODEL);
if (params.getSubBlockValue(AbstractModelWindowFactory.MODEL) instanceof ISymbolicCAModel) {
ISymbolicCAModel scam = (ISymbolicCAModel) model;
if (scam == null || scam.getAsDataStructure() == null) {
return 0;
}
ISymbolicCAModelInformation modelInfo = scam.getAsDataStructure();
if (modelInfo.isWolfram()) {
return 1;
}
}