sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/ui/IActionListener.java
changeset 1 1050670c6980
child 6 f65f740e69f9
equal deleted inserted replaced
0:5ad7ad99af01 1:1050670c6980
       
     1 /*
       
     2  * Copyright (c) 2008-2009 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:  Definitions for the class ActionListener
       
    15  *
       
    16  */
       
    17 
       
    18 package com.nokia.s60tools.analyzetool.ui;
       
    19 
       
    20 import org.eclipse.core.resources.IProject;
       
    21 import com.nokia.s60tools.analyzetool.global.Constants;
       
    22 
       
    23 /**
       
    24  * Notifies when preferences is changed or action must execute.
       
    25  *
       
    26  * @author kihe
       
    27  *
       
    28  */
       
    29 public interface IActionListener {
       
    30 
       
    31 	/**
       
    32 	 * Informs when all the modules are built with AnalyzeTool.
       
    33 	 *
       
    34 	 * @param projRef
       
    35 	 *            Project reference
       
    36 	 */
       
    37 	void buildStateChanged(IProject projRef);
       
    38 
       
    39 
       
    40 	/**
       
    41 	 * Disables or enables trace related actions If Tracing utility plugin could not
       
    42 	 * loaded the trace actions are disable at plugin startup.
       
    43 	 *
       
    44 	 * @param disable
       
    45 	 *            Boolean
       
    46 	 */
       
    47 	void disableTraceActions(boolean disable);
       
    48 
       
    49 	/**
       
    50 	 * Notifies when preference values are changed.
       
    51 	 */
       
    52 	void preferenceChanged();
       
    53 
       
    54 	/**
       
    55 	 * Notifies when action must execute.
       
    56 	 *
       
    57 	 * @param project
       
    58 	 *            Project reference
       
    59 	 *
       
    60 	 * @param action
       
    61 	 *            Action to execute
       
    62 	 */
       
    63 	void runAction(org.eclipse.core.resources.IProject project,
       
    64 			Constants.ACTIONS action);
       
    65 
       
    66 }