public final class SourceUtils
extends java.lang.Object
| Constructor and Description | 
|---|
SourceUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
openSourceFile(Workspace workspace,
              Project project,
              java.net.URL url)
Open a source file in the code editor. 
 | 
static void | 
openSourceFile(Workspace workspace,
              Project project,
              java.net.URL url,
              int startOffset,
              int endOffset)
Open a source file in the code editor. 
 | 
public static void openSourceFile(Workspace workspace, Project project, java.net.URL url)
workspace - the workspaceproject - the projecturl - the URL of the source filepublic static void openSourceFile(Workspace workspace, Project project, java.net.URL url, int startOffset, int endOffset)
workspace - the workspaceproject - the projecturl - the URL of the source filestartOffset - the start offset to showendOffset - the end offset to show