/** * If this EditableOMGraphic has parameters that can be manipulated that are independent of other * EditableOMGraphic types, then you can provide the widgets to control those parameters here. By * default, returns the GraphicAttributes GUI widgets. If you don't want a GUI to appear when a * widget is being created/edited, then don't call this method from the EditableOMGraphic * implementation, and return a null Component from getGUI. * * @param graphicAttributes the GraphicAttributes to use to get the GUI widget from to control * those parameters for this EOMG. * @return Component to use to control parameters for this EOMG. */ public Component getGUI(GraphicAttributes graphicAttributes) { if (graphicAttributes != null) { graphicAttributes.setLineMenuAdditions(null); return graphicAttributes.getGUI(); } return null; }