comparison dwtx/core/commands/ITypedParameter.d @ 3:6518c18a01f7

eclipse.core package without osgi dependencies
author Frank Benoit <benoit@tionex.de>
date Wed, 26 Mar 2008 00:57:19 +0100
parents
children
comparison
equal deleted inserted replaced
2:a012107a911c 3:6518c18a01f7
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 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/
13 module dwtx.core.commands.ITypedParameter;
14
15 import dwtx.core.commands.ParameterType;
16
17 /**
18 * A command parameter that has a declared type. This interface is intended to
19 * be implemented by implementors of {@link IParameter} that will support
20 * parameter types.
21 *
22 * @since 3.2
23 */
24 public interface ITypedParameter {
25
26 /**
27 * Returns the {@link ParameterType} associated with a command parameter or
28 * <code>null</code> if the parameter does not declare a type.
29 * <p>
30 * Note that the parameter type returned may be undefined.
31 * </p>
32 *
33 * @return the parameter type associated with a command parameter or
34 * <code>null</code> if the parameter does not declare a type
35 */
36 public ParameterType getParameterType();
37 }