01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.core;
11:
12: /**
13: * Editable model is an editable object that can be saved. The classes
14: * that implement this interface are responsible for calling the
15: * method <code>save</code> of <code>IEditable</code> and supplying
16: * the required <code>PrintWriter</code> object.
17: *
18: * @since 2.0
19: */
20: public interface IEditableModel extends IEditable {
21: /**
22: * Saves the editable model using the mechanism suitable for the
23: * concrete model implementation. It is responsible for
24: * wrapping the <code>IEditable.save(PrintWriter)</code> operation
25: * and providing the print writer.
26: */
27: void save();
28: }
|