trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/engine/TraceObjectPropertyDialogConfiguration.java
changeset 10 ed1c9f64298a
equal deleted inserted replaced
9:14dc2103a631 10:ed1c9f64298a
       
     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 * Interface used by property dialog manager to configure the property dialog
       
    17 *
       
    18 */
       
    19 package com.nokia.tracebuilder.engine;
       
    20 
       
    21 import java.util.List;
       
    22 
       
    23 /**
       
    24  * Interface used by property dialog manager to configure the property dialog
       
    25  * 
       
    26  */
       
    27 public interface TraceObjectPropertyDialogConfiguration {
       
    28 
       
    29 	/**
       
    30 	 * Adds the templates to be shown in the "Add" dialog
       
    31 	 * 
       
    32 	 * @param templates
       
    33 	 *            the list where the templates are added
       
    34 	 * @param dialogType
       
    35 	 *            the dialog type
       
    36 	 */
       
    37 	public void addViewTemplates(
       
    38 			List<TraceObjectPropertyDialogTemplate> templates, int dialogType);
       
    39 
       
    40 	/**
       
    41 	 * Adds the property flags that are shown in the view for given object
       
    42 	 * 
       
    43 	 * @param flags
       
    44 	 *            the list where the flags are added
       
    45 	 * @param dialogType
       
    46 	 *            the dialog type
       
    47 	 */
       
    48 	public void addViewFlags(List<TraceObjectPropertyDialogFlag> flags,
       
    49 			int dialogType);
       
    50 
       
    51 }