srcanaapps/depexplorer/com.nokia.s60tools.appdep/src/com/nokia/s60tools/appdep/ui/views/data/IVisitor.java
changeset 0 a02c979e8dfd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanaapps/depexplorer/com.nokia.s60tools.appdep/src/com/nokia/s60tools/appdep/ui/views/data/IVisitor.java	Sat Jan 09 10:04:11 2010 +0530
@@ -0,0 +1,41 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+package com.nokia.s60tools.appdep.ui.views.data;
+
+import com.nokia.s60tools.appdep.core.data.ComponentLinkLeafNode;
+import com.nokia.s60tools.appdep.core.data.ComponentParentNode;
+
+/**
+ * General visitor interface for visiting component tree
+ * hierarchy. To be implemented by concrete visitors.
+ * @see com.nokia.s60tools.appdep.ui.views.data.IVisitable
+ */
+public interface IVisitor {
+	
+	/**
+	 * Visit method for component link leaf nodes.
+	 * @param node Component link leaf node to be visited.
+	 */
+	public void visit(ComponentLinkLeafNode node);
+	/**
+	 * Visit method for component parent nodes.
+	 * @param node Component parent node to be visited.
+	 */
+	public void visit(ComponentParentNode node);
+}