| |
|
| java.lang.Object org.acm.seguin.ide.common.SourceBrowserAdapter
SourceBrowserAdapter | public class SourceBrowserAdapter implements ActionListener(Code) | | Generic adapter for browsing source code
author: Chris Seguin |
Method Summary | |
public void | actionPerformed(ActionEvent evt) | protected File | findFile() Look up the chain of Summary parents to find the File the
activeComponent is sourced in. | protected int | getLine() Get the line number of the start of the current activeComponent. | protected Summary | getSummary() Get the Summary of the activeComponent. |
SourceBrowserAdapter | public SourceBrowserAdapter(ISourceful component)(Code) | | Constructor for the SourceBrowserAdapter object
Parameters: component - Description of Parameter |
actionPerformed | public void actionPerformed(ActionEvent evt)(Code) | | Responds to this item being selected
Parameters: evt - Description of Parameter |
findFile | protected File findFile()(Code) | | Look up the chain of Summary parents to find the File the
activeComponent is sourced in.
The File. |
getLine | protected int getLine()(Code) | | Get the line number of the start of the current activeComponent.
The line number. |
getSummary | protected Summary getSummary()(Code) | | Get the Summary of the activeComponent.
The Summary of the activeComponent. |
|
|
|