142143144145146147148
* * @param component the component to register */ void register(Component component) { map.put(component.getId(), component); fireEvent(Events.Register, new ComponentManagerEvent(this, component)); }
152153154155156157158
* * @param component the component to unregister */ void unregister(Component component) { map.remove(component.getId()); fireEvent(Events.Unregister, new ComponentManagerEvent(this, component)); }
101102103104105106107
return map.values(); } public void register(Component component) { map.put(component.getId(), component); fireEvent(Events.Register, new ComponentManagerEvent(this, component)); }
106107108109110111112
fireEvent(Events.Register, new ComponentManagerEvent(this, component)); } public void unregister(Component component) { map.remove(component.getId()); fireEvent(Events.Unregister, new ComponentManagerEvent(this, component)); }