1 19 20 package org.netbeans.modules.java.source.engine; 21 22 import org.netbeans.api.java.source.query.ResultTableModel; 23 24 import java.io.IOException ; 25 import java.io.InputStream ; 26 import java.io.PrintWriter ; 27 import javax.tools.JavaFileObject; 28 29 34 public interface ApplicationContext { 35 36 39 BuildProgress getBuildProgress(); 40 41 44 QueryProgress getQueryProgress(); 45 46 53 boolean setProperties(Object command, String title); 54 55 65 void setResult(Object result, String title); 66 67 72 void setStatusMessage(String message); 73 74 79 void setErrorMessage(String message, String title); 80 81 85 PrintWriter getOutputWriter(String title); 86 87 90 Class getCommandClass(String className); 91 92 93 96 SourceRewriter getSourceRewriter(JavaFileObject sourceFile) throws IOException ; 97 } 98 | Popular Tags |