Examples of help()


Examples of cero.ui.commandline.Command.help()

  @Override
  public boolean executer(String parametres) {
    Command help = CommandLineLauncher.getCommands().getCommandeCorrespondante(parametres);
    if(help==null)
      return false;
    System.out.println(help.help());
    return true;
  }

  @Override
  public String help() {
View Full Code Here

Examples of net.mlw.vlh.web.util.DisplayHelper.help()

      DisplayHelper displayHelper = rootTag.getConfig().getDisplayHelper();

      sb.append("\n  <td>");
      if (info.getFocusStatus() == ValueListInfo.FOCUS_NOT_FOUND)
      {
         sb.append(displayHelper.help(pageContext, message.getMessage("focusStatus.notFound", new String[]
         { info.getFocusValue() }, local)));
      }
      else
      {
         if (info.getFocusStatus() == ValueListInfo.FOCUS_TOO_MANY_ITEMS)
View Full Code Here

Examples of net.mlw.vlh.web.util.DisplayHelper.help()

      }
      else
      {
         if (info.getFocusStatus() == ValueListInfo.FOCUS_TOO_MANY_ITEMS)
         {
            sb.append(displayHelper.help(pageContext, message.getMessage("focusStatus.tooManyItems", null, local)));
         }
      }
      sb.append("</td>");
      String delim = displayHelper.help(pageContext, message.getMessage("paging.delim", null, "", local));
      if (delim.length() > 0)
View Full Code Here

Examples of net.mlw.vlh.web.util.DisplayHelper.help()

         {
            sb.append(displayHelper.help(pageContext, message.getMessage("focusStatus.tooManyItems", null, local)));
         }
      }
      sb.append("</td>");
      String delim = displayHelper.help(pageContext, message.getMessage("paging.delim", null, "", local));
      if (delim.length() > 0)
      {
         sb.append(delim);
      }
      return sb;
View Full Code Here

Examples of net.sourceforge.argparse4j.inf.Argument.help()

            ap.parseArgs(new String[]{});
            fail();
        } catch(ArgumentParserException e) {
            assertEquals("one of the arguments -b is required", e.getMessage());
        }
        b.help(Arguments.SUPPRESS);
        try {
            ap.parseArgs(new String[]{});
            fail();
        } catch(ArgumentParserException e) {
            assertEquals("one of the arguments is required", e.getMessage());
View Full Code Here

Examples of net.sourceforge.argparse4j.inf.Subparser.help()

        ap.addArgument("-2").metavar("X").nargs("*").help(h);
        ap.addArgument("-3").metavar("X").nargs("+").help(h);
        ap.addArgument("-4").metavar("X").nargs("?").help(h);
        Subparsers subparsers = ap.addSubparsers().help("sub-command help");
        Subparser parserA = subparsers.addParser("install");
        parserA.help("parserA help");
        Subparser parserB = subparsers.addParser("search");

        // StringWriter out = new StringWriter();
        ap.printHelp(new PrintWriter(System.out));
    }
View Full Code Here

Examples of org.boco.seamwebappgen.annotations.ShowInForm.help()

            {
              attr.addLabel(annotation.labels()[i]);
            }
          }

          attr.setHelp(annotation.help());
          attr.setRequired(annotation.required());
        }
        else
        {
          attr.setOrderInForm(0);
View Full Code Here

Examples of org.goobi.production.plugin.interfaces.ICommandPlugin.help()

  private void generateHelp(HttpServletResponse resp) throws IOException {
    String allHelp = "";
    List<IPlugin> mycommands = PluginLoader.getPluginList(PluginType.Command);
    for (IPlugin iPlugin : mycommands) {
      ICommandPlugin icp = (ICommandPlugin) iPlugin;
      allHelp += "<h4>" + icp.help().getTitle() + "</h4>" + icp.help().getMessage() + "<br/><br/>";
    }
    generateAnswer(resp, 200, "Goobi Web API Help", allHelp);
  }

  private void generateAnswer(HttpServletResponse resp, int status, String title, String message) throws IOException {
View Full Code Here

Examples of org.goobi.production.plugin.interfaces.ICommandPlugin.help()

  private void generateHelp(HttpServletResponse resp) throws IOException {
    String allHelp = "";
    List<IPlugin> mycommands = PluginLoader.getPluginList(PluginType.Command);
    for (IPlugin iPlugin : mycommands) {
      ICommandPlugin icp = (ICommandPlugin) iPlugin;
      allHelp += "<h4>" + icp.help().getTitle() + "</h4>" + icp.help().getMessage() + "<br/><br/>";
    }
    generateAnswer(resp, 200, "Goobi Web API Help", allHelp);
  }

  private void generateAnswer(HttpServletResponse resp, int status, String title, String message) throws IOException {
View Full Code Here

Examples of org.internna.iwebmvc.metadata.ui.EntityFilter.help()

        filter.setPath(field.getName());
        EntityFilter entityFilter = field.getAnnotation(EntityFilter.class);
        filter.setRange(entityFilter.range());
        filter.setType(entityFilter.type());
        if (EntityFilter.WIDGET_TYPE.EMBEDDED.equals(filter.getType())) filter.setSubfilters(getSubFilters(field));
        filter.setHelp(entityFilter.help());
        String[] values = entityFilter.values();
        if ((values != null) && (values.length > 0)) filter.setValues(Arrays.asList(values));
        if (logger.isDebugEnabled()) logger.debug("Adding filter [" + filter + "] to view");
        return filter;
    }
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.