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.pde.core; 12 13 /** 14 * Editable model is an editable object that can be saved. The classes 15 * that implement this interface are responsible for calling the 16 * method <code>save</code> of <code>IEditable</code> and supplying 17 * the required <code>PrintWriter</code> object. 18 * 19 * @since 2.0 20 */ 21 public interface IEditableModel extends IEditable { 22 /** 23 * Saves the editable model using the mechanism suitable for the 24 * concrete model implementation. It is responsible for 25 * wrapping the <code>IEditable.save(PrintWriter)</code> operation 26 * and providing the print writer. 27 */ 28 void save(); 29 } 30