Esempio n. 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();
   }
 }
Esempio n. 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());
   }
 }
Esempio n. 3
0
 private ObjectItemGui() {
   sv = ServiceFactory.getLocalService();
   // sv = ServiceFactory.getSOAP_Service("http://pk86.de:8004/bitdemo.wsdl");
   // sv = ServiceFactory.getSpringService();
   // sv = ServiceFactory.getSOAP_Service("http://localhost:8004/bf.wsdl");
   GuiFactory fact = GuiFactory.getInstance();
   GuiUtil.setUiManager("Nimbus");
   try {
     GuiWindow win = fact.createWindow("gui/Expression.xml");
     win.setController(this);
     win.show();
   } catch (Exception ex) {
     logger.error(ex.getMessage(), ex);
     GuiUtil.showEx(ex);
   }
 }