// causes problems at runtime because sometimes the parameters
// are out of order, so there are dependency issues, or,
// in the case of the applet generator, the parameters depend
// on the value of Java system properties like ptolemy.ptII.directory
// which is not accessible because of security concerns.
RemoveGraphicalClasses removeGraphicalClasses = new RemoveGraphicalClasses();
// FIXME: Not sure why this is necessary, but it helps
// when generating an applet for moml/demo/spectrum.xml
// However, if we remove Location, then shallow CG of Wireless fails.
//removeGraphicalClasses.put("ptolemy.kernel.util.Location", null);
// shallow/test/IIRGUI.xml has a GeneratorTableauAttribute in it.
removeGraphicalClasses.put(
"ptolemy.copernicus.gui.GeneratorTableauAttribute", null);
// FIXME: If this is Deep codegen, then don't use Test, use CGTest
// because Test has a SharedParameter
// removeGraphicalClasses.put("ptolemy.actor.lib.Test",