/*******************************************************************************
 * Copyright (c) 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.pde.internal.core.icheatsheet.comp;

/**
 * ICompCSTaskGroup
 *
 */
public interface ICompCSTaskGroup extends ICompCSTaskObject {

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 */
	public void addFieldTaskObject(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param index
	 * @param taskObject
	 */
	public void addFieldTaskObject(int index, ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 * @return
	 */
	public void removeFieldTaskObject(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 * @param newRelativeIndex
	 */
	public void moveFieldTaskObject(ICompCSTaskObject taskObject, int newRelativeIndex);

	/**
	 * Elements:  taskGroup, task
	 * @param index
	 * @return
	 */
	public void removeFieldTaskObject(int index);

	/**
	 * Elements:  taskGroup, task
	 * @return
	 */
	public ICompCSTaskObject[] getFieldTaskObjects();

	/**
	 * Elements:  taskGroup, task
	 * @param subitem
	 * @return
	 */
	public boolean isFirstFieldTaskObject(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 * @return
	 */
	public boolean isLastFieldTaskObject(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param taskObjectm
	 * @return
	 */
	public int indexOfFieldTaskObject(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @return
	 */
	public int getFieldTaskObjectCount();

	/**
	 * Elements:  taskGroup, task
	 * @return
	 */
	public boolean hasFieldTaskObjects();

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 * @return
	 */
	public ICompCSTaskObject getNextSibling(ICompCSTaskObject taskObject);

	/**
	 * Elements:  taskGroup, task
	 * @param taskObject
	 * @return
	 */
	public ICompCSTaskObject getPreviousSibling(ICompCSTaskObject taskObject);

}
