1 /******************************************************************************* 2 * Copyright (c) 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.debug.internal.ui.viewers.model; 12 13 import org.eclipse.debug.internal.ui.viewers.model.provisional.IElementMementoRequest; 14 15 /** 16 * @since 3.3 17 */ 18 interface IMementoManager { 19 20 /** 21 * Adds the request to this manager. 22 * 23 * @param memento request 24 */ 25 public void addRequest(IElementMementoRequest request); 26 27 /** 28 * Notification the request is complete. 29 * 30 * @param request 31 */ 32 public void requestComplete(IElementMementoRequest request); 33 34 /** 35 * Process the queued requests. Accepts no more new requests. 36 */ 37 public void processReqeusts(); 38 } 39