1/*******************************************************************************
2 * Copyright (c) 2011 Google, Inc.
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 *    Google, Inc. - initial API and implementation
10 *******************************************************************************/
11package org.eclipse.wb.internal.core.model.property.editor;
12
13import org.eclipse.wb.internal.core.model.property.Property;
14
15/**
16 * Extension of {@link PropertyEditor} that can set value using its text presentation.
17 *
18 * @author scheglov_ke
19 * @coverage core.model.property.editor
20 */
21public interface ITextValuePropertyEditor {
22  /**
23   * Sets value that corresponds given text.
24   */
25  void setText(Property property, String text) throws Exception;
26}
27