trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/dialog/treeitem/TriggerTreeItem.java
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     1 /*
       
     2  * Copyright (c) 2007-2010 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  * Trigger Tree item interface
       
    17  *
       
    18  */
       
    19 package com.nokia.traceviewer.dialog.treeitem;
       
    20 
       
    21 /**
       
    22  * Trigger Tree item interface
       
    23  * 
       
    24  */
       
    25 public interface TriggerTreeItem extends TreeItem {
       
    26 
       
    27 	/**
       
    28 	 * Rule type for trigger items
       
    29 	 */
       
    30 	public enum Rule {
       
    31 
       
    32 		/**
       
    33 		 * Text rule
       
    34 		 */
       
    35 		TEXT_RULE,
       
    36 
       
    37 		/**
       
    38 		 * Group rule
       
    39 		 */
       
    40 		GROUP;
       
    41 	}
       
    42 
       
    43 	/**
       
    44 	 * Type of the trigger
       
    45 	 */
       
    46 	public enum Type {
       
    47 
       
    48 		/**
       
    49 		 * Start trigger
       
    50 		 */
       
    51 		STARTTRIGGER,
       
    52 
       
    53 		/**
       
    54 		 * Stop trigger
       
    55 		 */
       
    56 		STOPTRIGGER,
       
    57 
       
    58 		/**
       
    59 		 * Activation trigger
       
    60 		 */
       
    61 		ACTIVATIONTRIGGER;
       
    62 	}
       
    63 
       
    64 	/**
       
    65 	 * Gets the type of the rule
       
    66 	 * 
       
    67 	 * @return the rule
       
    68 	 */
       
    69 	public Rule getRule();
       
    70 
       
    71 	/**
       
    72 	 * Gets the type of the trigger
       
    73 	 * 
       
    74 	 * @return Type of the trigger
       
    75 	 */
       
    76 	public Type getType();
       
    77 }