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