Getter for astgen

This commit is contained in:
Manindra Moharana
2013-08-24 20:30:39 +05:30
parent 05e69b4e41
commit b6362d48a5
5 changed files with 17 additions and 12 deletions

View File

@@ -612,7 +612,7 @@ public class DebugEditor extends JavaEditor implements ActionListener {
toggleVariableInspector();
} else if (source.equals(showOutline)){
log("Show Outline :D");
errorCheckerService.astGenerator.showSketchOutline();
errorCheckerService.getASTGenerator().showSketchOutline();
}
}
@@ -1259,13 +1259,13 @@ public class DebugEditor extends JavaEditor implements ActionListener {
private void handleRefactor() {
log("Caret at:");
log(ta.getLineText(ta.getCaretLine()));
errorCheckerService.astGenerator.handleRefactor();
errorCheckerService.getASTGenerator().handleRefactor();
}
private void handleShowUsage() {
log("Caret at:");
log(ta.getLineText(ta.getCaretLine()));
errorCheckerService.astGenerator.handleShowUsage();
errorCheckerService.getASTGenerator().handleShowUsage();
}
/**