blob: ad8161cfede95b4722091f1c99d4ec9aa40ac7b1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 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.wst.server.ui.internal.viewers;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;
/**
* Extension content provider.
*/
public class ExtensionContentProvider implements IStructuredContentProvider {
protected Object[] items;
public ExtensionContentProvider(Object[] items) {
super();
this.items = items;
}
public void dispose() {
// do nothing
}
public Object[] getElements(Object inputElement) {
return items;
}
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
// do nothing
}
}