electric.ide.idea
Class IDEAUtil

java.lang.Object
  extended byelectric.ide.idea.IDEAUtil

public class IDEAUtil
extends java.lang.Object

IDEAUtil

Author:
webMethods

Method Summary
static ClassPathSource getClassPathSource(com.intellij.openapi.project.Project project)
           
static java.lang.String getProjectRoot(java.lang.String projectName, java.lang.String projectPath)
           
static com.intellij.openapi.vfs.VirtualFile[] getSourcePaths(java.lang.String projectRoot, com.intellij.openapi.vfs.VirtualFile[] files)
           
static FileTreeModel updatePackageTreeModel(FileTreeModel treeModel, com.intellij.openapi.vfs.VirtualFile file, javax.swing.tree.DefaultMutableTreeNode parent)
           
static FileTreeModel updateProjectTreeModel(FileTreeModel treeModel, com.intellij.openapi.vfs.VirtualFile file, javax.swing.tree.DefaultMutableTreeNode parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSourcePaths

public static com.intellij.openapi.vfs.VirtualFile[] getSourcePaths(java.lang.String projectRoot,
                                                                    com.intellij.openapi.vfs.VirtualFile[] files)
Parameters:
projectRoot -
files -
Returns:

getProjectRoot

public static java.lang.String getProjectRoot(java.lang.String projectName,
                                              java.lang.String projectPath)
Parameters:
projectName -
projectPath -
Returns:

updatePackageTreeModel

public static FileTreeModel updatePackageTreeModel(FileTreeModel treeModel,
                                                   com.intellij.openapi.vfs.VirtualFile file,
                                                   javax.swing.tree.DefaultMutableTreeNode parent)
Parameters:
treeModel -
file -
parent -
Returns:

updateProjectTreeModel

public static FileTreeModel updateProjectTreeModel(FileTreeModel treeModel,
                                                   com.intellij.openapi.vfs.VirtualFile file,
                                                   javax.swing.tree.DefaultMutableTreeNode parent)
Parameters:
treeModel -
file -
parent -
Returns:

getClassPathSource

public static ClassPathSource getClassPathSource(com.intellij.openapi.project.Project project)
Parameters:
project -
Returns:


copyright© 2001-2004 by webMethods All Rights Reserved.