01: /*******************************************************************************
02: * Copyright (c) 2004, 2005 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.ui;
11:
12: /**
13: * Objects implementing this interface are capable of saving their
14: * state in an {@link IMemento}.
15: *
16: * @since 3.1
17: */
18: public interface IPersistable {
19: /**
20: * Saves the state of the object in the given memento.
21: *
22: * @param memento the storage area for object's state
23: */
24: public void saveState(IMemento memento);
25: }
|