345346347348349350351352353354355
request.setUndoable(true); toplevel.requestChange(request); try { request.waitForCompletion(); } catch (Exception ex) { ex.printStackTrace(); throw new GraphException(ex); } }
495496497498499500501502503504505
ChangeRequest request = new MoMLChangeRequest(this, toplevel, moml); toplevel.requestChange(request); try { request.waitForCompletion(); } catch (Exception ex) { throw new GraphException(ex); } } }