KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > provisional > cheatsheets > ITaskGroup


1 /*******************************************************************************
2  * Copyright (c) 2005, 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.internal.provisional.cheatsheets;
13
14 /**
15  * A group of tasks within a composite cheatsheet. Each taskGroup will have
16  * children. It does not have an editor and its state is determined from the
17  * state of its children.
18  * * <p>
19  * This interface is not intended to be implemented by clients.
20  * </p>
21  */

22
23 public interface ITaskGroup extends ICompositeCheatSheetTask {
24     
25     /**
26      * A task kind of <b>set</b> indicates that this task is complete when
27      * all subtasks have been completed.
28      */

29     public static final String JavaDoc SET = "set"; //$NON-NLS-1$
30

31     /**
32      * A task kind of <b>set</b> indicates that this task is complete when
33      * all subtasks have been completed. The subtasks must be completed in
34      * order.
35      */

36     public static final String JavaDoc SEQUENCE = "sequence"; //$NON-NLS-1$
37

38     /**
39      * A task kind of <b>choice</b> indicates that this task is complete when
40      * any of its children has been completed.
41      */

42     public static final String JavaDoc CHOICE = "choice"; //$NON-NLS-1$
43

44 }
45
Popular Tags