Package org.openquark.samples.bam.model

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


        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

           
            //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

TOP

Related Classes of org.openquark.samples.bam.model.PropertyBinding

Copyright © 2018 www.massapicom. 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.