Fires a tagsinput itemAdded event on all registered handlers in the handler
manager. If no such handlers exist, this method will do nothing.

@param source the source of the handlers
426401
public static <T> void fire(final HasItemAddedHandlers<T> source, T item) {
        if (TYPE != null) {
            ItemAddedEvent<T> event = new ItemAddedEvent<T>(item);
            source.fireEvent(event);
        }
    }
350768
public void fireEvent(Type eventType, Object event, Annotation... qualifiers) {
        final EventMetadata metadata = new EventMetadataImpl(eventType, null, qualifiers);
        notifier.fireEvent(eventType, event, metadata, qualifiers);
    }
1131587
private void injectTagsToEvent(GobblinTrackingEvent event) {
    Map<String, String> originalMetadata = event.getMetadata();
    Map<String, Object> tags = getTagMap();
    Map<String, String> newMetadata = Maps.newHashMap();
    for(Map.Entry<String, Object> entry : tags.entrySet()) {
      newMetadata.put(entry.getKey(), entry.getValue().toString());
    }
    newMetadata.putAll(originalMetadata);
    event.setMetadata(newMetadata);
  }
46590
void firePropertyChildAdded(TreeNodeAddedEvent event) {
		if (this.nodeListeners != null) {
			for (final TreeNodeListener listener : this.nodeListeners) {
				if (listener != null) {
					listener.treeNodeChildAdded(event);
				}
			}
		}
		final N parentNode = getParentNode();
		assert parentNode != this;
		if (parentNode != null) {
			parentNode.firePropertyChildAdded(event);
		}
	}
641342
public void addHandler(Handler handler) {
        if (null == handlers) {
            handlers = new ArrayList<>();
        }
        handlers.add(handler);
    }
769523
public static <T> void fire(final HasSlideStartHandlers<T> source, final T value) {
        if (TYPE != null) {
            SlideStartEvent<T> event = new SlideStartEvent<T>(value);
            source.fireEvent(event);
        }
    }
1267055
public static void fire(HasHandlers source, boolean valid) {
        ValidationChangedEvent eventInstance = new ValidationChangedEvent(valid);
        source.fireEvent(eventInstance);
    }
195809
public static void fire(final HasSummernoteKeyDownHandlers source, NativeEvent nativeEvent) {
        if (TYPE != null) {
            SummernoteKeyDownEvent event = new SummernoteKeyDownEvent(nativeEvent);
            source.fireEvent(event);
        }
    }
1072817
protected void firePluginAddedEvent(PluginEvent event) {
        PluginListener[] listeners = new PluginListener[mPluginListeners.size()];
        listeners = mPluginListeners.toArray(listeners);
        for (int i=0; i < listeners.length; i++) {			
            listeners[i].pluginAdded(event);
        }
    }
880176
public static <T> void fire(final HasFormSubmitHandlers<T> source, final T value) {
    if (type != null) {
      final FormSubmitEvent<T> event = new FormSubmitEvent<>(value);
      source.fireEvent(event);
    }
  }
135506
protected synchronized void fireMPDChangeEvent(MPDChangeEvent.Event event) {
        MPDChangeEvent mce = new MPDChangeEvent(this, event);

        for (MPDChangeListener mcl : listeners) {
            mcl.mpdChanged(mce);
        }
    }
673380
function(event, args) {
      var wire = args[0];
      // add the wire to the list if it isn't in
      if( WireIt.indexOf(wire, this.wires) == -1 ) {
         this.wires.push(wire);
         this.eventAddWire.fire(wire);
      } 
   }
632669
public static void fire(final HasSummernotePasteHandlers source) {
        if (TYPE != null) {
            SummernotePasteEvent event = new SummernotePasteEvent();
            source.fireEvent(event);
        }
    }
523299
public static void postAction (Component source, String command)
    {
        // slip things onto the event queue for later
        ActionEvent event = new ActionEvent(source, 0, command);
        EventQueue.invokeLater(new ActionInvoker(event));
    }
1309746
public static <S extends HasAttachHandlers> void fire(S source, PopupState popupState,
                                                          PopupOptions popupOptions) {
      if (TYPE != null) {
        JQMPopupEvent event = new JQMPopupEvent(popupState);
        if (popupOptions != null) event.setPopupOptions(popupOptions);
        source.fireEvent(event);
      }
    }
1270681
public static void fire(I_CmsHasToggleHandlers source, boolean isActivated) {

        if (TYPE != null) {
            CmsToggleEvent event = new CmsToggleEvent(isActivated);
            source.fireEvent(event);
        }
    }
535158
public static <S extends HasAttachHandlers> void fire(S source, PageState pageState,
            JQMPage prevPage, JQMPage nextPage) {
      if (TYPE != null) {
        JQMPageEvent event = new JQMPageEvent(pageState, prevPage, nextPage);
        source.fireEvent(event);
      }
    }