package net.sourceforge.phpdt.externaltools.internal.registry;
/**********************************************************************
-Copyright (c) 2002 IBM Corp. and others. All rights reserved.
-This file is made available under the terms of the Common Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/cpl-v10.html
-�
-Contributors:
-**********************************************************************/
+ Copyright (c) 2002 IBM Corp. and others. All rights reserved.
+ This file is made available under the terms of the Common Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/cpl-v10.html
+ �
+ Contributors:
+ **********************************************************************/
import net.sourceforge.phpdt.externaltools.variable.ExpandVariableContext;
import net.sourceforge.phpdt.externaltools.variable.IVariableLocationExpander;
*/
public final class PathLocationVariable extends ExternalToolVariable {
private static final DefaultLocationExpander defaultExpander = new DefaultLocationExpander();
-
+
private IVariableLocationExpander expander = null;
/**
* Creates a path location variable
*
- * @param tag the variable tag
- * @param description a short description of what the variable will expand to
- * @param element the configuration element
+ * @param tag
+ * the variable tag
+ * @param description
+ * a short description of what the variable will expand to
+ * @param element
+ * the configuration element
*/
- /*package*/ PathLocationVariable(String tag, String description, IConfigurationElement element) {
+ /* package */PathLocationVariable(String tag, String description,
+ IConfigurationElement element) {
super(tag, description, element);
}
/**
- * Returns the object that can expand the variable
- * into a path location.
+ * Returns the object that can expand the variable into a path location.
*/
public IVariableLocationExpander getExpander() {
if (expander == null) {
return expander;
}
-
/**
- * Default variable location implementation which does
- * not expand variables, but just returns <code>null</code>.
- */
- private static final class DefaultLocationExpander implements IVariableLocationExpander {
- /* (non-Javadoc)
- * Method declared on IVariableLocationExpander.
+ * Default variable location implementation which does not expand variables,
+ * but just returns <code>null</code>.
+ */
+ private static final class DefaultLocationExpander implements
+ IVariableLocationExpander {
+ /*
+ * (non-Javadoc) Method declared on IVariableLocationExpander.
*/
- public IPath getPath(String varTag, String varValue, ExpandVariableContext context) {
+ public IPath getPath(String varTag, String varValue,
+ ExpandVariableContext context) {
return null;
}
}