Examples of IObservableValueListener


Examples of org.eclipse.e4.xwt.IObservableValueListener

    if (controller == null) {
      controller = UserData.updateEventController(observed);
    }
    IEvent event = property.getEvent();

    IObservableValueListener manager = UserData.getObservableValueManager(observed);
    if (manager == null) {
      manager = new ObservableValueManager(observed);
      UserData.setObservableValueManager(observed, manager);
    }
    try {
      controller.setEvent(event, UserData.getWidget(observed), manager, property, IObservableValueListener.class.getDeclaredMethod("changeValueHandle", Object.class, org.eclipse.swt.widgets.Event.class));
      manager.registerValue(property, this);
    } catch (Exception e) {
      LoggerManager.log(e);
      return;
    }
  }
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.