1 /******************************************************************************* 2 * Copyright (c) 2000, 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.variables; 12 13 /** 14 * Value variable initializers compute an initial value for a value 15 * variable contributed by an extension, which is not defined with an initial 16 * value. This provides a mechanism for programmatically computing the initial 17 * value of a value variable. 18 * <p> 19 * Clients may implement this interface. 20 * </p> 21 * @since 3.0 22 */ 23 public interface IValueVariableInitializer { 24 /** 25 * Initializes the specified variable. 26 * 27 * @param variable variable to initialize 28 */ 29 public void initialize(IValueVariable variable); 30 } 31