Examples of Locator


Examples of org.blueoxygen.postila.materialmanagement.materialmanagementrules.entity.Locator

    }
    if(hasErrors()){
      return INPUT;
    }
   
    Locator locator;
    if(getLocator().getId() == null || "".equalsIgnoreCase(getLocator().getId())){
      locator = new Locator();
      logInfo = new LogInformation();
      logInfo.setCreateBy(sessionCredentials.getCurrentUser().getId());
      logInfo.setCreateDate(new Timestamp(System.currentTimeMillis()));
    } else {
      locator = (Locator) manager.getById(ProductCategory.class, getLocator().getId());
      logInfo = locator.getLogInformation();
    }
    logInfo.setActiveFlag(getActive());
    logInfo.setLastUpdateBy(sessionCredentials.getCurrentUser().getId());
    logInfo.setLastUpdateDate(new Timestamp(System.currentTimeMillis()));
   
    locator.setLogInformation(logInfo);
    locator.setRelativePriority(getLocator().getRelativePriority());
    locator.setAisle(getLocator().getAisle());
    locator.setBin(getLocator().getBin());
    locator.setLevel(getLocator().getBin());
   

    manager.save(locator);
    setLocator(getLocator());
    return SUCCESS;
View Full Code Here

Examples of org.davic.net.Locator

        this.profiles = profiles;
        this.priority = priority;
        this.binding = AppBinding.fromId(binding);
        this.visibility = AppVisibility.fromId(visibility);
        this.names = names;
        this.iconLocator = new Locator(iconLocator);
        this.iconFlags = iconFlags;
        this.basePath = basePath;
        this.classpathExt = classpathExt;
        this.initialClass = initialClass;
        this.params = params;
View Full Code Here

Examples of org.eclipse.ui.internal.forms.widgets.Locator

    private Point computeTextSize(int wHint) {
      Paragraph[] paragraphs = model.getParagraphs();
      GC gc = new GC(FormText.this);
      gc.setFont(getFont());
      Locator loc = new Locator();
      int width = wHint != SWT.DEFAULT ? wHint : 0;
      FontMetrics fm = gc.getFontMetrics();
      int lineHeight = fm.getHeight();
      boolean selectableInTheLastRow = false;
      for (int i = 0; i < paragraphs.length; i++) {
View Full Code Here

Examples of org.w3c.css.sac.Locator

      jj_la1[51] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
     String ret;
     Locator loc = getLocator();
     ret=skipStatement();
     reportWarningSkipText(loc, ret);
     if ((ret != null) && (n.image.charAt(0) == '@')) {
         documentHandler.ignorableAtRule(ret);
     }
View Full Code Here

Examples of org.w3c.css.sac.Locator

*/
  final public void styleRule() throws ParseException {
    boolean start = false;
    SelectorList l = null;
    Token save;
    Locator loc;
    try {
      l = selectorList();
                        save = token;
      jj_consume_token(LBRACE);
      label_43:
View Full Code Here

Examples of org.w3c.css.sac.Locator

                                                      n.beginColumn,
                                                      prev, params);}
            } else {
                if (errorHandler != null) {
                    String errorText;
                    Locator loc;
                    if (i < 5) {
                        if (params == null) {
                            loc = new LocatorImpl(this, n.beginLine,
                                                  n.beginColumn-1);
                            errorText = "not enough parameters.";
View Full Code Here

Examples of org.xml.sax.Locator

  /**
   * Overrides {@link RDFParserBase#reportWarning(String)}, adding line- and
   * column number information to the error.
   */
  protected void reportWarning(String msg) {
    Locator locator = saxFilter.getLocator();
    if (locator != null) {
      reportWarning(msg, locator.getLineNumber(), locator.getColumnNumber());
    }
    else {
      reportWarning(msg, -1, -1);
    }
  }
View Full Code Here

Examples of org.xml.sax.Locator

   * column number information to the error.
   */
  protected void reportError(String msg)
    throws RDFParseException
  {
    Locator locator = saxFilter.getLocator();
    if (locator != null) {
      reportError(msg, locator.getLineNumber(), locator.getColumnNumber());
    }
    else {
      reportError(msg, -1, -1);
    }
  }
View Full Code Here

Examples of org.xml.sax.Locator

   * column number information to the error.
   */
  protected void reportFatalError(String msg)
    throws RDFParseException
  {
    Locator locator = saxFilter.getLocator();
    if (locator != null) {
      reportFatalError(msg, locator.getLineNumber(), locator.getColumnNumber());
    }
    else {
      reportFatalError(msg, -1, -1);
    }
  }
View Full Code Here

Examples of org.xml.sax.Locator

   * and column number information to the error.
   */
  protected void reportFatalError(Exception e)
    throws RDFParseException
  {
    Locator locator = saxFilter.getLocator();
    if (locator != null) {
      reportFatalError(e, locator.getLineNumber(), locator.getColumnNumber());
    }
    else {
      reportFatalError(e, -1, -1);
    }
  }
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.