Examples of showError()


Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

          .format("Unexpected error occurred while creating algorithm \"%s\".",
              algorithmName);
      GUIBuilderService builder = (GUIBuilderService) ciContext
          .getService(GUIBuilderService.class.getName());
      // TODO: This is where uncaught exceptions are displayed.
      builder.showError("Error!", errorMessage, e);
      log(LogService.LOG_ERROR, errorMessage, e);

      return null;
    }
  }
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

      GUIBuilderService builder = (GUIBuilderService) this.ciShellContext
          .getService(GUIBuilderService.class.getName());
      String errorMessage = String
          .format("An unxpected error occurred while executing the algorithm \"%s\".",
              algorithmName);
      builder.showError("Error!", errorMessage, e);
    }

    return outData;
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.FormItem.showError()

            break;
          case FormItemDependencyRuleImpl.MAKE_WRITABLE:
            element.setEnabled(true);
            break;
          case FormItemDependencyRuleImpl.HIDE_ERROR:
            element.showError(false);
            break;
          case FormItemDependencyRuleImpl.RESET:
            element.reset();
            break;
          default:
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.TextElement.showError()

  }
 
  private void addNewFormCheckpoint(int index, Checkpoint checkpoint) {
    // add checkpoint title
    TextElement title = uifactory.addTextElement("title" + counter, null, -1, checkpoint.getTitle(), titleContainer);
    title.showError(false);//TODO:SK:2009-11-20:PB:should be default -> check layout in velocity.
    title.setDisplaySize(20);
    title.setMandatory(true);
    title.setNotEmptyCheck("cl.table.title.error");//TODO:Stefan Köber: please verify that the default not empty check does the same as you ItemValidatorProvider
    title.setUserObject(checkpoint);
    titleInputList.add(index, title);
View Full Code Here

Examples of trader.test.ui.console.Console.showError()

        Console.addInfo("Test Test 123 SMALL large");
        Console.addDebug("Test Test 123 SMALL large");
        Console.addWarning("Test Test 123 SMALL large");
        Console.addError("Test Test 123 SMALL large");
        console.showInfo(false);
        console2.showError(false);
        add(splitPaneHor);
    }

}
View Full Code Here

Examples of ua.vydai.chat.client.view.interfaces.ClientView.showError()

                model.submitMessage(msg);
            }
        } else if (event.getActionCommand().equals(ClientView.ACTION_CONNECT)) {
            String username = view.getUsername().trim();
            if (username.length() == 0) {
                view.showError("Username can't be empty");
                return;
            }
            String host = view.getHost().trim();
            int port;
            try {
View Full Code Here

Examples of ua.vydai.chat.client.view.interfaces.ClientView.showError()

            String host = view.getHost().trim();
            int port;
            try {
                port = Integer.parseInt(view.getPort());
            } catch (NumberFormatException e) {
                view.showError("Port should contain only digits");
                return;
            }
            if (port < 1024 || port > 65536) {
                view.showError("Port must be between 1024 and 65536");
                return;
View Full Code Here

Examples of ua.vydai.chat.client.view.interfaces.ClientView.showError()

            } catch (NumberFormatException e) {
                view.showError("Port should contain only digits");
                return;
            }
            if (port < 1024 || port > 65536) {
                view.showError("Port must be between 1024 and 65536");
                return;
            }
            model.connect(username, host, port);
        } else if (event.getActionCommand().equals(ClientView.ACTION_DISCONNECT)) {
            model.disconnect();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.