Examples of createBinding()


Examples of org.apache.tapestry.binding.BindingSource.createBinding()

        IBinding binding = newBinding();
        MockControl sourcec = newControl(BindingSource.class);
        BindingSource source = (BindingSource) sourcec.getMock();

        source.createBinding(container, "parameter barney", "an-expression", "ognl", l);
        sourcec.setReturnValue(binding);

        component.getBinding("fred");
        componentc.setReturnValue(null);
View Full Code Here

Examples of org.apache.tapestry.portlet.bindings.UserAttributeBindingFactory.createBinding()

    {
        UserAttributeBindingFactory factory = new UserAttributeBindingFactory();
        factory.setValueConverter(converter);
        factory.setRequest(request);

        return factory.createBinding(null, bindingDescription, attributeName, location);
    }

    private Map newMap(String key, String value)
    {
        MockControl control = newControl(Map.class);
View Full Code Here

Examples of org.apache.wsdl.WSDLDescription.createBinding()

            Collection bindingCollection = bindingMap.values();
            for (Iterator iterator = bindingCollection.iterator(); iterator.hasNext();) {

                WSDLBinding binding = (WSDLBinding)iterator.next();

                WSDLBinding newBinding = wom.createBinding();
                newBinding.setName(AXIS_BINDING_QNAME);

                WSDLInterface boundInterface = binding.getBoundInterface();
                newBinding.setBoundInterface(boundInterface);
View Full Code Here

Examples of org.codehaus.xfire.service.Binding.createBinding()

        for (Iterator itr = service.getBindings().iterator(); itr.hasNext();)
        {
            Binding binding = (Binding) itr.next();

            javax.wsdl.Binding wbinding = binding.createBinding(this, portType);

            Port port = binding.createPort(this, wbinding);
            if (port != null)
            {
                wsdlService.addPort(port);
View Full Code Here

Examples of org.objectstyle.wolips.bindings.api.Wo.createBinding()

          ApiModel apiModel = new ApiModel(apiFile);
          Wo wo = apiModel.getWo();
          for (BindingValueKey binding : bindingKeys) {
            if (!BindingReflectionUtils.isSystemBindingValueKey(binding, true)) {
              String bindingName = binding.getBindingName();
              wo.createBinding(bindingName);
            }
          }
          apiModel.saveChanges();
        }
      }
View Full Code Here

Examples of org.pentaho.ui.xul.binding.BindingFactory.createBinding()

    if (previewElement != null)
    {
      final BindingFactory singleSourceBinding = new DefaultBindingFactory();
      singleSourceBinding.setBindingType(Binding.Type.ONE_WAY);
      singleSourceBinding.setDocument(doc);
      singleSourceBinding.createBinding(wrapper, "preview", "preview", "value");//NON-NLS
    }

    // we manage the binding between the table and the outside world manually
    wrapper.refresh();
    final XulComponent paramTableElement = doc.getElementById("parameter-table");//NON-NLS
View Full Code Here

Examples of org.pentaho.ui.xul.binding.BindingFactory.createBinding()

          }

        });
       
        bf.setBindingType(Binding.Type.ONE_WAY);
        bf.createBinding(connectionModel, "schemaLocked", extension, "!enabled");
       
//        extension.onLoad();
      } catch (XulException e) {
        logger.error("Error loading Schema Provider Overlay", e);
      }
View Full Code Here

Examples of org.pentaho.ui.xul.binding.BindingFactory.createBinding()

      }
    }

    bf.setBindingType(Binding.Type.BI_DIRECTIONAL);

    bf.createBinding(workspace, "applicationUnlocked", "open_advisor", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "open_export", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "agg_add_btn", "!disabled");
    bf.createBinding(connectionModel, "cubeNames", "cubeSelector", "elements");
    bf.createBinding(connectionModel, "cubeName", "cubeSelector", "selectedItem");
View Full Code Here

Examples of org.pentaho.ui.xul.binding.BindingFactory.createBinding()

    }

    bf.setBindingType(Binding.Type.BI_DIRECTIONAL);

    bf.createBinding(workspace, "applicationUnlocked", "open_advisor", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "open_export", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "agg_add_btn", "!disabled");
    bf.createBinding(connectionModel, "cubeNames", "cubeSelector", "elements");
    bf.createBinding(connectionModel, "cubeName", "cubeSelector", "selectedItem");

    bf.setBindingType(Binding.Type.ONE_WAY);
View Full Code Here

Examples of org.pentaho.ui.xul.binding.BindingFactory.createBinding()

    bf.setBindingType(Binding.Type.BI_DIRECTIONAL);

    bf.createBinding(workspace, "applicationUnlocked", "open_advisor", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "open_export", "!disabled");
    bf.createBinding(workspace, "applicationUnlocked", "agg_add_btn", "!disabled");
    bf.createBinding(connectionModel, "cubeNames", "cubeSelector", "elements");
    bf.createBinding(connectionModel, "cubeName", "cubeSelector", "selectedItem");

    bf.setBindingType(Binding.Type.ONE_WAY);
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.