Examples of apply()


Examples of org.apache.uima.ruta.RutaBlock.apply()

    }
    List<AnnotationFS> matchedAnnotationsOf = match.getMatchedAnnotationsOf(element);
    for (AnnotationFS annotationFS : matchedAnnotationsOf) {
      RutaStream windowStream = stream.getWindowStream(annotationFS,
              stream.getDocumentAnnotationType());
      ScriptApply apply = block.apply(windowStream, crowd);
      match.addDelegateApply(this, apply);
    }

  }
View Full Code Here

Examples of org.brixcms.web.model.ModelBuffer.apply()

                // populate node
                ResourceNode resource = (ResourceNode) getContainer().getSession().getItem(
                        node.getPath());
                model.setObject(new BrixNodeModel(resource));
                model.apply();

                getContainer().save();

                // done
                getSession().info(getString("saved"));
View Full Code Here

Examples of org.bukkit.potion.Potion.apply()

                Potion pot = new Potion(type);
                pot.setLevel(data1.asInt());
                if (!pot.getType().isInstant())
                    pot.setHasExtendedDuration(data2.asBoolean());
                pot.setSplash(data3.asBoolean());
                pot.apply(item.getItemStack());
            }
        }

    }
}
View Full Code Here

Examples of org.bukkit.potion.PotionEffect.apply()

        for (dEntity entity : entities) {
            if (entity.getLivingEntity().hasPotionEffect(effect))
                entity.getLivingEntity().removePotionEffect(effect);
            if (remove) continue;
            PotionEffect potion = new PotionEffect(effect, duration.getTicksAsInt(), amplifier);
            if (!potion.apply(entity.getLivingEntity()))
                dB.echoError(scriptEntry.getResidingQueue(), "Bukkit was unable to apply '" + potion.getType().getName() + "' to '" + entity.toString() + "'.");
        }
    }
}
View Full Code Here

Examples of org.codehaus.swizzle.stream.StringTemplate.apply()

            contextData.put("interfaceType.xmlNameCc", type.getXmlNameCc());
            contextData.put("interfaceType.openejbLegacyName", type.getOpenejbLegacy());
            contextData.put("interfaceClass", interfce.getName());
            contextData.put("interfaceClass.simpleName", interfce.getSimpleName());
            contextData.put("interfaceClass.packageName", packageName(interfce));
            return template.apply(contextData);
        }
    }

    public static class LegacyAddedSuffixStrategy implements JndiNameStrategy {
        private DeploymentInfo deploymentInfo;
View Full Code Here

Examples of org.cytoscape.view.vizmap.VisualStyle.apply()

      CyNetworkView netView = resultsPanel.getNetworkView();

      if ((netView != null) &&
        (this.visualMappingMgr.getVisualStyle(netView) == appStyle)) {
        appStyle.apply(netView);
        netView.updateView();
      }
    }
  }
}
View Full Code Here

Examples of org.damour.base.client.ui.admin.EditGroupPanel.apply()

        return true;
      }
    });
    editGroupDialogBox.setCallback(new IDialogCallback() {
      public void okPressed() {
        if (!editGroupPanel.apply()) {
          editGroupDialogBox.center();
        }
      }

      public void cancelPressed() {
View Full Code Here

Examples of org.damour.base.client.ui.repository.properties.PropertiesPanel.apply()

        };
        final PropertiesPanel propertiesPanel = new PropertiesPanel(permissibleObject, null, VIEW.GENERAL);
        dialogBox.setContent(propertiesPanel);
        dialogBox.setCallback(new IDialogCallback() {
          public void okPressed() {
            propertiesPanel.apply(callback);
          }

          public void cancelPressed() {
          }
        });
View Full Code Here

Examples of org.destecs.script.ast.expressions.PExp.apply()

  private boolean checkWhenFor(AWhenStm node) throws Throwable
  {
    PExp forExp = whenForExp.get(node);
    if (forExp != null)
    {
      Value v = forExp.apply(expEval);
      return (v instanceof BooleanValue && ((BooleanValue) v).value);
    }
    return false;
  }
 
View Full Code Here

Examples of org.eclipse.e4.xwt.IStyle.apply()

            if (value instanceof Style) {
              Style style = (Style) value;
              Class<?> targetType = style.getTargetType();
              if (targetType != null
                  && targetType.isInstance(widget)) {
                style.apply(targetObject);
              }
            }
          }
        }
        current = UserData.getParent(current);
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.