org.acm.seguin.ide.common
Class NoSourceBrowser

java.lang.Object
  extended by org.acm.seguin.ide.common.SourceBrowser
      extended by org.acm.seguin.ide.common.NoSourceBrowser

public class NoSourceBrowser
extends SourceBrowser

Base class for source browsing. This is the generic base class.

Author:
Chris Seguin

Constructor Summary
NoSourceBrowser()
           
 
Method Summary
 boolean canBrowseSource()
          Determines if the system is in a state where it can browse the source code
 void gotoSource(java.io.File file, int line)
          Actually browses to the file
 
Methods inherited from class org.acm.seguin.ide.common.SourceBrowser
get, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSourceBrowser

public NoSourceBrowser()
Method Detail

canBrowseSource

public boolean canBrowseSource()
Determines if the system is in a state where it can browse the source code

Specified by:
canBrowseSource in class SourceBrowser
Returns:
true if the source code browsing is enabled

gotoSource

public void gotoSource(java.io.File file,
                       int line)
Actually browses to the file

Specified by:
gotoSource in class SourceBrowser
Parameters:
line - the line in the file
file - Description of the Parameter