trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/engine/utils/TraceMultiplierRule.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/engine/utils/TraceMultiplierRule.java Wed Jun 23 14:35:40 2010 +0300
@@ -0,0 +1,43 @@
+/*
+* Copyright (c) 2007 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:
+*
+* Rule which can be used to create copies of new traces
+*
+*/
+package com.nokia.tracebuilder.engine.utils;
+
+import java.util.Iterator;
+
+import com.nokia.tracebuilder.model.Trace;
+import com.nokia.tracebuilder.model.TraceObjectRule;
+
+/**
+ * Rule which can be used to create copies of new traces
+ *
+ */
+public interface TraceMultiplierRule extends TraceObjectRule {
+
+ /**
+ * Gets copies of the given trace which is about to be inserted into given
+ * context. The new trace is added first and the the copies will be inserted
+ * after it in the order they are received from the iterator.
+ *
+ * @param trace
+ * the new trace
+ * @return a list of copies
+ */
+ public Iterator<Trace> createCopies(Trace trace);
+
+}