KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > ICommandLink


1 /*******************************************************************************
2  * Copyright (c) 2007 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 package org.eclipse.help;
12
13 /**
14  * Represents a link with text that invokes a specific command with
15  * parameters.
16  *
17  * @since 3.3
18  */

19 public interface ICommandLink extends IUAElement {
20
21     /**
22      * Returns the label text to display for this link.
23      *
24      * @return the link text
25      */

26     public String JavaDoc getLabel();
27     
28     /**
29      * Returns the serialized form of the command to invoke, along with
30      * its parameters.
31      *
32      * @return the serialized command
33      */

34     public String JavaDoc getSerialization();
35 }
36
Popular Tags