Examples of handleEvent()


Examples of org.camunda.bpm.engine.impl.history.handler.HistoryEventHandler.handleEvent()

      } else {
        return;
      }

      eventHandler.handleEvent(event);
    }
  }

  public boolean hasReferenceTo(DbEntity entity) {
    if (entity instanceof IncidentEntity) {
View Full Code Here

Examples of org.eclipse.ecf.core.IContainerListener.handleEvent()

  private void fireContainerEvent(IContainerEvent event) {
    synchronized (containerListeners) {
      for (int i = 0; i < containerListeners.size(); i++) {
        final IContainerListener icl = (IContainerListener) containerListeners.get(i);
        icl.handleEvent(event);
      }
    }
  }

  public Object getAdapter(Class serviceType) {
View Full Code Here

Examples of org.eclipse.swt.widgets.Listener.handleEvent()

              || az_menuitem.getStyle() == MenuItem.STYLE_RADIO) {
            if (!menuItem.isDisposed()) {
              az_menuitem.setData(new Boolean(menuItem.getSelection()));
            }
          }
          main_listener.handleEvent(e);
        }
      });
     
      if (is_container) {
        Menu this_menu = new Menu(composite.getShell(), SWT.DROP_DOWN);
View Full Code Here

Examples of org.eclipse.swt.widgets.Listener.handleEvent()

  public void testAddsPaintListenerThatRedrawsIndicator() {
    Listener listener = indicator.getCanvas().getListeners( SWT.Paint )[ 0 ];
    Event event = mock( Event.class );
    event.gc = new GC( indicator.getCanvas() );

    listener.handleEvent( event );

    verifyDraw( indicator );
  }

  private void verifyDraw( PagingIndicator indicator ) {
View Full Code Here

Examples of org.eclipse.swt.widgets.Listener.handleEvent()

                // can detect whether or not it's a 'right button' drag
                de.button = initialMouseButton;
               
                Listener l = currentListener;
                cancelDrag();
                l.handleEvent(de);
               
                // Restore the event's state so that other listeners see
                // the original values
                de.button = originalMouseButton;
            } else {
View Full Code Here

Examples of org.exist.versioning.svn.internal.wc.admin.SVNWCAccess.handleEvent()

            event = SVNEventFactory.createSVNEvent(file, item.getKind(), null, SVNRepository.INVALID_REVISION, SVNEventAction.COMMIT_MODIFIED, null, null, null);
          event.setPreviousRevision(rev);
        }
        if (event != null) {
          event.setURL(item.getURL());
            wcAccess.handleEvent(event, ISVNEventHandler.UNKNOWN);
        }
        long cfRev = item.getCopyFromRevision().getNumber();//item.getCopyFromURL() != null ? rev : -1;
        if (item.isDeleted()) {
            try {
                commitEditor.deleteEntry(commitPath, rev);
View Full Code Here

Examples of org.gephi.visualization.apiimpl.VizEventListener.handleEvent()

        private synchronized void fireVizEvent(Object data) {
            VizEvent event = new VizEvent(this, type, data);
            for (int i = 0; i < listeners.size(); i++) {
                WeakReference<VizEventListener> weakListener = listeners.get(i);
                VizEventListener v = weakListener.get();
                v.handleEvent(event);
            }
        }

        public boolean hasListeners() {
            return listeners.size() > 0;
View Full Code Here

Examples of org.itsnat.core.event.ItsNatAttachedClientEventListener.handleEvent()

        if (chain.isStopped()) return; // Por si acaso
        LinkedList<ItsNatAttachedClientEventListener> listeners = chain.getListeners();
        while(!listeners.isEmpty())
        {
            ItsNatAttachedClientEventListener listener = listeners.removeFirst();
            listener.handleEvent(event);
            if (chain.isStopped()) break;
        }
    }

    public static boolean handleEventListeners(final ItsNatAttachedClientEvent evt,final LinkedList<ItsNatAttachedClientEventListener> listeners)
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.TestHandler.handleEvent()

        handler.getEditBlackboard().addPoint(15,15, handler.getCurrentGeom().getShell());
        handler.getEditBlackboard().addPoint(20,15, handler.getCurrentGeom().getShell());
        handler.getEditBlackboard().addPoint(30,25, handler.getCurrentGeom().getShell());
       
        //test click on point
        handler.handleEvent( new MapMouseEvent(null, 9, 10, none, button1, button1), EventType.PRESSED);
        assertEquals(1, handler.getEditBlackboard().getSelection().size());
        assertEquals(Point.valueOf(10,10), handler.getEditBlackboard().getSelection().iterator().next());

        //test click on same point
        handler.handleEvent( new MapMouseEvent(null, 10, 10, none, button1, button1), EventType.PRESSED);
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.VisualElement.handleEvent()

        }

        if (figure != null)
        {
          // Tell the figure it is hovered by the cursor
          figure.handleEvent(new VisualElementEvent(VisualElementEvent.CURSOR_ENTERED, editor, e, x, y));
        }

        lastFigure = figure;
        view.setFigureUnderCursor(figure);
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.