Skip to main content
summaryrefslogtreecommitdiffstats
blob: 20eed684cb05f92d2443423c26c627d18a9d0d53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
 * Copyright (c) 2004, 2007 IBM Corporation 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.ui.intro.config;

import java.util.Properties;

import org.eclipse.ui.intro.IIntroSite;

/**
 * An Intro action. Classes that implement this interface can be used as valid
 * value for the "class" parameter for the following intro url:
 * <p>
 * http://org.eclipse.ui.intro/runAction?pluginId=x.y.z&class=x.y.z.someClass
 * </p>
 * 
 * @since 3.0
 */
public interface IIntroAction {

    /**
     * Called to run this intro command. The properties represents the key=value
     * pairs extracted from the intro URL query.
     * 
     * @param site
     * @param params
     */
    public void run(IIntroSite site, Properties params);

}

Back to the top