Examples of IEventGroup


Examples of org.eclipse.e4.xwt.IEventGroup

      eventGroupCache.put(key, eventGroup);
    }
  }

  public IEventGroup getEventGroup(String event) {
    IEventGroup eventGroup = eventGroupCache.get(event);
    if (eventGroup == null && superClass != null) {
      return superClass.getEventGroup(event);
    }
    return eventGroup;
  }
View Full Code Here

Examples of org.eclipse.e4.xwt.IEventGroup

   
    IMetaclass metaclass = XWT.getMetaclass(host);
   
    // TODO this conversion should be simplied
    String eventName = ModelUtils.normalizePropertyName(property.getEvent().getName());
    IEventGroup eventGroup = metaclass.getEventGroup(eventName);
    if (eventGroup != null) {
      eventGroup.fireEvent(this, property);
    }
  }
View Full Code Here

Examples of org.eclipse.e4.xwt.IEventGroup

    // TODO it is not clean.
    EventProperty eventProperty  = (EventProperty) property;
   
    // TODO this conversion should be simplied
    String eventName = ModelUtils.normalizePropertyName(eventProperty.getEvent().getName());   
    IEventGroup eventGroup = metaclass.getEventGroup(eventName);
    if (eventGroup != null) {
      eventGroup.registerEvent(this, property);
    }
  }
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.