@Override protected final GeoElement[] perform(Command c) throws MyError { int n = c.getArgumentNumber(); GeoElement arg2[]; switch (n) { case 2: arg2 = resArgs(c); if (arg2[1].isGeoBoolean()) { GeoElement geo = arg2[0]; try { geo.setShowObjectCondition((GeoBoolean) arg2[1]); } catch (CircularDefinitionException e) { e.printStackTrace(); throw argErr(app, c.getName(), arg2[1]); } geo.updateRepaint(); return new GeoElement[0]; } throw argErr(app, c.getName(), arg2[1]); default: throw argNumErr(app, c.getName(), n); } }