Bug 305036 [Path Variables] Minor API changes in Dynamic Path Variables area
I'm attaching a patch illustrating what should be done in this area.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/PathVariableEditDialog.java
*     IBM Corporation - initial API and implementation
 *     Serge Beauchamp (Freescale Semiconductor) - [229633] Project Path Variable Support
 *******************************************************************************/
package org.eclipse.ui.ide.dialogs;
import org.eclipse.core.resources.IPathVariable;
import org.eclipse.core.resources.IResource;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.IIDEHelpContextIds;
import org.eclipse.ui.internal.ide.dialogs.PathVariablesGroup;
/**
 * A dialog that allows a user to browse, edit, add, and remove path variables
 * for a given project.
 * 
 * @see IPathVariable
 * @since 3.6
 */
public class PathVariableEditDialog extends SelectionDialog {
	private PathVariablesGroup pathVariablesGroup;
	/**
	 * Creates a path variable selection dialog.
	 * 
	 * @param parentShell
	 *            the parent shell