Examples of PropertyBinding


Examples of org.jboss.as.console.client.widgets.forms.PropertyBinding

    }

    // If singleton attribute, such as "/transaction/TRANSACTION/foo-attribute",
    // singleton name will be the first name in the path.
    private String singletonName(String javaName) {
        PropertyBinding binding = formMetaData.findAttribute(javaName);
        String[] splitDetypedName = binding.getDetypedName().split("/");
        return splitDetypedName[0];
    }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.PropertyBinding

    }

    // If singleton attribute, such as "/transaction/TRANSACTION/foo-attribute",
    // singleton name will be the last name in the path.
    private String attributeName(String javaName) {
        PropertyBinding binding = formMetaData.findAttribute(javaName);
        String[] splitDetypedName = binding.getDetypedName().split("/");
        return splitDetypedName[splitDetypedName.length - 1];
    }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.PropertyBinding

        if (!prop.isFlattened()) return false;

        String detypedName = prop.getDetypedName();
        String attributePath = detypedName.substring(0, detypedName.lastIndexOf("/"));
        for (String javaName : changedValues.keySet()) {
            PropertyBinding binding = formMetaData.findAttribute(javaName);
            if (binding.getDetypedName().startsWith(attributePath)) return true;
        }

        return false;
    }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.PropertyBinding

        // HAL-477 Exclude attribute "thread-factory"
        BeanMetaData beanMetaData = propertyMetaData.getBeanMetaData(EJB3ThreadPool.class);
        List<PropertyBinding> properties = beanMetaData.getProperties();
        for (Iterator<PropertyBinding> iterator = properties.iterator(); iterator.hasNext(); ) {
            PropertyBinding property = iterator.next();
            if ("thread-factory".equals(property.getDetypedName())) {
                iterator.remove();
            }
        }
        filteredFormMetaData = new FormMetaData(EJB3ThreadPool.class, properties);
    }
View Full Code Here

Examples of org.openquark.samples.bam.model.PropertyBinding

        if (getPropertyRadioButton ().isSelected ()) {
            MessagePropertyDescription propertyInfo = getPropertyCombo ().getSelectedInfo();

            if (propertyInfo != null) {
                result = new PropertyBinding (propertyInfo);
            }
        } else if (metricRadioButton.isSelected()) {
            MetricComboItem item = (MetricComboItem)getMetricCombo().getSelectedItem();
           
            if (item != null) {
View Full Code Here

Examples of org.openquark.samples.bam.model.PropertyBinding

        boolean propertiesAvailable = propertyCombo.getItemCount() != 0;
       
        propertyRadioButton.setEnabled(propertiesAvailable);
        propertyCombo.setEnabled(propertiesAvailable);
       
        PropertyBinding propertyBinding = null;
       
        InputListItem item = getSelectedInputListItem ();
       
        if (item != null) {
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof PropertyBinding) {
                propertyBinding = (PropertyBinding)binding;
            }
        }
       
        if (propertyBinding != null) {
            propertyCombo.setSelectedInfo(propertyBinding.getPropertyInfo());
           
            propertyRadioButton.setSelected (true);
        } else {
            propertyCombo.setSelectedIndex(-1);
           
View Full Code Here

Examples of org.openquark.samples.bam.model.PropertyBinding

           
            //add all message properties
            for (final MessagePropertyDescription info : messagePropertyDescriptions) {
                model.addElement(new MessagePropertyItem (info));
               
                argumentNameToBindingMap.put(info.name, new PropertyBinding (info));
            }

            //add all metrics/properties combinations that produce printable outputs
            BasicCALServices calServices = MonitorApp.getInstance().getCalServices();
            for (final MessagePropertyDescription propertyInfo : messagePropertyDescriptions) {
View Full Code Here

Examples of pt.webdetails.cdf.dd.model.inst.PropertyBinding

        return new CdfRunJsCodeComponentWriter();
      }
    }
    else if(KnownThingKind.PropertyBinding.equals(kind))
    {
      PropertyBinding propBind = (PropertyBinding)t;
      String propName = propBind.getName().toLowerCase();
     
      if(propName.equals("datasource"          )) { return new CdfRunJsDataSourcePropertyBindingWriter(); }
      if(propName.equals("cdadatasource"       )) { return new CdfRunJsCdaDataSourcePropertyBindingWriter(); }
      if(propName.equals("jfreechartdatasource")) { return new CdfRunJsJFreeChartDataSourcePropertyBindingWriter(); }
     
View Full Code Here

Examples of pt.webdetails.cdf.dd.model.inst.PropertyBinding

    {
      String propName = propUsage.getName();
      // The 'name' property is handled specially
      if(!(isDefaultDefinition && "name".equalsIgnoreCase(propName)))
      {
        PropertyBinding propBind = comp.tryGetPropertyBindingByName(propName);
        if(propBind != null)
        {
          IThingWriter writer;
          try
          {
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.