Ejemplo n.º 1
0
  public void showViewUI() {

    if (!isDialogShowing) {
      rc.setRenderActive(false);
      new ViewEntityUI(new PUICallback(), entities).setVisible(true);
      isDialogShowing = true;
    }
  }
Ejemplo n.º 2
0
  public void showEntityUI() {

    if (scriptUI.getScriptProgram().findFunction(TestNode.COLL_FUNC_NAME) == null) {
      JOptionPane.showMessageDialog(null, "Can't find script function: " + TestNode.COLL_FUNC_NAME);
      return;
    }

    if (!isDialogShowing) {
      rc.setRenderActive(false);
      new AddEntityUI().setVisible(true);
      isDialogShowing = true;
    }
  }