Examples of applyTo()


Examples of com.google.code.morphia.validation.MorphiaValidation.applyTo()

    }

    public Morphia createInstance(){
        Morphia morphia = new Morphia();
        MorphiaValidation morphiaValidation = new MorphiaValidation();
        morphiaValidation.applyTo(morphia);
        return morphia.mapPackage(packageName);
    }
}
View Full Code Here

Examples of com.google.gwt.user.client.ui.AbstractImagePrototype.applyTo()

       
    private String formatStatusIcon(XmppContactStatus status)
    {
      final AbstractImagePrototype icon = iconFromStatus(status);
      final Image iconImg = new Image();
      icon.applyTo(iconImg);
      return iconImg.toString();
    }
   
    private String formatStatus(XmppContactStatus status)
    {
View Full Code Here

Examples of com.gwtext.client.widgets.ToolTip.applyTo()

      String url = ServiceProvider.getRetrieveImageServletUrl( attachment.getMessageId(), attachment.getIndex(),
          true );
      tip.setHtml( "<img src=\"" + url + "\"/>" );
      tip.setWidth( 300 );
      tip.setHeight( 200 );
      tip.applyTo( this.getElement() );
    }
    ImageHyperlink downloadLink = new ImageHyperlink( new Image( GWT.getHostPageBaseURL()
        + ImageProvider.MSG_DOWNLOAD ) );
    downloadLink.addLeftButtonListener( new DownloadLeftButtonListener() );
    panel.add( downloadLink );
View Full Code Here

Examples of com.sun.star.text.XAutoTextEntry.applyTo()

        }
       
        oObj = oEntry;
       
        log.println("Trying to use XText as TextRange in the method applyTo");
        oEntry.applyTo(oTextRange);
       
        oTextRange = oText.createTextCursor();
        log.println("Trying to use XTextCursor as TextRange in the method applyTo");
        oEntry.applyTo(oTextRange);
       
View Full Code Here

Examples of com.sun.star.text.XAutoTextEntry.applyTo()

        log.println("Trying to use XText as TextRange in the method applyTo");
        oEntry.applyTo(oTextRange);
       
        oTextRange = oText.createTextCursor();
        log.println("Trying to use XTextCursor as TextRange in the method applyTo");
        oEntry.applyTo(oTextRange);
       
        log.println( "creating a new environment for AutoTextEntry object" );
        TestEnvironment tEnv = new TestEnvironment( oObj );
       
        // adding relation for XText
View Full Code Here

Examples of com.werken.xpath.XPath.applyTo()

    public List applyTo(String xpathSpec,
                        Document doc)
    {
        Runtime.info("XPathTool::applyTo(String, Document)");
        XPath xpath = new XPath( xpathSpec );
        return xpath.applyTo( doc );
    }

    /**
     * Apply an XPath to a JDOM Element
     *
 
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.AliasMap.applyTo()

      this.out.println("\td2rq:alias \"" + foreignTable.qualifiedName() + " AS " + aliasName + "\";");
      alias = AliasMap.create1(foreignTable, new RelationName(null, aliasName));
    }
    for (Attribute column: primaryColumns) {
      this.out.println("\td2rq:join \"" + column.qualifiedName() + " " + Join.joinOperators[foreignKey.joinDirection()] + " " +
          alias.applyTo(foreignKey.equalAttribute(column)).qualifiedName() + "\";");
    }
    createObjectProperty(foreignKey);
    this.out.println("\t.");
  }
View Full Code Here

Examples of net.sf.jeters.configuration.Configuration.applyTo()

    assert component != null;

    Configuration configuration = configurationMap.get(component.getClass());
    if (configuration != null) {
      configuration.applyTo(component);
    }
   
  }
 
  /**
 
View Full Code Here

Examples of net.sf.redmine_mylyn.core.RedmineTaskTimeEntryMapper.applyTo()

          mapper.setSpentOn(timeEntry.getSpentOn());
          mapper.setComments(timeEntry.getComments());
          mapper.setCustomValues(timeEntry.getCustomValues().getAll());
         
          taskAttribute = taskData.getRoot().createAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_PREFIX + mapper.getTimeEntryId());
          mapper.applyTo(taskAttribute, cfg);
        }
      }
     
    } 
      
View Full Code Here

Examples of nexj.core.meta.Aspect.applyTo()

            {
               Aspect aspect = pointcut.getAspect(i);

               if (m_aspectNameSet.contains(aspect.getName()))
               {
                  aspect.applyTo(pointcut, nPass);
               }
            }
         }

         protected Iterator getAspectIterator()
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.