Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 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.ant.internal.ui.model;
public class LocationProvider {
	public LocationProvider(IEditorInput input) {
		input;
	}
	public IPath getLocation() {
		if ( instanceof IFileEditorInput) {
		}
		if (locationProvider != null) {
			return locationProvider.getPath();
		}
		return null;
	}
	public IFile getFile() {
		if( instanceof IFileEditorInput) {
		}
		return null;
	}
New to GrepCode? Check out our FAQ X