KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > ITypedParameter


1 /*******************************************************************************
2  * Copyright (c) 2005, 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 package org.eclipse.core.commands;
12
13 /**
14  * A command parameter that has a declared type. This interface is intended to
15  * be implemented by implementors of {@link IParameter} that will support
16  * parameter types.
17  *
18  * @since 3.2
19  */

20 public interface ITypedParameter {
21
22     /**
23      * Returns the {@link ParameterType} associated with a command parameter or
24      * <code>null</code> if the parameter does not declare a type.
25      * <p>
26      * Note that the parameter type returned may be undefined.
27      * </p>
28      *
29      * @return the parameter type associated with a command parameter or
30      * <code>null</code> if the parameter does not declare a type
31      */

32     public ParameterType getParameterType();
33 }
34
Popular Tags