Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 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 - current implementation /
package org.eclipse.ant.internal.ui.views;
	private List fElementsnew ArrayList();
	/* (non-Javadoc)
	 * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(Object)
	 */
	public Object[] getElements(Object anInputElement) {
		if (anInputElement instanceof Object[]) {
			return .toArray();
		}
		return ;
	}
	public void add(Object o) {
		if (.contains(o)) {
			return;
		}
	}
	public void addAll(Object[] o) {
	}

	public void inputChanged(Viewer viewerObject oldInputObject newInput) {
	}
	public void remove(Object o) {
	}
	public void removeAll() {
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.viewers.IContentProvider#dispose()
	 */
	public void dispose() {
	}
New to GrepCode? Check out our FAQ X