Пример #1
0
 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();
   }
 }
Пример #2
0
 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());
   }
 }