public void editObjects(GuiUserEvent event) { GuiWindow win; try { win = GuiFactory.getInstance().createWindow("gui/Object.xml"); win.setController(this); win.show(); } catch (GDLParseException e) { e.printStackTrace(); } }
public void editExpr(GuiUserEvent event) { GuiWindow win; try { win = GuiFactory.getInstance().createWindow("gui/Expression.xml"); win.setController(this); win.show(); } catch (GDLParseException ex) { logger.error(ex.getMessage(), ex); GuiUtil.showMessage(event.window, "Error", "Error", ex.getMessage()); } }