core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/extension/IActionUIUpdater.java
author dadubrow
Mon, 16 Aug 2010 10:18:18 -0500
changeset 1832 aaf2f7bc0609
parent 1734 bf670d38123a
permissions -rw-r--r--
better handling of failed connect

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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: 
*
*/
package com.nokia.carbide.internal.discovery.ui.extension;

/**
 * Interface allowing the UI for provided actions of an IActionBar to be updated (e.g., enabled state)
 */
public interface IActionUIUpdater {
	
	/**
	 * Update the UI for a specific action by id
	 * @param actionId
	 */
	void update(String actionId);
	
	/**
	 * Update the UI for all actions in the IActionBar
	 */
	void updateAll();
	
}