Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG (http://www.itemis.eu) 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 /
 
 package org.eclipse.xtext.ui.util;
 
import  org.eclipse.core.resources.IResource;
/*
 * Important note:
 * ===============
 * Neither the interface nor the implementation class(es) may
 * expose any types from jdt.core in its signatures or use
 * any exceptions from jdt.core in catch clauses.
 */
Encapsulates common functionality when dealing with JavaCore.

Author(s):
Sebastian Zarnekow - Initial contribution and API
Since:
2.1
Noimplement:
This interface is not intended to be implemented by clients.
public interface IJdtHelper {

Return true if the plugin jdt.core is available.

Returns:
true if the plugin jdt.core is available.
	boolean isJavaCoreAvailable();

Return true if the given resource is member of a java target folder. May only be invoked if jdt.core is available.

Returns:
true if the given resource is member of a java target folder.
	boolean isFromOutputPath(IResource resource);
New to GrepCode? Check out our FAQ X