Examples of addValueListener()


Examples of com.onpositive.semantic.model.binding.Binding.addValueListener()

      ComboEnumeratedValueSelector<Field> fields = new ComboEnumeratedValueSelector<Field>(
          combo);
      fields.setLayoutData(new GridData(SWT.FILL, SWT.TOP, false, false));

      IValueListener l = new VCHListener(value, editor, res, inner);
      combo.addValueListener(l);

      editor.add(fields);

      if (rStr.size() != 0) {
        combo.setValue(rStr.toArray()[0], null);
View Full Code Here

Examples of com.onpositive.semantic.model.binding.Binding.addValueListener()

          }
          Container m = new Container();
          m.setLayout(new GridLayout(1, false));
          m.setCaption(binding.getName());
          final ListEnumeratedValueSelector<Object> v = new ListEnumeratedValueSelector<Object>();
          binding.addValueListener(new IValueListener<Object>() {

            public void valueChanged(Object oldValue,
                Object newValue) {
              return;
View Full Code Here

Examples of ptolemy.actor.gt.PatternObjectAttribute.addValueListener()

        for (Object entityObject : objectCollection) {
            NamedObj object = (NamedObj) entityObject;
            PatternObjectAttribute attribute = GTTools
                    .getPatternObjectAttribute(object);
            if (attribute != null) {
                attribute.addValueListener(this);
                String patternObject = attribute.getExpression();
                if (patternObject.length() != 0) {
                    String name = _getNameWithinContainer(object, replacement);
                    topLevelFrame._tableModel.addRow(new Object[] {
                            _createCellPanel(Integer.toString(index++)),
View Full Code Here

Examples of ptolemy.kernel.util.Locatable.addValueListener()

        }

        // NOTE: We assume here that the implementation
        // of addValueListener() is smart enough to not add
        // this if it is already a listener.
        location.addValueListener(this);
        return location.getLocation();
    }

    /** Return the list of receivers that can receive from the specified
     *  port with the specified transmission properties. Ports that are contained
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.