1 /******************************************************************************* 2 * Copyright (c) 2004, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 12 package org.eclipse.ui.intro.config; 13 14 import java.util.Properties; 15 16 import org.eclipse.ui.intro.IIntroSite; 17 18 /** 19 * An Intro action. Classes that implement this interface can be used as valid 20 * value for the "class" parameter for the following intro url: 21 * <p> 22 * http://org.eclipse.ui.intro/runAction?pluginId=x.y.z&class=x.y.z.someClass 23 * </p> 24 * 25 * @since 3.0 26 */ 27 public interface IIntroAction { 28 29 /** 30 * Called to run this intro command. The properties represents the key=value 31 * pairs extracted from the intro URL query. 32 * 33 * @param site 34 * @param params 35 */ 36 public void run(IIntroSite site, Properties params); 37 38 } 39