Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.dependency
Class SourceUtils

java.lang.Object
  extended by oracle.ide.dependency.SourceUtils

public final class SourceUtils
extends java.lang.Object

Utilities for dealing with references and declarations in source files.


Constructor Summary
SourceUtils()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceUtils

public SourceUtils()
Method Detail

openSourceFile

public static void openSourceFile(Workspace workspace,
                                  Project project,
                                  java.net.URL url)
Open a source file in the code editor.

Parameters:
workspace - the workspace
project - the project
url - the URL of the source file

openSourceFile

public static void openSourceFile(Workspace workspace,
                                  Project project,
                                  java.net.URL url,
                                  int startOffset,
                                  int endOffset)
Open a source file in the code editor.

Parameters:
workspace - the workspace
project - the project
url - the URL of the source file
startOffset - the start offset to show
endOffset - the end offset to show

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.