Where can I find the complete list of codeinsight templates pre-defined by JBuilder?

Robert Castaneda

The following code (courtesy of John Zukowski) can be used to retrieve the Code Templates:

package skill12;
import com.borland.primetime.insight.template.*;
public class Test {
  public static void main(String args[]) {
    CodeTemplate set[] = TemplateSet.getStockTemplates(true);
    for (int i=0; i<set.length; i++) {
      System.out.println(set[i].getTemplateName() + "	" + set[i].getDescription());
    }
  }
}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact