01: /*******************************************************************************
02: * Copyright (c) 2005, 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.internal.provisional.cheatsheets;
11:
12: /**
13: * A group of tasks within a composite cheatsheet. Each taskGroup will have
14: * children. It does not have an editor and its state is determined from the
15: * state of its children.
16: * * <p>
17: * This interface is not intended to be implemented by clients.
18: * </p>
19: */
20:
21: public interface ITaskGroup extends ICompositeCheatSheetTask {
22:
23: /**
24: * A task kind of <b>set</b> indicates that this task is complete when
25: * all subtasks have been completed.
26: */
27: public static final String SET = "set"; //$NON-NLS-1$
28:
29: /**
30: * A task kind of <b>set</b> indicates that this task is complete when
31: * all subtasks have been completed. The subtasks must be completed in
32: * order.
33: */
34: public static final String SEQUENCE = "sequence"; //$NON-NLS-1$
35:
36: /**
37: * A task kind of <b>choice</b> indicates that this task is complete when
38: * any of its children has been completed.
39: */
40: public static final String CHOICE = "choice"; //$NON-NLS-1$
41:
42: }
|