/*******************************************************************************
 * Copyright (C) 2011 The University of Manchester
 *
 *  Modifications to the initial code base are copyright of their
 *  respective authors, or their employers as appropriate.
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public License
 *  as published by the Free Software Foundation; either version 2.1 of
 *  the License, or (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful, but
 *  WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 ******************************************************************************/
package net.sf.taverna.t2.workbench.ui.views.contextualviews.activity;

import java.util.List;

/**
 * A registry for discovering ActivityViewFactories for a given object,
 * like an {@link net.sf.taverna.t2.workflowmodel.processor.activity.Activity}.
 *
 * @author David Withers
 */
public interface ContextualViewFactoryRegistry {

	/**
	 * Discover and return the ContextualViewFactory associated to the provided
	 * object. This is accomplished by returning the discovered
	 * {@link ContextualViewFactory#canHandle(Object)} that returns true for
	 * that Object.
	 *
	 * @param object
	 * @return
	 *
	 * @see ContextualViewFactory#canHandle(Object)
	 */
	public List<ContextualViewFactory> getViewFactoriesForObject(Object object);

}
@@ -1411,17 +1411,16 @@
 istry %7B%0A
-%0A
 %09/**%0A%09 *
@@ -1679,20 +1679,16 @@
 @return%0A
-%09 *%0A
 %09 * @see
@@ -1767,16 +1767,19 @@
 wFactory
+%3C?%3E
 %3E getVie
@@ -1818,6 +1818,6 @@
 t);%0A
-%0A
 %7D
+%0A

Fix the type in the API