public void updateXAxis(String xAxisAttrName) { // pull applicable values from ML module List<String> xAxisCategories = MainController.getMainController().getValuesForAttribute(xAxisAttrName); documentGridLayout.updateXAxis(xAxisAttrName, xAxisCategories); // update the visual axis indicator as well docGridAxisLayout.docGridLayoutUpdated(); // m_vis.run("repaint"); // (don't yet run update actions, since the Controller may be // modifying multiple axes; let controller call updateView() itself once it's done updating the // attributes of the view) }