tracesrv/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/model/TraceProcessingListener.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Multi-update optimization |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracecompiler.model; |
|
20 |
|
21 /** |
|
22 * Callback interface which should be notified when performing multiple updates |
|
23 * to the trace model. The implementation of TraceModelListener can also |
|
24 * implement this interface to avoid performing unnecessary updates. |
|
25 * |
|
26 */ |
|
27 public interface TraceProcessingListener { |
|
28 |
|
29 /** |
|
30 * Called when a sequence of trace model updates is about to start |
|
31 */ |
|
32 public void processingStarted(); |
|
33 |
|
34 /** |
|
35 * Called when a sequence of trace model updates has finished |
|
36 * |
|
37 * @param changed |
|
38 * true if the model was changed while processing, false if not |
|
39 */ |
|
40 public void processingComplete(boolean changed); |
|
41 |
|
42 } |