/** * Copyright (c) 2006 Ecliptical Software Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Ecliptical Software Inc. - initial API and implementation */ package org.eclipse.ecf.example.pubsub; import org.eclipse.ecf.pubsub.model.IModelUpdater; public class ListAppender implements IModelUpdater { public static final String ID = "org.eclipse.ecf.example.pubsub.ListAppender"; public void update(Object data, Object update) { ((AppendableList) data).add(update); } }