tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/plugin/TraceAPIPluginManager.java
branchRCL_3
changeset 20 ca8a1b6995f6
equal deleted inserted replaced
19:07b41fa8d1dd 20:ca8a1b6995f6
       
     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 * Trace API plug-in manager interface
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.engine.plugin;
       
    20 
       
    21 import com.nokia.tracecompiler.model.TraceModelExtension;
       
    22 import com.nokia.tracecompiler.plugin.TraceAPIFormatter;
       
    23 import com.nokia.tracecompiler.plugin.TraceAPIParser;
       
    24 
       
    25 /**
       
    26  * Trace API plug-in manager interface
       
    27  * 
       
    28  */
       
    29 public interface TraceAPIPluginManager extends TraceModelExtension {
       
    30 
       
    31 	/**
       
    32 	 * Adds the formatter API's from the plug-in
       
    33 	 * 
       
    34 	 * @param formatters
       
    35 	 *            the formatters
       
    36 	 */
       
    37 	public void addFormatters(TraceAPIFormatter[] formatters);
       
    38 
       
    39 	/**
       
    40 	 * Adds the parser API's from the plug-in
       
    41 	 * 
       
    42 	 * @param parsers
       
    43 	 *            the parsers
       
    44 	 */
       
    45 	public void addParsers(TraceAPIParser[] parsers);
       
    46 
       
    47 	/**
       
    48 	 * Sets the default API to the model.
       
    49 	 */
       
    50 	public void createDefaultAPI();
       
    51 
       
    52 }