Lines Matching defs:id
60 protected final Component registerComponent(final String id, final Component comp) {
61 if (registered_comps.containsKey(id)) {
62 throw new RuntimeException("The component with id (" + id + "), already registered.");
64 comp.setName(id);
65 registered_comps.put(id, comp);
109 protected final Component getComponent(final String id) {
110 if (!registered_comps.containsKey(id)) {
111 throw new RuntimeException("There is no registered component with given id(" + id +")");
113 return registered_comps.get(id);