1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 12 package org.eclipse.ui.activities; 13 14 import java.util.Set; 15 16 /** 17 * An instance of this interface allows clients to manage activities, as 18 * defined by the extension point <code>org.eclipse.ui.activities</code>. 19 * <p> 20 * This interface extends <code>IActivityManager</code> by granting the ability 21 * to alter the set of currently enabled activities. 22 * </p> 23 * <p> 24 * This interface is not intended to be extended or implemented by clients. 25 * </p> 26 * 27 * @since 3.0 28 */ 29 public interface IMutableActivityManager extends IActivityManager { 30 31 /** 32 * Sets the set of identifiers to enabled activities. 33 * 34 * @param enabledActivityIds 35 * the set of identifiers to enabled activities. This set may be 36 * empty, but it must not be <code>null</code>. If this set 37 * is not empty, it must only contain instances of <code>String</code>. 38 */ 39 void setEnabledActivityIds(Set enabledActivityIds); 40 } 41