Package com.projity.pm.graphic.model.event

Examples of com.projity.pm.graphic.model.event.CompositeCacheEvent


    return (CacheListener[]) listenerList.getListeners(CacheListener.class);
  }
   protected void fireGraphicNodesCompositeEvent(Object source, List nodeEvents, List edgeEvents) {
      //System.out.println("fireGraphicNodesCompositeEvent: \n\t"+nodeEvents+"\n\t"+edgeEvents/*+", source="+source*/);
      Object[] listeners = listenerList.getListenerList();
      CompositeCacheEvent e = null;
      for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == CacheListener.class) {
          if (e == null) {
            e = new CompositeCacheEvent(source,
                nodeEvents,edgeEvents);
          }
          ((CacheListener) listeners[i + 1]).graphicNodesCompositeEvent(e);
        }
      }
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.model.event.CompositeCacheEvent

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.