/*******************************************************************************
 * Copyright (c) 2004 - 2006 University Of British Columbia 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:
 *     University Of British Columbia - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylar.provisional.tasklist;


/**
 * @author Mik Kersten
 */
public class TaskArchive extends AbstractTaskContainer {

	public static final String HANDLE = "archive";
	
	public static final String LABEL_ARCHIVE = "Archive (all tasks)";
	
	public TaskArchive(TaskList taskList) {
		super(HANDLE, taskList);
	}

	public String getPriority() {
		return Task.PriorityLevel.P5.toString();
	}

	@Override
	public String getHandleIdentifier() {
		return HANDLE;
	}
	

	public String getDescription() {
		return LABEL_ARCHIVE;
	}

	@Override
	public boolean isLocal() {
		return true;
	}
}

/*******************************************************************************
 * Copyright (c) 2004 - 2006 University Of British Columbia 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:
 *     University Of British Columbia - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylar.provisional.tasklist;


/**
 * @author Mik Kersten
 */
public class TaskArchive extends AbstractTaskContainer {

	public static final String HANDLE = "archive";
	
	public static final String LABEL_ARCHIVE = "Archive (all tasks)";
	
	public TaskArchive(TaskList taskList) {
		super(HANDLE, taskList);
	}

	public String getPriority() {
		return Task.PriorityLevel.P1.toString();
	}

	@Override
	public String getHandleIdentifier() {
		return HANDLE;
	}
	
	public String getDescription() {
		return LABEL_ARCHIVE;
	}

	@Override
	public boolean isLocal() {
		return true;
	}
}

archive filter not showing archive