* object lets you set some of the initial parameters of the
* point, like point type and rendertype.
*/
public EditableOMGraphic getEditableGraphic(String classname,
GraphicAttributes ga) {
EditableOMGraphic eomg = getEditableGraphic(classname);
if (eomg != null && ga != null) {
// This is a little redundant - the graphic is created
// with the call to getEditableGraphic(classname), but is
// then destroyed and created again with the
// GraphicAttributes settings. I'm not sure how to get
// around this at this point in a generic fashion. Before
// the AbstractToolLoader was created, each EditToolLoader
// called the EditableOMGraphic constructor with the
// GraphicAttributes as an argument. Hard to do when you
// only have a editableClassName.
eomg.createGraphic(ga);
}
return null;
}