Examples of apply()


Examples of com.projity.graphic.configuration.BarStyles.apply()

  }

  public void paintLink(Graphics2D g2, GraphicDependency dependency){
    BarStyles barStyles = graphInfo.getBarStyles();
    linkRenderer.initialize(g2,dependency);
    barStyles.apply(dependency,linkRenderer,true,false,false, false);
  }

 
 
  protected GeneralPath getShape(GraphicNode node){
View Full Code Here

Examples of com.puppetlabs.xtext.dommodel.RegionMatch.apply()

    if(match.isInside()) {
      if(match.isContained() && !context.isWhitespacePreservation())
        flow.appendText(o.getText(), true);
      else
        // output the part of the text that is inside the region as verbatim text
        flow.appendText(match.apply().getFirst(), true);
    }
    return true;
  }

  protected void changeInlineStyle(IDomNode node, boolean set) {
View Full Code Here

Examples of com.python.pydev.analysis.CtxInsensitiveImportComplProposal.apply()

        }

        for (ICompletionProposalExtension2 comp : completionsToApply) {
            int offset = 0; //the offset is not used in this case, because the actual completion does nothing,
                            //we'll only add the import.
            comp.apply(edit.getPySourceViewer(), ' ', 0, offset);
        }

        return true;

    }
View Full Code Here

Examples of com.rapleaf.jack.queries.where_operators.IWhereOperator.apply()

      boolean allMatch = true;
      for (WhereConstraint constraint : constraints) {

        Enum field = constraint.getField();
        IWhereOperator operator = constraint.getOperator();
        allMatch = allMatch && operator.apply(record.getField(field.name()));
      }
      if (ids != null && !ids.isEmpty() && !ids.contains(record.getId())) {
        allMatch = false;
      }
      T newRecord = record.getCopy();
View Full Code Here

Examples of com.salesforce.phoenix.schema.ColumnModifier.apply()

        ScanRanges scanRanges = context.getScanRanges();
        PDataType type = scanRanges.getSchema().getField(slotIndex).getDataType();
        ColumnModifier modifier = tableRef.getTable().getPKColumns().get(slotIndex).getColumnModifier();
        if (modifier != null) {
            buf.append('~');
            range = modifier.apply(range, 0, new byte[range.length], 0, range.length);
        }
        Format formatter = context.getConnection().getFormatter(type);
        buf.append(type.toStringLiteral(range, formatter));
    }
   
View Full Code Here

Examples of com.sk89q.worldedit.math.transform.CombinedTransform.apply()

                maximum.setX(minimum.getX()),
                maximum.setY(minimum.getY()),
                maximum.setZ(minimum.getZ()) };

        for (int i = 0; i < corners.length; i++) {
            corners[i] = transformAround.apply(corners[i]);
        }

        Vector newMinimum = corners[0];
        Vector newMaximum = corners[0];
View Full Code Here

Examples of com.sk89q.worldedit.math.transform.Transform.apply()

                maximum.setX(minimum.getX()),
                maximum.setY(minimum.getY()),
                maximum.setZ(minimum.getZ()) };

        for (int i = 0; i < corners.length; i++) {
            corners[i] = transformAround.apply(corners[i]);
        }

        Vector newMinimum = corners[0];
        Vector newMaximum = corners[0];
View Full Code Here

Examples of com.sos.scheduler.engine.kernel.event.EventPredicate.apply()

    public final void expectEvent(EventExpectation expect) {
        expectEventCount++;
        EventPredicate p = expect.getPredicate();
        Event e = enterEventHandling(expect.getTimeout());
        try {
            if (!p.apply(e)) throw UnexpectedEventException.of(e, p, expectEventCount);
            if (e instanceof ExceptionEvent) {
                ExceptionEvent xe = (ExceptionEvent)e;
                throw new SchedulerException("Error while polling event: " + xe.getException(), xe.getException() );
            }
View Full Code Here

Examples of com.sun.corba.se.impl.orb.ParserAction.apply()

        Map map = new HashMap() ;
        Iterator iter = actions.iterator() ;
        while (iter.hasNext()) {
            ParserAction act = (ParserAction)(iter.next()) ;

            Object result = act.apply( props ) ;

            // A null result means that the property was not set for
            // this action, so do not override the default value in this case.
            if (result != null)
                map.put( act.getFieldName(), result ) ;
View Full Code Here

Examples of com.sun.facelets.Facelet.apply()

        FaceletFactory f = FaceletFactory.getInstance();
        Facelet at = f.getFacelet(viewId);
        UIViewRoot root = facesContext.getViewRoot();

        root.setViewId(viewId);
        at.apply(facesContext, root);
    }

    protected void preRenderView() throws Exception {
        StringBuilder builder = new StringBuilder("<script type='text/javascript'>");
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.