public class BrowserConfig extends java.lang.Object implements ClasspathComponent
| Constructor and Description |
|---|
BrowserConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClasspathArchive(java.lang.String archiveName)
Add a classpath entry for an archive.
|
void |
addClasspathChangeListener(ClasspathChangeListener listener)
Add a ClasspathChangeListener.
|
void |
addClasspathDirectory(java.lang.String directoryName)
Add a classpath entry for a directory.
|
void |
addClasspathEntry(ClasspathEntry entry)
Add a classpath entry.
|
void |
addRuntimeLib()
Add the rt.jar archive of the JRE used by the bytecode browser to the classpath.
|
FindResult |
findClass(java.lang.String className)
Find a class by name within thsi classpath component.
|
java.util.List |
getClasspath()
Get the list of ClasspathEntry objects that define the classpath.
|
MDIConfig |
getMDIConfig()
Get the associated MDI configuration object.
|
void |
mergeClassesIntoTree(javax.swing.tree.DefaultTreeModel model,
boolean reset)
Merge all classes in this classpath component into the supplied tree.
|
void |
removeClasspathChangeListener(ClasspathChangeListener listener)
Remove a ClasspathChangeListener.
|
void |
removeClasspathEntry(ClasspathEntry entry)
Remove a classpath entry.
|
void |
setClasspath(java.util.List classpath)
Set the list of ClasspathEntry objects that define the classpath.
|
void |
setMDIConfig(MDIConfig mdiConfig)
Set the associated MDI configuration object.
|
public MDIConfig getMDIConfig()
public void setMDIConfig(MDIConfig mdiConfig)
mdiConfig - the MDIConfig object.public java.util.List getClasspath()
public void setClasspath(java.util.List classpath)
classpath - the listpublic void addClasspathChangeListener(ClasspathChangeListener listener)
ClasspathComponentaddClasspathChangeListener in interface ClasspathComponentlistener - the listenerpublic void removeClasspathChangeListener(ClasspathChangeListener listener)
ClasspathComponentremoveClasspathChangeListener in interface ClasspathComponentlistener - the listenerpublic void addClasspathDirectory(java.lang.String directoryName)
directoryName - the name of the directory.public void addClasspathArchive(java.lang.String archiveName)
archiveName - the path of he archive.public void addClasspathEntry(ClasspathEntry entry)
entry - the entry.public void removeClasspathEntry(ClasspathEntry entry)
entry - the entry.public void addRuntimeLib()
public FindResult findClass(java.lang.String className)
ClasspathComponentfindClass in interface ClasspathComponentclassName - the name of the classpublic void mergeClassesIntoTree(javax.swing.tree.DefaultTreeModel model,
boolean reset)
ClasspathComponentmergeClassesIntoTree in interface ClasspathComponentmodel - the tree model.reset - whether this is an incremental operation or part of a reset.
For a reset, no change events will be fired on the tree model.