Package org.eclipse.ecf.datashare.events

Examples of org.eclipse.ecf.datashare.events.IChannelContainerChannelActivatedEvent


  protected class ContainerListener implements IContainerListener {
    public void handleEvent(final IContainerEvent evt) {
      if (evt instanceof ISharedObjectActivatedEvent) {
        final ISharedObjectActivatedEvent soae = (ISharedObjectActivatedEvent) evt;
        fireChannelContainerListeners(new IChannelContainerChannelActivatedEvent() {
          public ID getChannelID() {
            return soae.getActivatedID();
          }

          public ID getChannelContainerID() {
View Full Code Here


  private void fireChannelContainerActivatedEvent(final ID channelId) {
    Object[] listeners = listenerList.getListeners();
    for (int i = 0; i < listeners.length; i++) {
      IChannelContainerListener listener = (IChannelContainerListener) listeners[i];
      fireChannelContainerEvent(listener,
          new IChannelContainerChannelActivatedEvent() {
            public ID getChannelID() {
              return channelId;
            }

            public ID getChannelContainerID() {
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.datashare.events.IChannelContainerChannelActivatedEvent

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.