org.eclipse.xtext.ui.junit.util
Class PluginUtil

java.lang.Object
  extended by org.eclipse.xtext.ui.junit.util.PluginUtil

public class PluginUtil
extends java.lang.Object


Constructor Summary
PluginUtil()
           
 
Method Summary
static org.eclipse.core.resources.IFile copyFileToWorkspace(org.eclipse.core.runtime.Plugin srcPlugin, java.lang.String srcFilePath, org.eclipse.core.resources.IFile destFile)
           
static org.eclipse.core.resources.IFile copyFileToWorkspace(org.eclipse.core.runtime.Plugin srcPlugin, java.lang.String srcFilePath, org.eclipse.core.resources.IProject project, java.lang.String destFilePath)
           
static org.eclipse.core.runtime.IPath findPathInPlugin(org.eclipse.core.runtime.Plugin srcPlugin, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginUtil

public PluginUtil()
Method Detail

findPathInPlugin

public static org.eclipse.core.runtime.IPath findPathInPlugin(org.eclipse.core.runtime.Plugin srcPlugin,
                                                              java.lang.String fileName)
                                                       throws java.io.IOException
Throws:
java.io.IOException

copyFileToWorkspace

public static org.eclipse.core.resources.IFile copyFileToWorkspace(org.eclipse.core.runtime.Plugin srcPlugin,
                                                                   java.lang.String srcFilePath,
                                                                   org.eclipse.core.resources.IProject project,
                                                                   java.lang.String destFilePath)
                                                            throws java.io.IOException,
                                                                   org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

copyFileToWorkspace

public static org.eclipse.core.resources.IFile copyFileToWorkspace(org.eclipse.core.runtime.Plugin srcPlugin,
                                                                   java.lang.String srcFilePath,
                                                                   org.eclipse.core.resources.IFile destFile)
                                                            throws java.io.IOException,
                                                                   org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException