Examples of addBinding()


Examples of at.bestsolution.efxclipse.runtime.bindings.e4.internal.BindingTable.addBinding()

    Binding keyBinding = createBinding(bindingContext,
        binding.getCommand(), binding.getParameters(),
        binding.getKeySequence(), binding);
    if (keyBinding != null) {
      if (add) {
        table.addBinding(keyBinding);
      } else {
        table.removeBinding(keyBinding);
      }
    }
  }
View Full Code Here

Examples of com.google.gwt.inject.rebind.GinjectorBindings.addBinding()

  public void testOneNode() throws Exception {
    GinjectorBindings root = createInjectorNode("root");
    Binding fooBinding = expectCreateBinding(foo(), required(foo(), bar()), required(foo(), baz()));
    bind(bar(), root);
    bind(baz(), root);
    root.addBinding(foo(), fooBinding);
       
    replayAndResolve(root, required(Dependency.GINJECTOR, foo()));
  }
  public void testDependencyInOtherChild() throws Exception {
View Full Code Here

Examples of com.hp.hpl.jena.sparql.algebra.Table.addBinding()

        // combination a single row must be produced
        for (Var v : possibleValues.keySet()) {
            for (NodeValue value : possibleValues.get(v)) {
                BindingMap b = BindingFactory.create();
                b.add(v, value.asNode());
                table.addBinding(b);
            }
        }
        return table;
    }
}
View Full Code Here

Examples of com.hp.hpl.jena.sparql.algebra.table.TableN.addBinding()

        TableN r = new TableN() ;
        for ( ; left.hasNext() ; )
        {
            Binding b = left.nextBinding() ;
            if ( tableRight.contains(b) )
                r.addBinding(b) ;
        }
        tableLeft.close() ;
        tableRight.close() ;
        return r ;
    }
View Full Code Here

Examples of com.sk89q.worldedit.util.command.parametric.ParametricBuilder.addBinding()

        // Set up the commands manager
        ParametricBuilder builder = new ParametricBuilder();
        builder.setAuthorizer(new ActorAuthorizer());
        builder.setDefaultCompleter(new UserCommandCompleter(platformManager));
        builder.addBinding(new WorldEditBinding(worldEdit));
        builder.addExceptionConverter(new WorldEditExceptionConverter(worldEdit));
        builder.addInvokeListener(new LegacyCommandsHandler());
        builder.addInvokeListener(new CommandLoggingHandler(worldEdit, commandLog));

        dispatcher = new CommandGraph()
View Full Code Here

Examples of com.xmlcalabash.model.Input.addBinding()

                pipeline.addInput(pInput);

                PipeNameBinding pnb = new PipeNameBinding(runtime, output.getNode());
                pnb.setStep(step.getName());
                pnb.setPort(output.getPort());
                pInput.addBinding(pnb);

                pipeline.addOutput(pOutput);

                atomicReplacement.addOutput(output);
            }
View Full Code Here

Examples of edu.cmu.relativelayout.RelativeConstraints.addBinding()

    // RelativePosition twelvePixelsFromRight = new
    // RelativePosition(RelativePosition.Edge.RIGHT, 12,
    // RelativePosition.Direction.LEFT, RelativePosition.Edge.RIGHT);

    RelativeConstraints cornerConstraint = new RelativeConstraints();
    cornerConstraint.addBinding(twelvePixelsFromLeft);
    cornerConstraint.addBinding(twelvePixelsFromTop);

    RelativeConstraints buttonConstraint = new RelativeConstraints();
    buttonConstraint.addBinding(verticallyCentered);
    // buttonConstraint.addRelation(twelvePixelsToTheRightOf, corner);
View Full Code Here

Examples of it.eng.spagobi.tools.dataset.bo.IDataSet.addBinding()

      while(it.hasNext()) {
        String attributeName = (String)it.next();
        Object attributeValue = profile.getUserAttribute(attributeName);
        userAttributes.put(attributeName, attributeValue);
      }
      dataSet.addBinding("attributes", userAttributes);
      dataSet.addBinding("parameters", engineInstance.getEnv());
      dataSet.loadData(start, limit, (maxSize == null? -1: maxSize.intValue()));
       
      dataStore = dataSet.getDataStore();
      Assert.assertNotNull(dataStore, "The dataStore returned by loadData method of the class [" + dataSet.getClass().getName()+ "] cannot be null");
View Full Code Here

Examples of javax.wsdl.Definition.addBinding()

        }
       
        iter = definition.getAllBindings().values().iterator();
        while (iter.hasNext()) {
            Binding binding = (Binding)iter.next();
            def.addBinding(binding);
        }
        iter = definition.getAllServices().values().iterator();
        while (iter.hasNext()) {
            Service service = (Service)iter.next();
            def.addService(service);
View Full Code Here

Examples of mindnotes.client.presentation.KeyboardShortcuts.addBinding()

  @Test
  public void testKeyboardBindings() {
    KeyboardShortcuts ks = new KeyboardShortcuts();
    final Flag flag = new Flag();
    ks.addBinding(new KeyBinding('Z', true, false, false, new Command() {

      @Override
      public void execute() {
        flag.up();
      }
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.