blob: 70e1090c0b391b0e6c41d94bb555b3e42c5e743c [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2009 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.gmf.runtime.common.ui.services.statusline;
import java.util.Collections;
import java.util.List;
import org.eclipse.gmf.runtime.common.core.service.AbstractProvider;
import org.eclipse.gmf.runtime.common.core.service.IOperation;
import org.eclipse.jface.action.IContributionItem;
import org.eclipse.ui.IWorkbenchPage;
/**
* Abstract implementation of a status line contribution item provider.
*
* @author Anthony Hunter
* @since 1.2
*/
public class AbstractStatusLineContributionItemProvider extends AbstractProvider implements
IStatusLineContributionItemProvider {
/*
* (non-Javadoc)
*
* @see
* org.eclipse.gmf.runtime.common.ui.services.statusline.IStatusLineContributionItemProvider
* #getStatusLineItems(org.eclipse.ui.part.WorkbenchPart)
*/
public List<IContributionItem> getStatusLineContributionItems(IWorkbenchPage workbenchPage) {
return Collections.emptyList();
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.gmf.runtime.common.core.service.IProvider#provides(org.eclipse
* .gmf.runtime.common.core.service.IOperation)
*/
public boolean provides(IOperation operation) {
return false;
}
}