| 1 | /******************************************************************************* | 
| 2 |  * Copyright (c) 2007, 2008 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.api.tools.internal.provisional.comparator; | 
| 12 |   | 
| 13 |   | 
| 14 | public class DeltaVisitor { | 
| 15 |          | 
| 16 |         /** | 
| 17 |          * Visit the given delta | 
| 18 |          *  | 
| 19 |          * @param delta the given delta | 
| 20 |          * @return true if the children of the given delta should also be processed | 
| 21 |          */ | 
| 22 |         public boolean visit(IDelta delta) { | 
| 23 |                 return true; | 
| 24 |         } | 
| 25 |   | 
| 26 |         /** | 
| 27 |          * Callback called when the delta visitor is exiting the given delta | 
| 28 |          *  | 
| 29 |          * @param delta the given delta | 
| 30 |          */ | 
| 31 |         public void endVisit(IDelta delta) { | 
| 32 |         } | 
| 33 | } |