org.eclipse.xtext.ui.util
Interface IJdtHelper

All Known Implementing Classes:
JdtHelper

public interface IJdtHelper

Encapsulates common functionality when dealing with JavaCore.

Since:
2.1
Author:
Sebastian Zarnekow - Initial contribution and API
This interface is not intended to be implemented by clients.
This interface is not intended to be implemented by clients.

Method Summary
 boolean isFromOutputPath(org.eclipse.core.resources.IResource resource)
          Return true if the given resource is member of a java target folder.
 boolean isJavaCoreAvailable()
          Return true if the plugin jdt.core is available.
 

Method Detail

isJavaCoreAvailable

boolean isJavaCoreAvailable()
Return true if the plugin jdt.core is available.

Returns:
true if the plugin jdt.core is available.

isFromOutputPath

boolean isFromOutputPath(org.eclipse.core.resources.IResource resource)
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.