Examples of MetricBinding


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

            }
        } else if (metricRadioButton.isSelected()) {
            MetricComboItem item = (MetricComboItem)getMetricCombo().getSelectedItem();
           
            if (item != null) {
                result = new MetricBinding (item.metricDescription);
            }
        } else if (getConstantRadioButton ().isSelected ()) {
            String text = constantTextField.getText ();

            Object value = null;
View Full Code Here

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

        boolean metricAvailable = metricCombo.getItemCount() != 0;
       
        metricRadioButton.setEnabled(metricAvailable);
        metricCombo.setEnabled(metricAvailable);
       
        MetricBinding metricBinding = null;
       
        InputListItem item = getSelectedInputListItem ();
       
        if (item != null) {
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof MetricBinding) {
                metricBinding = (MetricBinding)binding;
            }
        }
       
        if (metricBinding != null) {
            metricCombo.setSelectedItem(new MetricComboItem (metricBinding.getMetricDescription()));
           
            metricRadioButton.setSelected(true);
        } else {
            metricCombo.setSelectedIndex(-1);
           
View Full Code Here

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

                Set<GemEntity> gemEntities = new MetricGemFilter(propertyType, printableType ).getMatchingGems();
                for (final GemEntity gemEntity : gemEntities) {
                    MetricDescription metricDescription=new MetricDescription(gemEntity.getName(), propertyInfo );
                    model.addElement(new MetricItem (metricDescription));                       

                    argumentNameToBindingMap.put(metricDescription.getDescription(), new MetricBinding(metricDescription));                   
                }                   
            }
                   
            argumentJList = new JList (model);
           
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.