1 package net.sf.plb4jedit.plb;
2
3 import sidekick.SideKickParsedData;
4
5 /***
6 * contains the parsed data of a plb buffer. This is taken by SideKick-Plugin (Structure browser) to
7 * show the tree structure. PlbParsedData extends SideKickParsedData by the PlbSource, which gives
8 * access to the Resource-Manager to look up variable and label definitions without the necessarity to
9 * re-parse the actual buffer.
10 *
11 * @author Peter Schaefer
12 */
13 public class PlbParsedData extends SideKickParsedData {
14 private PlbSource source;
15
16 // javadoc taken from super class
17 public PlbParsedData(String fileName) {
18 super(fileName);
19 }
20 /***
21 * @param source the parsed PlbSource file which gives access to variables, labels, etc.
22 */
23 public void setPlbSource(PlbSource source) {
24 this.source = source;
25 }
26
27 /***
28 * @return to the underlying PlbSource file and its corresponding ResourceManager.
29 */
30 public PlbSource getSource() {
31 return source;
32 }
33
34 }
This page was automatically generated by Maven