sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/ui/IActionListener.java
changeset 1 1050670c6980
child 6 f65f740e69f9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/ui/IActionListener.java	Thu Feb 11 15:22:14 2010 +0200
@@ -0,0 +1,66 @@
+/*
+ * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:  Definitions for the class ActionListener
+ *
+ */
+
+package com.nokia.s60tools.analyzetool.ui;
+
+import org.eclipse.core.resources.IProject;
+import com.nokia.s60tools.analyzetool.global.Constants;
+
+/**
+ * Notifies when preferences is changed or action must execute.
+ *
+ * @author kihe
+ *
+ */
+public interface IActionListener {
+
+	/**
+	 * Informs when all the modules are built with AnalyzeTool.
+	 *
+	 * @param projRef
+	 *            Project reference
+	 */
+	void buildStateChanged(IProject projRef);
+
+
+	/**
+	 * Disables or enables trace related actions If Tracing utility plugin could not
+	 * loaded the trace actions are disable at plugin startup.
+	 *
+	 * @param disable
+	 *            Boolean
+	 */
+	void disableTraceActions(boolean disable);
+
+	/**
+	 * Notifies when preference values are changed.
+	 */
+	void preferenceChanged();
+
+	/**
+	 * Notifies when action must execute.
+	 *
+	 * @param project
+	 *            Project reference
+	 *
+	 * @param action
+	 *            Action to execute
+	 */
+	void runAction(org.eclipse.core.resources.IProject project,
+			Constants.ACTIONS action);
+
+}