Skip to main content
summaryrefslogtreecommitdiffstats
blob: 15d9f66963d1f3fd68ff30f8d03cfd3c4185f85c (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
/*******************************************************************************
 * Copyright (c) 2007, 2015 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.help;

/**
 * Represents a link with text that invokes a specific command with
 * parameters.
 *
 * @since 3.3
 */
public interface ICommandLink extends IUAElement {

	/**
	 * Returns the label text to display for this link.
	 *
	 * @return the link text
	 */
	public String getLabel();

	/**
	 * Returns the serialized form of the command to invoke, along with
	 * its parameters.
	 *
	 * @return the serialized command
	 */
	public String getSerialization();
}

Back to the top