tracesrv/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/model/TraceModelExtensionListener.java
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     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 * Listener interface for trace model extension notifications
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.model;
       
    20 
       
    21 /**
       
    22  * Listener interface for trace model extension notifications
       
    23  * 
       
    24  */
       
    25 public interface TraceModelExtensionListener {
       
    26 
       
    27 	/**
       
    28 	 * Notifies that an extension was added to the trace object
       
    29 	 * 
       
    30 	 * @param object
       
    31 	 *            the object where the extension was added
       
    32 	 * @param extension
       
    33 	 *            the new extension object
       
    34 	 */
       
    35 	public void extensionAdded(TraceObject object, TraceModelExtension extension);
       
    36 
       
    37 	/**
       
    38 	 * Notifies that an extension was removed from the trace object
       
    39 	 * 
       
    40 	 * @param object
       
    41 	 *            the object from where the extension was removed
       
    42 	 * @param extension
       
    43 	 *            the removed extension object
       
    44 	 */
       
    45 	public void extensionRemoved(TraceObject object,
       
    46 			TraceModelExtension extension);
       
    47 
       
    48 }