org.eclipse.xtend.shared.ui.core.internal
Class JDTStorageFinder

java.lang.Object
  extended by org.eclipse.xtend.shared.ui.core.internal.JDTStorageFinder
All Implemented Interfaces:
StorageFinder, StorageFinder2

public class JDTStorageFinder
extends java.lang.Object
implements StorageFinder2

Author:
jockel - Initial contribution and API

Constructor Summary
JDTStorageFinder()
           
 
Method Summary
 org.eclipse.core.resources.IStorage findStorage(org.eclipse.jdt.core.IJavaProject project, ResourceID id, boolean searchJars)
           
 ResourceID findXtendXpandResourceID(org.eclipse.jdt.core.IJavaProject project, org.eclipse.core.resources.IStorage file)
           
 int getPriority()
          A priority that indicates the order of StorageFinders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDTStorageFinder

public JDTStorageFinder()
Method Detail

findXtendXpandResourceID

public ResourceID findXtendXpandResourceID(org.eclipse.jdt.core.IJavaProject project,
                                           org.eclipse.core.resources.IStorage file)
Specified by:
findXtendXpandResourceID in interface StorageFinder2

findStorage

public org.eclipse.core.resources.IStorage findStorage(org.eclipse.jdt.core.IJavaProject project,
                                                       ResourceID id,
                                                       boolean searchJars)
Specified by:
findStorage in interface StorageFinder

getPriority

public int getPriority()
Description copied from interface: StorageFinder
A priority that indicates the order of StorageFinders. Note that the JDTStorageFinder, which is always available, has a priority of 1. Therefore each implementor should use a value different to 1.

Specified by:
getPriority in interface StorageFinder