return name;
}
}
public static VisualStyle createVisualStyle(CustomStyle style){
StyleGeneric styleGen = null;
switch (style){
case DEFAULT_STYLE:
styleGen = new StyleDefault(style);
break;
case LAYOUT_STYLE:
styleGen = new StyleLayout(style);
break;
case GRN_STYLE:
styleGen = new StyleGRN(style);
break;
default:
CySBML.LOGGER.error("VisualStyle not supported by VisualStyleFactory -> " + style.toString());
return null;
}
return styleGen.createVisualStyle();
}